Skip to content

Commit

Permalink
test(taiko-client): fix tests (#17523)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored Jun 8, 2024
1 parent 2db6d2c commit 085a127
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,6 @@ require (

replace github.com/ethereum/go-ethereum v1.13.15 => github.com/taikoxyz/taiko-geth v0.0.0-20240504072040-7e1b8b65a3f8

replace github.com/ethereum-optimism/optimism v1.7.4 => github.com/taikoxyz/optimism v0.0.0-20240508063202-db34e8c760ea
replace github.com/ethereum-optimism/optimism v1.7.4 => github.com/taikoxyz/optimism v0.0.0-20240608043351-5c8ed8012bec

replace github.com/uber/jaeger-client-go => github.com/uber/jaeger-client-go v2.25.0+incompatible
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1121,8 +1121,8 @@ github.com/swaggo/swag v1.16.3/go.mod h1:DImHIuOFXKpMFAQjcC7FG4m3Dg4+QuUgUzJmKjI
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc=
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d h1:vfofYNRScrDdvS342BElfbETmL1Aiz3i2t0zfRj16Hs=
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d/go.mod h1:RRCYJbIwD5jmqPI9XoAFR0OcDxqUctll6zUj/+B4S48=
github.com/taikoxyz/optimism v0.0.0-20240508063202-db34e8c760ea h1:+oLT2sxS+KLgHZVW4toyKavAMbgjYkFOiL0YpciATnQ=
github.com/taikoxyz/optimism v0.0.0-20240508063202-db34e8c760ea/go.mod h1:bkiRWtDE4T9nXmaK5NBKC/buX5GnyJ6VKozGFwiwKxs=
github.com/taikoxyz/optimism v0.0.0-20240608043351-5c8ed8012bec h1:QwQ+16rm8/Me6KQqLbPBrZhq4xHwzU1Cn3vlJKqROBA=
github.com/taikoxyz/optimism v0.0.0-20240608043351-5c8ed8012bec/go.mod h1:bkiRWtDE4T9nXmaK5NBKC/buX5GnyJ6VKozGFwiwKxs=
github.com/taikoxyz/taiko-geth v0.0.0-20240504072040-7e1b8b65a3f8 h1:z4juQ4Nyp2T836JTCNC8t3vrbr0K9v2pPUV/ir2dy9s=
github.com/taikoxyz/taiko-geth v0.0.0-20240504072040-7e1b8b65a3f8/go.mod h1:nqByouVW0a0qx5KKgvYgoXba+pYEHznAAQp6LhZilgM=
github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07/go.mod h1:kDXzergiv9cbyO7IOYJZWg1U88JhDg3PB6klq9Hg2pA=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ func (s *ProverSelectorTestSuite) SetupTest() {
s.RPCClient,
crypto.PubkeyToAddress(l1ProposerPrivKey.PublicKey),
common.HexToAddress(os.Getenv("TAIKO_L1_ADDRESS")),
common.HexToAddress(os.Getenv("ASSIGNMENT_HOOK_ADDRESS")),
common.HexToAddress(os.Getenv("PROVER_SET_ADDRESS")),
common.HexToAddress(os.Getenv("ASSIGNMENT_HOOK_ADDRESS")),
[]encoding.TierFee{},
common.Big2,
[]*url.URL{s.ProverEndpoints[0]},
Expand All @@ -60,9 +60,9 @@ func (s *ProverSelectorTestSuite) TestProverAssignProver() {
{Tier: encoding.TierOptimisticID, Fee: common.Big256},
{Tier: encoding.TierSgxID, Fee: common.Big256},
}, testutils.RandomHash())
s.Nil(err)
s.NotEmpty(sig)
s.Equal(fee.Cmp(common.Big32), 1)
s.Nil(err)
}

func TestProverSelectorTestSuite(t *testing.T) {
Expand Down

0 comments on commit 085a127

Please sign in to comment.