Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amsanghi committed Oct 25, 2023
1 parent 17ce3cc commit 46287a1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions system_tests/estimation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ func TestDifficultyForLatestArbOS(t *testing.T) {
_, _, simple, err := mocksgen.DeploySimple(&auth, client)
Require(t, err, "could not deploy contract")

tx, err := simple.StoreDifficulty(&auth)
Require(t, err)
_, err = EnsureTxSucceeded(ctx, client, tx)
Require(t, err)
difficulty, err := simple.GetBlockDifficulty(&bind.CallOpts{})
Require(t, err)
if !arbmath.BigEquals(difficulty, common.Big1) {
Expand All @@ -163,6 +167,10 @@ func TestDifficultyForArbOSTen(t *testing.T) {
_, _, simple, err := mocksgen.DeploySimple(&auth, client)
Require(t, err, "could not deploy contract")

tx, err := simple.StoreDifficulty(&auth)
Require(t, err)
_, err = EnsureTxSucceeded(ctx, client, tx)
Require(t, err)
difficulty, err := simple.GetBlockDifficulty(&bind.CallOpts{})
Require(t, err)
if !arbmath.BigEquals(difficulty, common.Big1) {
Expand Down

0 comments on commit 46287a1

Please sign in to comment.