From 793983cc98111502aafa7f1b71d5247b7630e60c Mon Sep 17 00:00:00 2001 From: georgehao Date: Wed, 17 Jul 2024 16:37:50 +0800 Subject: [PATCH] add log --- rollup/internal/controller/relayer/l2_relayer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rollup/internal/controller/relayer/l2_relayer.go b/rollup/internal/controller/relayer/l2_relayer.go index eccab3081..05bf91faa 100644 --- a/rollup/internal/controller/relayer/l2_relayer.go +++ b/rollup/internal/controller/relayer/l2_relayer.go @@ -198,6 +198,8 @@ func (r *Layer2Relayer) commitGenesisBatch(batchHash string, batchHeader []byte, return fmt.Errorf("failed to pack importGenesisBatch with batch header: %v and state root: %v. error: %v", common.Bytes2Hex(batchHeader), stateRoot, packErr) } + log.Info("calldata", "calldata", calldata) + // submit genesis batch to L1 rollup contract txHash, err := r.commitSender.SendTransaction(batchHash, &r.cfg.RollupContractAddress, calldata, nil, 0) if err != nil {