Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions simulators/optimism/p2p/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ func txForwardingTest(t *hivesim.T) {
Nonce: 0,
To: &receiver,
Gas: 75000,
GasTipCap: big.NewInt(1),
GasFeeCap: big.NewInt(2),
GasTipCap: big.NewInt(10 * params.GWei),
GasFeeCap: big.NewInt(20 * params.GWei),
Value: big.NewInt(0.0001 * params.Ether),
})

Expand All @@ -109,12 +109,10 @@ func txForwardingTest(t *hivesim.T) {
}
t.Logf("found transaction on sequencer, isPending: %v", isPending)

// TODO: The transaction is not getting mined on the sequencer
// At least it did show up on the sequencer.
// ctx, cancel = context.WithTimeout(context.Background(), 20*time.Second)
// defer cancel()
// _, err = optimism.WaitReceiptOK(ctx, seqClient, tx.Hash())
// require.Nil(t, err) // tx should show up on the sequencer
ctx, cancel = context.WithTimeout(context.Background(), 20*time.Second)
defer cancel()
_, err = optimism.WaitReceiptOK(ctx, seqClient, tx.Hash())
require.Nil(t, err) // tx should show up on the sequencer
}

// runP2PTests runs the P2P tests between the sequencer and verifier.
Expand Down