Skip to content

Commit

Permalink
update docker L1
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaubennassar committed Aug 23, 2023
1 parent 06ec9bf commit 5163ed6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions sequencesender/sequencesender.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/0xPolygonHermez/zkevm-node/log"
"github.com/0xPolygonHermez/zkevm-node/sequencer/metrics"
"github.com/0xPolygonHermez/zkevm-node/state"
"github.com/ethereum/go-ethereum/common"
"github.com/jackc/pgx/v4"
)

Expand Down Expand Up @@ -114,6 +115,7 @@ func (s *SequenceSender) tryToSendSequence(ctx context.Context, ticker *time.Tic
return
}
to, data, err := s.etherman.BuildSequenceBatchesTxData(s.cfg.SenderAddress, sequences, s.cfg.L2Coinbase, signaturesAndAddrs)
log.Warnf("to %s, data: %s", to, common.Bytes2Hex(data))
if err != nil {
log.Error("error estimating new sequenceBatches to add to eth tx manager: ", err)
return
Expand Down
2 changes: 1 addition & 1 deletion test/config/test.genesis.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"supernets2DataCommitteeContract": "0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6"
},
"root": "0xd88680f1b151dd67518f9aca85161424c0cac61df2f5424a3ddc04ea25adecc7",
"genesisBlockNumber": 80,
"genesisBlockNumber": 77,
"genesis": [
{
"contractName": "PolygonZkEVMDeployer",
Expand Down
4 changes: 3 additions & 1 deletion test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ services:

supernets2-mock-l1-network:
container_name: supernets2-mock-l1-network
image: hermeznetwork/geth-supernets2-contracts:v0.0.1
image: hermeznetwork/geth-supernets2-contracts:v0.0.2
ports:
- 8545:8545
- 8546:8546
Expand All @@ -328,6 +328,8 @@ services:
- "--ws.addr"
- "0.0.0.0"
- "--dev"
- "--dev.period"
- "1"
- "--datadir"
- "/geth_data"
- "--syncmode"
Expand Down

0 comments on commit 5163ed6

Please sign in to comment.