Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
lints + protocol fixes, update bindings to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Aug 25, 2023
1 parent 3394c12 commit b9da693
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bindings/.githead
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bbaf0dadd79ab2f392c7fe39f4c0744b6ede530e
3357dad3ea52d85757334b98b2bcd344d77985e0
2 changes: 1 addition & 1 deletion driver/chain_syncer/chain_syncer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (s *ChainSyncerTestSuite) TestAheadOfProtocolVerifiedHead2() {
log.Info("evm time increase:", "number", result)

// interact with TaikoL1 contract to allow for verification of L2 blocks
tx, err := s.s.rpc.TaikoL1.VerifyBlocks(opts, common.Big3)
tx, err := s.s.rpc.TaikoL1.VerifyBlocks(opts, uint64(3))
s.Nil(err)
s.NotNil(tx)

Expand Down
5 changes: 2 additions & 3 deletions pkg/rpc/methods_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ func TestGetPoolContentValid(t *testing.T) {
require.Nil(t, err)
baseFee, err := client.TaikoL2.GetBasefee(nil, 1, uint32(parent.GasUsed()))
require.Nil(t, err)
maxTransactions := configs.BlockMaxTransactions
gasLimit := configs.BlockMaxGasLimit
maxBytes := configs.BlockMaxTxListBytes

Expand All @@ -135,9 +134,9 @@ func TestGetPoolContentValid(t *testing.T) {
goldenTouchAddress,
baseFee,
gasLimit,
maxBytes,
maxBytes.Uint64(),
txPools,
maxTransactions,
defaultMaxTransactionsPerBlock,
)
require.Nil(t, err2)
}
Expand Down
1 change: 0 additions & 1 deletion prover/prover_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ func (s *ProverTestSuite) TestInitError() {
L2HttpEndpoint: os.Getenv("L2_EXECUTION_ENGINE_HTTP_ENDPOINT"),
TaikoL1Address: common.HexToAddress(os.Getenv("TAIKO_L1_ADDRESS")),
TaikoL2Address: common.HexToAddress(os.Getenv("TAIKO_L2_ADDRESS")),
TaikoProverPoolL1Address: common.HexToAddress(os.Getenv("TAIKO_PROVER_POOL_L1_ADDRESS")),
L1ProverPrivKey: l1ProverPrivKey,
OracleProverPrivateKey: l1ProverPrivKey,
Dummy: true,
Expand Down

0 comments on commit b9da693

Please sign in to comment.