From 804428ed1e121b659071a95ff8df4b81b011de41 Mon Sep 17 00:00:00 2001 From: gavin Date: Fri, 27 Sep 2024 22:49:34 +0800 Subject: [PATCH] fix --- packages/taiko-client/proposer/transaction_builder/blob.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/taiko-client/proposer/transaction_builder/blob.go b/packages/taiko-client/proposer/transaction_builder/blob.go index 7929d91925..66ac14a1fd 100644 --- a/packages/taiko-client/proposer/transaction_builder/blob.go +++ b/packages/taiko-client/proposer/transaction_builder/blob.go @@ -188,14 +188,14 @@ func (b *BlobTransactionBuilder) BuildOntake( encodedParamsArray = append(encodedParamsArray, encodedParams) } - + txListArray := make([][]byte, len(encodedParamsArray)) if b.proverSetAddress != rpc.ZeroAddress { - data, err = encoding.ProverSetABI.Pack("proposeBlocksV2", encodedParamsArray, [][]byte{}) + data, err = encoding.ProverSetABI.Pack("proposeBlocksV2", encodedParamsArray, txListArray) if err != nil { return nil, err } } else { - data, err = encoding.TaikoL1ABI.Pack("proposeBlocksV2", encodedParamsArray, [][]byte{}) + data, err = encoding.TaikoL1ABI.Pack("proposeBlocksV2", encodedParamsArray, txListArray) if err != nil { return nil, err }