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

Commit

Permalink
Merge pull request #57 from 0xPolygon/vcastellm/fix-call
Browse files Browse the repository at this point in the history
Set beneficiary address
  • Loading branch information
vcastellm authored Jan 29, 2024
2 parents 9016453 + e7e1e5f commit 3fc64fd
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 3fc64fd

Please sign in to comment.