From e7e1e5f020eddab497430013649a4884868c14a0 Mon Sep 17 00:00:00 2001 From: Victor Castell <0x@vcastellm.xyz> Date: Mon, 29 Jan 2024 14:49:03 +0100 Subject: [PATCH] Set beneficiary address Fixes current missed parameter --- etherman/etherman.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/etherman/etherman.go b/etherman/etherman.go index aae8cb9..b1d9569 100644 --- a/etherman/etherman.go +++ b/etherman/etherman.go @@ -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, @@ -83,6 +89,7 @@ func (e *Etherman) BuildTrustedVerifyBatchesTxData( newVerifiedBatch, newLocalExitRoot, newStateRoot, + sa, finalProof, ) }