From 83ecd9937a38ef652d1bed4444b49860458a2a14 Mon Sep 17 00:00:00 2001 From: colinlyguo Date: Fri, 24 May 2024 15:44:25 +0800 Subject: [PATCH] update rollup-relayer --- rollup/go.mod | 2 +- rollup/go.sum | 4 ++-- rollup/internal/controller/watcher/batch_proposer.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rollup/go.mod b/rollup/go.mod index f9210008d9..bf439c7522 100644 --- a/rollup/go.mod +++ b/rollup/go.mod @@ -10,7 +10,7 @@ require ( github.com/go-resty/resty/v2 v2.7.0 github.com/holiman/uint256 v1.2.4 github.com/prometheus/client_golang v1.16.0 - github.com/scroll-tech/da-codec v0.0.0-20240516115958-db04f5e6772c + github.com/scroll-tech/da-codec v0.0.0-20240524071411-769db9f7e703 github.com/scroll-tech/go-ethereum v1.10.14-0.20240426041101-a860446ebaea github.com/smartystreets/goconvey v1.8.0 github.com/stretchr/testify v1.9.0 diff --git a/rollup/go.sum b/rollup/go.sum index f4a8a622f8..35b81ebb8d 100644 --- a/rollup/go.sum +++ b/rollup/go.sum @@ -236,8 +236,8 @@ github.com/rs/cors v1.7.0 h1:+88SsELBHx5r+hZ8TCkggzSstaWNbDvThkVK8H6f9ik= github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/scroll-tech/da-codec v0.0.0-20240516115958-db04f5e6772c h1:Vi1BGENMGO8yjmnJe6QP9Eb1OPPuEi4+wd8d/DxhJ6Q= -github.com/scroll-tech/da-codec v0.0.0-20240516115958-db04f5e6772c/go.mod h1:1wWYii0OPwd5kw+xrz0PFgS420xNadrNF1x/ELJT+TM= +github.com/scroll-tech/da-codec v0.0.0-20240524071411-769db9f7e703 h1:dcvPPyyfe3SocOBwgww3e1wcWjgF85kKDsohY4TXII0= +github.com/scroll-tech/da-codec v0.0.0-20240524071411-769db9f7e703/go.mod h1:1wWYii0OPwd5kw+xrz0PFgS420xNadrNF1x/ELJT+TM= github.com/scroll-tech/go-ethereum v1.10.14-0.20240426041101-a860446ebaea h1:CH1WXWrpEpLaP3N+bFs2a1xdE0+lRm1AuJQb5YvE6Ls= github.com/scroll-tech/go-ethereum v1.10.14-0.20240426041101-a860446ebaea/go.mod h1:i4VBgWoaW/y0D8MmQb7hSOulyw1dKhuiSFAbznwivCA= github.com/scroll-tech/zktrie v0.8.2 h1:UMuIfA+jdgWMLmTgTL64Emo+zzMOdcnH0+eYdDcshxQ= diff --git a/rollup/internal/controller/watcher/batch_proposer.go b/rollup/internal/controller/watcher/batch_proposer.go index d668666d09..8a4a09cfe3 100644 --- a/rollup/internal/controller/watcher/batch_proposer.go +++ b/rollup/internal/controller/watcher/batch_proposer.go @@ -211,7 +211,7 @@ func (p *BatchProposer) proposeBatch() error { maxChunksThisBatch = 15 } else { codecVersion = encoding.CodecV2 - maxChunksThisBatch = 45 + maxChunksThisBatch = 15 } // select at most maxChunkNumPerBatch chunks