Skip to content

Commit

Permalink
add get current blocknumber to ut
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth More authored and Siddharth More committed Apr 18, 2024
1 parent 7c2f690 commit 3d60bf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ func TestDispersalAndRetrieval(t *testing.T) {

txn := types.NewTransaction(0, gethcommon.Address{}, big.NewInt(0), 0, big.NewInt(0), nil)
dis.transactor.On("BuildConfirmBatchTxn").Return(txn, nil)
dis.transactor.On("GetCurrentBlockNumber").Return(uint(10), nil)
dis.txnManager.On("ProcessTransaction").Return(nil)

err = dis.batcher.HandleSingleBatch(ctx)
Expand Down

0 comments on commit 3d60bf6

Please sign in to comment.