Skip to content

Commit

Permalink
Merge branch 'master' into fix-batchreverts-checking
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshvanahalli authored Mar 26, 2024
2 parents 329edf1 + adab53d commit 2197e44
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go-ethereum
2 changes: 1 addition & 1 deletion system_tests/full_challenge_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func makeBatch(t *testing.T, l2Node *arbnode.Node, l2Info *BlockchainTestInfo, b

seqNum := new(big.Int).Lsh(common.Big1, 256)
seqNum.Sub(seqNum, common.Big1)
tx, err := seqInbox.AddSequencerL2BatchFromOrigin0(sequencer, seqNum, message, big.NewInt(1), common.Address{}, big.NewInt(0), big.NewInt(0))
tx, err := seqInbox.AddSequencerL2BatchFromOrigin8f111f3c(sequencer, seqNum, message, big.NewInt(1), common.Address{}, big.NewInt(0), big.NewInt(0))
Require(t, err)
receipt, err := EnsureTxSucceeded(ctx, backend, tx)
Require(t, err)
Expand Down
4 changes: 2 additions & 2 deletions system_tests/meaningless_reorg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestMeaninglessBatchReorg(t *testing.T) {
Require(t, err)
seqOpts := builder.L1Info.GetDefaultTransactOpts("Sequencer", ctx)

tx, err := seqInbox.AddSequencerL2BatchFromOrigin0(&seqOpts, big.NewInt(1), nil, big.NewInt(1), common.Address{}, common.Big0, common.Big0)
tx, err := seqInbox.AddSequencerL2BatchFromOrigin8f111f3c(&seqOpts, big.NewInt(1), nil, big.NewInt(1), common.Address{}, common.Big0, common.Big0)
Require(t, err)
batchReceipt, err := builder.L1.EnsureTxSucceeded(tx)
Require(t, err)
Expand Down Expand Up @@ -69,7 +69,7 @@ func TestMeaninglessBatchReorg(t *testing.T) {
// Produce a new l1Block so that the batch ends up in a different l1Block than before
builder.L1.TransferBalance(t, "User", "User", common.Big1, builder.L1Info)

tx, err = seqInbox.AddSequencerL2BatchFromOrigin0(&seqOpts, big.NewInt(1), nil, big.NewInt(1), common.Address{}, common.Big0, common.Big0)
tx, err = seqInbox.AddSequencerL2BatchFromOrigin8f111f3c(&seqOpts, big.NewInt(1), nil, big.NewInt(1), common.Address{}, common.Big0, common.Big0)
Require(t, err)
newBatchReceipt, err := builder.L1.EnsureTxSucceeded(tx)
Require(t, err)
Expand Down
2 changes: 1 addition & 1 deletion system_tests/retryable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ func TestDepositETH(t *testing.T) {
txOpts := builder.L1Info.GetDefaultTransactOpts("Faucet", ctx)
txOpts.Value = big.NewInt(13)

l1tx, err := delayedInbox.DepositEth0(&txOpts)
l1tx, err := delayedInbox.DepositEth439370b1(&txOpts)
if err != nil {
t.Fatalf("DepositEth0() unexected error: %v", err)
}
Expand Down
2 changes: 1 addition & 1 deletion system_tests/seqinbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ func testSequencerInboxReaderImpl(t *testing.T, validator bool) {
if i%5 == 0 {
tx, err = seqInbox.AddSequencerL2Batch(&seqOpts, big.NewInt(int64(len(blockStates))), batchData, big.NewInt(1), gasRefunderAddr, big.NewInt(0), big.NewInt(0))
} else {
tx, err = seqInbox.AddSequencerL2BatchFromOrigin0(&seqOpts, big.NewInt(int64(len(blockStates))), batchData, big.NewInt(1), gasRefunderAddr, common.Big0, common.Big0)
tx, err = seqInbox.AddSequencerL2BatchFromOrigin8f111f3c(&seqOpts, big.NewInt(int64(len(blockStates))), batchData, big.NewInt(1), gasRefunderAddr, common.Big0, common.Big0)
}
Require(t, err)
txRes, err := builder.L1.EnsureTxSucceeded(tx)
Expand Down

0 comments on commit 2197e44

Please sign in to comment.