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

Commit

Permalink
Set beneficiary address
Browse files Browse the repository at this point in the history
Fixes current missed parameter
  • Loading branch information
vcastellm committed Jan 29, 2024
1 parent 9016453 commit e7e1e5f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions etherman/etherman.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ func (e *Etherman) BuildTrustedVerifyBatchesTxData(
return nil, err
}

sa, err := e.getTrustedSequencerAddress(rollupId)
if err != nil {
log.Errorf("error getting trusted sequencer address: %v", err)
return nil, err
}

return abi.Pack(
"verifyBatchesTrustedAggregator",
rollupId,
Expand All @@ -83,6 +89,7 @@ func (e *Etherman) BuildTrustedVerifyBatchesTxData(
newVerifiedBatch,
newLocalExitRoot,
newStateRoot,
sa,
finalProof,
)
}
Expand Down

0 comments on commit e7e1e5f

Please sign in to comment.