Giter VIP home page Giter VIP logo

opbnb's Introduction

opBNB - High-performance layer 2 solution

The opBNB network is the Layer 2 scaling solution for the BNB Smart Chain(BSC) powered by bedrock version of Optimism OP Stack.

It works by offloading transaction processing and resource usage from the BNB Smart Chain, while still posting data to the underlying network. Users interact with the opBNB network by depositing funds from BSC and using applications and contracts on opBNB. At its core, opBNB allows users to deposit and withdraw funds, use smart contracts, and view network data with high throughput and low fees. By leveraging Layer 2, opBNB is able to scale beyond the constraints of the BNB Smart Chain and provide an improved experience for users.

Comparison

Besides the differentiators of bedrock, opBNB is the solution that we aim to provide the best optimistic rollup solution on the BSC.

  • Capacity can reach to 100m gas per second, which is much higher than other layer 2 solutions on the Ethereum.
  • Gas fee of transfer can reach as low as $0.005 on average.
  • block time is 1 second.
Parameter opBNB value Optimism value Ethereum value (for reference)
Block gas limit 100,000,000 gas 30,000,000 gas 30,000,000 gas
Block gas target 50,000,000 5,000,000 gas 15,000,000 gas
EIP-1559 elasticity multiplier 2 6 2
EIP-1559 denominator 8 50 8
Maximum base fee increase (per block) 12.5% 10% 12.5%
Maximum base fee decrease (per block) 12.5% 2% 12.5%
Block time in seconds 1 2 12

Documentation

If you want to build on top of opBNB, refer to the opBNB Doc.

Community

To get help from other developers, discuss ideas, and stay up-to-date on what's happening, become a part of our community on Discord. Join our official Discord Channel.

You can also join the conversation, connect with other projects, and ask questions in our BNB Chain Forum.

Directory Structure

~~ opBNB ~~
├── packages
│   └── contracts-bedrock: Bedrock smart contracts.
├── op-bindings: Go bindings for Bedrock smart contracts.
├── op-batcher: L2-Batch Submitter, submits bundles of batches to L1
├── op-e2e: End-to-End testing of all bedrock components in Go
├── op-node: rollup consensus-layer client.
├── op-proposer: L2-Output Submitter, submits proposals to L1
├── ops-bedrock: Bedrock devnet work
└── specs: Specs of the rollup starting at the Bedrock upgrade

License

All files within this repository are licensed under the MIT License unless stated otherwise.

opbnb's People

Contributors

ajsutton avatar ben-chain avatar cfromknecht avatar clabby avatar dependabot[bot] avatar elenadimitrova avatar felipe-op avatar gakonst avatar geohot avatar github-actions[bot] avatar hamdiallam avatar inphi avatar karlfloersch avatar maurelian avatar mdehoog avatar mergify[bot] avatar mslipper avatar norswap avatar optimismbot avatar optimisticben avatar protolambda avatar qbzzt avatar refcell avatar roninjin10 avatar sebastianst avatar smartcontracts avatar snario avatar tremarkley avatar trianglesphere avatar tynes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opbnb's Issues

Opbnb

System information

Network: mainnet/testnet/local

if you are running a local node, please provide the following information:
op-node version: op-node version
op-geth version: op-geth -v
OS & Version: Windows/Linux/OSX

Expected behaviour

Actual behaviour

Steps to reproduce the behaviour

Backtrace

[backtrace]

When submitting logs: please submit them as text and not screenshots.

Op-node stalls for over a minute and then catches up height

Hello!
I've ran op-node and op-geth from repo opbnb-node-docker.
However upon sync completion I'm seeing a very strange behaviour, where op-node regularly stalls for over a minute and then catches up.
Op-node logs before start inserting:

t=2024-02-19T09:57:59+0000 lvl=dbug msg="fetching next piece of data"
t=2024-02-19T09:57:59+0000 lvl=dbug msg="can't find next L1 block info (yet)"    number=36,268,947 origin=0x9bae3d0aaa74812862da12655d55c7a958d2bc363f5c427e86b4480d64fe4209:36268946
t=2024-02-19T09:57:59+0000 lvl=dbug msg="Derivation process went idle"           progress=0x9bae3d0aaa74812862da12655d55c7a958d2bc363f5c427e86b4480d64fe4209:36268946 err=EOF
t=2024-02-19T09:58:01+0000 lvl=dbug msg="pre-fetching receipts done"             block=36,268,947 hash=0x3178ea0a5a5d7a8f031b6321c122866316327a63166a3883b007de6f13006d1a
t=2024-02-19T09:58:01+0000 lvl=dbug msg="pre-fetching receipts hash"             latestBlockHash=0x3178ea0a5a5d7a8f031b6321c122866316327a63166a3883b007de6f13006d1a latestBlockNumber=36,268,947 oldestBlockNumber=36,268,947 oldestBlockParentHash=0x9bae3d0aaa74812862da12655d55c7a958d2bc363f5c427e86b4480d64fe4209
t=2024-02-19T09:58:01+0000 lvl=dbug msg="current block height exceeds the latest block height of l1, will wait for a while." currentL1Block=36,268,948 l1Latest=36,268,947
t=2024-02-19T09:58:01+0000 lvl=dbug msg="requesting sync with open-end range"    start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:01+0000 lvl=dbug msg="P2P sync client received range signal, but cannot sync open-ended chain: need sync target to verify blocks through parent-hashes" start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:02+0000 lvl=dbug msg="L1 head moved forward"                  l1_head=0x3de63b273db9750dc0609c1b2df4622fb41005a553c0b7613ddf1f78d4114243:36268948
t=2024-02-19T09:58:02+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x9bae3d0aaa74812862da12655d55c7a958d2bc363f5c427e86b4480d64fe4209:36268946 attempts=0
t=2024-02-19T09:58:02+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x9bae3d0aaa74812862da12655d55c7a958d2bc363f5c427e86b4480d64fe4209:36268946 attempts=0
t=2024-02-19T09:58:03+0000 lvl=dbug msg="extended finality-data"                 last_l1=0x3178ea0a5a5d7a8f031b6321c122866316327a63166a3883b007de6f13006d1a:36268947 last_l2=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:03+0000 lvl=info msg="Advancing bq origin"                    origin=0x3178ea0a5a5d7a8f031b6321c122866316327a63166a3883b007de6f13006d1a:36268947 originBehind=false
t=2024-02-19T09:58:03+0000 lvl=dbug msg="fetching next piece of data"
t=2024-02-19T09:58:03+0000 lvl=dbug msg="can't find next L1 block info (yet)"    number=36,268,948 origin=0x3178ea0a5a5d7a8f031b6321c122866316327a63166a3883b007de6f13006d1a:36268947
t=2024-02-19T09:58:03+0000 lvl=dbug msg="Derivation process went idle"           progress=0x3178ea0a5a5d7a8f031b6321c122866316327a63166a3883b007de6f13006d1a:36268947 err=EOF
t=2024-02-19T09:58:03+0000 lvl=dbug msg="requesting sync with open-end range"    start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:03+0000 lvl=dbug msg="P2P sync client received range signal, but cannot sync open-ended chain: need sync target to verify blocks through parent-hashes" start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:04+0000 lvl=info msg="New L1 finalized block"                 l1_finalized=0x9bae3d0aaa74812862da12655d55c7a958d2bc363f5c427e86b4480d64fe4209:36268946
t=2024-02-19T09:58:04+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x3178ea0a5a5d7a8f031b6321c122866316327a63166a3883b007de6f13006d1a:36268947 attempts=0
t=2024-02-19T09:58:04+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x3178ea0a5a5d7a8f031b6321c122866316327a63166a3883b007de6f13006d1a:36268947 attempts=0
t=2024-02-19T09:58:04+0000 lvl=dbug msg="can't find next L1 block info (yet)"    number=36,268,948 origin=0x3178ea0a5a5d7a8f031b6321c122866316327a63166a3883b007de6f13006d1a:36268947
t=2024-02-19T09:58:04+0000 lvl=dbug msg="Derivation process went idle"           progress=0x3178ea0a5a5d7a8f031b6321c122866316327a63166a3883b007de6f13006d1a:36268947 err=EOF
t=2024-02-19T09:58:04+0000 lvl=info msg="New L1 safe block"                      l1_safe=0x3178ea0a5a5d7a8f031b6321c122866316327a63166a3883b007de6f13006d1a:36268947
t=2024-02-19T09:58:04+0000 lvl=dbug msg="pre-fetching receipts done"             block=36,268,948 hash=0x3de63b273db9750dc0609c1b2df4622fb41005a553c0b7613ddf1f78d4114243
t=2024-02-19T09:58:04+0000 lvl=dbug msg="pre-fetching receipts hash"             latestBlockHash=0x3de63b273db9750dc0609c1b2df4622fb41005a553c0b7613ddf1f78d4114243 latestBlockNumber=36,268,948 oldestBlockNumber=36,268,948 oldestBlockParentHash=0x3178ea0a5a5d7a8f031b6321c122866316327a63166a3883b007de6f13006d1a
t=2024-02-19T09:58:04+0000 lvl=dbug msg="current block height exceeds the latest block height of l1, will wait for a while." currentL1Block=36,268,949 l1Latest=36,268,948
t=2024-02-19T09:58:04+0000 lvl=dbug msg="peering tick"                           connected=1 advertised_udp=9003 advertised_tcp=9003 advertised_ip=46.4.102.29
t=2024-02-19T09:58:05+0000 lvl=dbug msg="requesting sync with open-end range"    start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:05+0000 lvl=dbug msg="P2P sync client received range signal, but cannot sync open-ended chain: need sync target to verify blocks through parent-hashes" start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:05+0000 lvl=dbug msg="L1 head moved forward"                  l1_head=0x6a257081636f055f8927da3accf195ee54fdb0614ee8f41471803dadfab32ad7:36268949
t=2024-02-19T09:58:05+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x3178ea0a5a5d7a8f031b6321c122866316327a63166a3883b007de6f13006d1a:36268947 attempts=0
t=2024-02-19T09:58:06+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x3178ea0a5a5d7a8f031b6321c122866316327a63166a3883b007de6f13006d1a:36268947 attempts=0
t=2024-02-19T09:58:06+0000 lvl=dbug msg="extended finality-data"                 last_l1=0x3de63b273db9750dc0609c1b2df4622fb41005a553c0b7613ddf1f78d4114243:36268948 last_l2=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:06+0000 lvl=info msg="Advancing bq origin"                    origin=0x3de63b273db9750dc0609c1b2df4622fb41005a553c0b7613ddf1f78d4114243:36268948 originBehind=false
t=2024-02-19T09:58:06+0000 lvl=dbug msg="fetching next piece of data"
t=2024-02-19T09:58:06+0000 lvl=dbug msg="can't find next L1 block info (yet)"    number=36,268,949 origin=0x3de63b273db9750dc0609c1b2df4622fb41005a553c0b7613ddf1f78d4114243:36268948
t=2024-02-19T09:58:06+0000 lvl=dbug msg="Derivation process went idle"           progress=0x3de63b273db9750dc0609c1b2df4622fb41005a553c0b7613ddf1f78d4114243:36268948 err=EOF
t=2024-02-19T09:58:07+0000 lvl=dbug msg="requesting sync with open-end range"    start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:07+0000 lvl=dbug msg="P2P sync client received range signal, but cannot sync open-ended chain: need sync target to verify blocks through parent-hashes" start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:07+0000 lvl=dbug msg="pre-fetching receipts done"             block=36,268,949 hash=0x6a257081636f055f8927da3accf195ee54fdb0614ee8f41471803dadfab32ad7
t=2024-02-19T09:58:07+0000 lvl=dbug msg="pre-fetching receipts hash"             latestBlockHash=0x6a257081636f055f8927da3accf195ee54fdb0614ee8f41471803dadfab32ad7 latestBlockNumber=36,268,949 oldestBlockNumber=36,268,949 oldestBlockParentHash=0x3de63b273db9750dc0609c1b2df4622fb41005a553c0b7613ddf1f78d4114243
t=2024-02-19T09:58:07+0000 lvl=dbug msg="current block height exceeds the latest block height of l1, will wait for a while." currentL1Block=36,268,950 l1Latest=36,268,949
t=2024-02-19T09:58:09+0000 lvl=dbug msg="L1 head moved forward"                  l1_head=0x937c6133f8340add319553d7e5129bd5c796a2f462508fdce1f69b50cf21ea03:36268950
t=2024-02-19T09:58:09+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x3de63b273db9750dc0609c1b2df4622fb41005a553c0b7613ddf1f78d4114243:36268948 attempts=0
t=2024-02-19T09:58:09+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x3de63b273db9750dc0609c1b2df4622fb41005a553c0b7613ddf1f78d4114243:36268948 attempts=0
t=2024-02-19T09:58:09+0000 lvl=dbug msg="extended finality-data"                 last_l1=0x6a257081636f055f8927da3accf195ee54fdb0614ee8f41471803dadfab32ad7:36268949 last_l2=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:09+0000 lvl=info msg="Advancing bq origin"                    origin=0x6a257081636f055f8927da3accf195ee54fdb0614ee8f41471803dadfab32ad7:36268949 originBehind=false
t=2024-02-19T09:58:09+0000 lvl=dbug msg="fetching next piece of data"
t=2024-02-19T09:58:09+0000 lvl=dbug msg="can't find next L1 block info (yet)"    number=36,268,950 origin=0x6a257081636f055f8927da3accf195ee54fdb0614ee8f41471803dadfab32ad7:36268949
t=2024-02-19T09:58:09+0000 lvl=dbug msg="Derivation process went idle"           progress=0x6a257081636f055f8927da3accf195ee54fdb0614ee8f41471803dadfab32ad7:36268949 err=EOF
t=2024-02-19T09:58:09+0000 lvl=dbug msg="requesting sync with open-end range"    start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:09+0000 lvl=dbug msg="P2P sync client received range signal, but cannot sync open-ended chain: need sync target to verify blocks through parent-hashes" start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:09+0000 lvl=dbug msg="peering tick"                           connected=1 advertised_udp=9003 advertised_tcp=9003 advertised_ip=46.4.102.29
t=2024-02-19T09:58:10+0000 lvl=dbug msg="pre-fetching receipts done"             block=36,268,950 hash=0x937c6133f8340add319553d7e5129bd5c796a2f462508fdce1f69b50cf21ea03
t=2024-02-19T09:58:10+0000 lvl=dbug msg="pre-fetching receipts done"             block=36,268,951 hash=0x9b417d74dc10e6e2e2df0b12e56c2410a157efdc3d3a252695d4e7ac6dcca6a1
t=2024-02-19T09:58:10+0000 lvl=dbug msg="pre-fetching receipts hash"             latestBlockHash=0x9b417d74dc10e6e2e2df0b12e56c2410a157efdc3d3a252695d4e7ac6dcca6a1 latestBlockNumber=36,268,951 oldestBlockNumber=36,268,950 oldestBlockParentHash=0x6a257081636f055f8927da3accf195ee54fdb0614ee8f41471803dadfab32ad7
t=2024-02-19T09:58:10+0000 lvl=dbug msg="current block height exceeds the latest block height of l1, will wait for a while." currentL1Block=36,268,952 l1Latest=36,268,951
t=2024-02-19T09:58:11+0000 lvl=dbug msg="requesting sync with open-end range"    start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:11+0000 lvl=dbug msg="P2P sync client received range signal, but cannot sync open-ended chain: need sync target to verify blocks through parent-hashes" start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:12+0000 lvl=dbug msg="L1 head moved forward"                  l1_head=0x9b417d74dc10e6e2e2df0b12e56c2410a157efdc3d3a252695d4e7ac6dcca6a1:36268951
t=2024-02-19T09:58:12+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x6a257081636f055f8927da3accf195ee54fdb0614ee8f41471803dadfab32ad7:36268949 attempts=0
t=2024-02-19T09:58:12+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x6a257081636f055f8927da3accf195ee54fdb0614ee8f41471803dadfab32ad7:36268949 attempts=0
t=2024-02-19T09:58:12+0000 lvl=dbug msg="extended finality-data"                 last_l1=0x937c6133f8340add319553d7e5129bd5c796a2f462508fdce1f69b50cf21ea03:36268950 last_l2=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:12+0000 lvl=info msg="Advancing bq origin"                    origin=0x937c6133f8340add319553d7e5129bd5c796a2f462508fdce1f69b50cf21ea03:36268950 originBehind=false
t=2024-02-19T09:58:12+0000 lvl=dbug msg="fetching next piece of data"
t=2024-02-19T09:58:12+0000 lvl=dbug msg="can't find next L1 block info (yet)"    number=36,268,951 origin=0x937c6133f8340add319553d7e5129bd5c796a2f462508fdce1f69b50cf21ea03:36268950
t=2024-02-19T09:58:12+0000 lvl=dbug msg="Derivation process went idle"           progress=0x937c6133f8340add319553d7e5129bd5c796a2f462508fdce1f69b50cf21ea03:36268950 err=EOF
t=2024-02-19T09:58:13+0000 lvl=dbug msg="requesting sync with open-end range"    start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:13+0000 lvl=dbug msg="P2P sync client received range signal, but cannot sync open-ended chain: need sync target to verify blocks through parent-hashes" start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:14+0000 lvl=dbug msg="pre-fetching receipts done"             block=36,268,952 hash=0x4f46ad75f1a434f013a8ba87974d3b61e4b55cacb9182ada2e8d0c1b4c567922
t=2024-02-19T09:58:14+0000 lvl=dbug msg="pre-fetching receipts hash"             latestBlockHash=0x4f46ad75f1a434f013a8ba87974d3b61e4b55cacb9182ada2e8d0c1b4c567922 latestBlockNumber=36,268,952 oldestBlockNumber=36,268,952 oldestBlockParentHash=0x9b417d74dc10e6e2e2df0b12e56c2410a157efdc3d3a252695d4e7ac6dcca6a1
t=2024-02-19T09:58:14+0000 lvl=dbug msg="current block height exceeds the latest block height of l1, will wait for a while." currentL1Block=36,268,953 l1Latest=36,268,952
t=2024-02-19T09:58:14+0000 lvl=info msg="New L1 finalized block"                 l1_finalized=0x937c6133f8340add319553d7e5129bd5c796a2f462508fdce1f69b50cf21ea03:36268950
t=2024-02-19T09:58:14+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x937c6133f8340add319553d7e5129bd5c796a2f462508fdce1f69b50cf21ea03:36268950 attempts=0
t=2024-02-19T09:58:14+0000 lvl=dbug msg="can't find next L1 block info (yet)"    number=36,268,951 origin=0x937c6133f8340add319553d7e5129bd5c796a2f462508fdce1f69b50cf21ea03:36268950
t=2024-02-19T09:58:14+0000 lvl=dbug msg="Derivation process went idle"           progress=0x937c6133f8340add319553d7e5129bd5c796a2f462508fdce1f69b50cf21ea03:36268950 err=EOF
t=2024-02-19T09:58:14+0000 lvl=info msg="New L1 safe block"                      l1_safe=0x9b417d74dc10e6e2e2df0b12e56c2410a157efdc3d3a252695d4e7ac6dcca6a1:36268951
t=2024-02-19T09:58:14+0000 lvl=dbug msg="peering tick"                           connected=1 advertised_udp=9003 advertised_tcp=9003 advertised_ip=46.4.102.29
t=2024-02-19T09:58:15+0000 lvl=dbug msg="L1 head moved forward"                  l1_head=0x4f46ad75f1a434f013a8ba87974d3b61e4b55cacb9182ada2e8d0c1b4c567922:36268952
t=2024-02-19T09:58:15+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x937c6133f8340add319553d7e5129bd5c796a2f462508fdce1f69b50cf21ea03:36268950 attempts=0
t=2024-02-19T09:58:15+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x937c6133f8340add319553d7e5129bd5c796a2f462508fdce1f69b50cf21ea03:36268950 attempts=0
t=2024-02-19T09:58:15+0000 lvl=dbug msg="extended finality-data"                 last_l1=0x9b417d74dc10e6e2e2df0b12e56c2410a157efdc3d3a252695d4e7ac6dcca6a1:36268951 last_l2=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:15+0000 lvl=info msg="Advancing bq origin"                    origin=0x9b417d74dc10e6e2e2df0b12e56c2410a157efdc3d3a252695d4e7ac6dcca6a1:36268951 originBehind=false
t=2024-02-19T09:58:15+0000 lvl=dbug msg="fetching next piece of data"
t=2024-02-19T09:58:15+0000 lvl=dbug msg="can't find next L1 block info (yet)"    number=36,268,952 origin=0x9b417d74dc10e6e2e2df0b12e56c2410a157efdc3d3a252695d4e7ac6dcca6a1:36268951
t=2024-02-19T09:58:15+0000 lvl=dbug msg="Derivation process went idle"           progress=0x9b417d74dc10e6e2e2df0b12e56c2410a157efdc3d3a252695d4e7ac6dcca6a1:36268951 err=EOF
t=2024-02-19T09:58:15+0000 lvl=dbug msg="requesting sync with open-end range"    start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:15+0000 lvl=dbug msg="P2P sync client received range signal, but cannot sync open-ended chain: need sync target to verify blocks through parent-hashes" start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:17+0000 lvl=dbug msg="current block height exceeds the latest block height of l1, will wait for a while." currentL1Block=36,268,953 l1Latest=36,268,952
t=2024-02-19T09:58:17+0000 lvl=dbug msg="requesting sync with open-end range"    start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:17+0000 lvl=dbug msg="P2P sync client received range signal, but cannot sync open-ended chain: need sync target to verify blocks through parent-hashes" start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:19+0000 lvl=dbug msg="requesting sync with open-end range"    start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942
t=2024-02-19T09:58:19+0000 lvl=dbug msg="P2P sync client received range signal, but cannot sync open-ended chain: need sync target to verify blocks through parent-hashes" start=0xed34ea434efcc378a86dd46972919226905449d07610f28bdb6facc507a859ed:16582942

How can I do my op-geth receive new block every 1 sec (generated time for new block in opBNB)?

Version:
op-node: v0.2.4 and v0.2.5-alpha
op-geth: v0.2.2 and v0.2.3-alpha

Params for op-node and op-geth from repo opbnb-node-docker

Hardware:
Net: 1Gb/s
CPU: AMD Ryzen 9 7950X3D 16-Core Processor
Mem: 128GB
Storage: SSD >10k IOPS

Please let me know if I can provide any more information, thanks.

syncing stuck at height 14828542, bad block 14828543

System information

Network: mainnet

if you are running a local node, please provide the following information:
op-node version: v0.2.4
op-geth version: v0.2.2
OS & Version: Linux

Backtrace

opbnb-op-geth-1  | INFO [01-30|03:24:25.417] StateProcessor Apply all transaction messages finished elapsed=21.772ms   blockNumber=14,828,543 txs=72
opbnb-op-geth-1  | INFO [01-30|03:24:25.424] Skip duplicated bad block                number=14,828,543 hash=cfaddf..835972
opbnb-op-geth-1  | ERROR[01-30|03:24:25.425]
opbnb-op-geth-1  | ########## BAD BLOCK #########
opbnb-op-geth-1  | Block: 14828543 (0xcfaddfbe590793ccfad929114f2033145da259ff5e03ad09be46ddf093835972)
opbnb-op-geth-1  | Error: invalid merkle root (remote: 86f3b5b7edaaa0f2f71c3a30ac56766fcfab784dd680a1c49348d331251f1dbe local: 653394266566c93b8e7f0a1c247e9a8a84861473afcdb3c395ddbcd181ec4f00) dberr: missing trie
 node 2c8e31842f5de395ee75aa4f692b814cedb09f583183c896950474ebde5a01a8 (owner 6b44941a8dbe3ef20d36537f5ea43ce994efeedd3e21b3ee9d2d34153068cefe) (path 0e0d08040a) <nil>
opbnb-op-geth-1  | Platform: geth (devel) go1.20.13 amd64 linux
opbnb-op-geth-1  | VCS: 8cc334bb-
opbnb-op-geth-1  | Chain config: &params.ChainConfig{ChainID:204, HomesteadBlock:0, DAOForkBlock:<nil>, DAOForkSupport:false, EIP150Block:0, EIP150Hash:0x0000000000000000000000000000000000000000000000000000000000
000000, EIP155Block:0, EIP158Block:0, ByzantiumBlock:0, ConstantinopleBlock:0, PetersburgBlock:0, IstanbulBlock:0, MuirGlacierBlock:0, BerlinBlock:0, LondonBlock:0, ArrowGlacierBlock:0, GrayGlacierBlock:0, MergeN
etsplitBlock:0, ShanghaiTime:(*uint64)(nil), CancunTime:(*uint64)(nil), PragueTime:(*uint64)(nil), BedrockBlock:0, RegolithTime:(*uint64)(0xc0000483a0), TerminalTotalDifficulty:0, TerminalTotalDifficultyPassed:tr
ue, Ethash:(*params.EthashConfig)(nil), Clique:(*params.CliqueConfig)(nil), Optimism:(*params.OptimismConfig)(0x2ebf1d0), PreContractForkBlock:<nil>, Fermat:9397477}
opbnb-op-geth-1  | Receipts:

Add the "Switch to opBNB network" window prompt

Rationale

  1. When you try to list a minted NFT and the network in your wallet is not opBNB, there is currently an error message pop-up that reads:
    "Address "undefined" is invalid.
    Version: [email protected]"
  2. There should instead be a window prompt pop-up that lets the user to switch the network to opBNB in their wallet.
  3. There should also be a "network switch" button in the website's UI, that says "WRONG NETWORK" if you're not on opBNB.

Implementation

This is a common feature that exists on many websites across the crypto space. Whenever there is an unsupported network, the UI tells you this, and whenever you try to execute something on the wrong network, it prompts you to switch to one of the supported networks.

could we have a static peers list?

Our opbnb nodes usually lose peers and stop syncing from the network, even though we have configured the bootnodes opbnb provides officially, the bootnodes seems not as efficient as expected - it hardly find any effective peers.

every time our nodes stop syncing, it's really hard for us to find effective peers and add them to our nodes manually, the peers that are effective atm may be offline in the future.

I think/hope opbnb should have had an official set of static peers, could you provide such a set of static peers to the community?

The opbnb version we are running:

  • op-node: v0.2.2
  • op-geth: v0.2.1

The command:

op-node \
                  --l1.trustrpc \
                  --sequencer.l1-confs=15 \
                  --verifier.l1-confs=15 \
                  --l1.http-poll-interval=3s \
                  --l1.epoch-poll-interval=45s \
                  --l1.rpc-max-batch-size=20 \
                  --network=opBNBMainnet \
                  --rpc.addr=0.0.0.0 \
                  --rpc.port=8547 \
                  --p2p.sync.req-resp \
                  --p2p.bootnodes=enr:-J24QGRN1ZLv--bzrqM-qRC-zUlCO4irVVg2bbWOvd3KEFjwLj8qCh54a1ziqic84uQz-2RLVSuNyNAbKEfrNr-STj-GAYoIQDCIgmlkgnY0gmlwhDaykUmHb3BzdGFja4PMAQCJc2VjcDI1NmsxoQJ-_5GZKjs7jaB4TILdgC8EwnwyL3Qip89wmjnyjvDDwoN0Y3CCIyuDdWRwgiMr \
                  --metrics.enabled \
                  --metrics.addr=0.0.0.0 \
                  --metrics.port=7300 \
                  --pprof.enabled \
                  --rpc.enable-admin \
                  --l1=https://bsc-dataseed3.defibit.io \
                  --l2.engine-sync=true \
                  --l2.skip-sync-start-check=true \
                  --l2=http://127.0.0.1:8551 \
                  --l2.jwt-secret=/var/data/jwt.txt
/app/bin/geth \
                  --datadir=/var/data \
                  --http \
                  --http.vhosts=* \
                  --http.addr=0.0.0.0 \
                  --http.port=8545 \
                  --http.api=net,eth \
                  --syncmode=full \
                  --bootnodes="enr:-KO4QHs5qh_kPFcjMgqkuN9dbxXT4C5Cjad4SAheaUxveCbJQ3XdeMMDHeHilHyqisyYQAByfdhzyKAdUp2SvyzWeBqGAYvRDf80g2V0aMfGhHFtSjqAgmlkgnY0gmlwhDaykUmJc2VjcDI1NmsxoQJUevTL3hJwj21IT2GC6VaNqVQEsJFPtNtO-ld5QTNCfIRzbmFwwIN0Y3CCdl-DdWRwgnZf,enr:-KO4QKIByq-YMjs6IL2YCNZEmlo3dKWNOy4B6sdqE3gjOrXeKdNbwZZGK_JzT1epqCFs3mujjg2vO1lrZLzLy4Rl7PyGAYvRA8bEg2V0aMfGhHFtSjqAgmlkgnY0gmlwhDbjSM6Jc2VjcDI1NmsxoQNQhJ5pqCPnTbK92gEc2F98y-u1OgZVAI1Msx-UiHezY4RzbmFwwIN0Y3CCdl-DdWRwgnZf" \
                  --maxpeers=10 \
                  --networkid=204 \
                  --miner.gaslimit=150000000 \
                  --triesInMemory=32 \
                  --txpool.globalslots=10000 \
                  --txpool.globalqueue=5000 \
                  --cache=1024 \
                  --cache.preimages \
                  --allow-insecure-unlock \
                  --gcmode=archive \
                  --metrics \
                  --metrics.port=6060 \
                  --metrics.addr=0.0.0.0 \
                  --allow-insecure-unlock \
                  --authrpc.addr=0.0.0.0 \
                  --authrpc.port=8551 \
                  --authrpc.vhosts=* \
                  --authrpc.jwtsecret=/var/data/jwt.txt \
                  --rollup.sequencerhttp=https://opbnb-mainnet-rpc.bnbchain.org \
                  --txlookuplimit=0 \
                  --snapshot=false

op-geth logs:

WARN [12-28|09:47:19.412] Beacon chain gapped                      head=12,003,114 newHead=12,003,116
WARN [12-28|09:47:19.423] Ignoring payload with missing parent     number=12,003,115 hash=0a355c..9bb9e8 parent=14d929..e58aca
INFO [12-28|09:47:19.424] Forkchoice requested sync to new head    number=12,003,115 hash=0a355c..9bb9e8 finalized=unknown
WARN [12-28|09:47:19.424] Beacon chain reorged                     tail=12,003,116 head=12,003,116 newHead=12,003,115
WARN [12-28|09:47:26.907] Ignoring payload with missing parent     number=12,003,123 hash=e73a92..c170ce parent=d870a4..a2e57a
INFO [12-28|09:47:26.907] Forkchoice requested sync to new head    number=12,003,123 hash=e73a92..c170ce finalized=unknown

op-node logs

t=2023-12-29T03:56:11+0000 lvl=info msg="Advancing bq origin"                    origin=0xa32d4369600de0f4a06b36629d2ee80f54bb0e2c169d40e42d84e497ce5865db:34437123 originBehind=true
t=2023-12-29T03:56:12+0000 lvl=info msg="attempting connection"                  peer=16Uiu2HAm3yRNmpzfLu1MFCYqMKvA6fRXLATo16k4XDg9yfV3FsQu
t=2023-12-29T03:56:12+0000 lvl=info msg="connected to peer"                      peer=16Uiu2HAm3yRNmpzfLu1MFCYqMKvA6fRXLATo16k4XDg9yfV3FsQu addr=/ip4/54.178.145.73/tcp/9003 peerCount=1
t=2023-12-29T03:56:12+0000 lvl=info msg="Starting P2P sync client event loop"    peer=16Uiu2HAm3yRNmpzfLu1MFCYqMKvA6fRXLATo16k4XDg9yfV3FsQu
t=2023-12-29T03:56:21+0000 lvl=warn msg="failed to notify engine driver of L1 head change" err="context deadline exceeded"
t=2023-12-29T03:56:31+0000 lvl=warn msg="failed to notify engine driver of L1 head change" err="context deadline exceeded"
t=2023-12-29T03:56:41+0000 lvl=warn msg="failed to notify engine driver of new L2 payload" err="context deadline exceeded" id=0x904a2be7448c08b7db60ad7a528dce5b7dbde65ccb6704bb5a954bc754239adc:12068201
t=2023-12-29T03:56:41+0000 lvl=info msg="Received signed execution payload from p2p" id=0x3c0858f602e231d9a8471c10d34f2ef68c018a5d8cc67fe04d086ec9dc52c7bc:12068203 peer=16Uiu2HAm3yRNmpzfLu1MFCYqMKvA6fRXLATo16k4XDg9yfV3FsQu
t=2023-12-29T03:56:41+0000 lvl=warn msg="failed to notify engine driver of L1 head change" err="context deadline exceeded"
t=2023-12-29T03:56:51+0000 lvl=warn msg="failed to notify engine driver of L1 head change" err="context deadline exceeded"
t=2023-12-29T03:57:01+0000 lvl=warn msg="failed to notify engine driver of L1 head change" err="context deadline exceeded"
t=2023-12-29T03:57:08+0000 lvl=info msg="disconnected from peer"                 peer=16Uiu2HAm3yRNmpzfLu1MFCYqMKvA6fRXLATo16k4XDg9yfV3FsQu addr=/ip4/54.178.145.73/tcp/9003 peerCount=0
t=2023-12-29T03:57:11+0000 lvl=warn msg="failed to notify engine driver of new L2 payload" err="context deadline exceeded" id=0x3c0858f602e231d9a8471c10d34f2ef68c018a5d8cc67fe04d086ec9dc52c7bc:12068203
t=2023-12-29T03:57:11+0000 lvl=info msg="Received signed execution payload from p2p" id=0xaafdddb903c2799846630ce2e484e4e140d9a4a99c5885177dfb194e463c5d2a:12068204 peer=16Uiu2HAm3yRNmpzfLu1MFCYqMKvA6fRXLATo16k4XDg9yfV3FsQu
t=2023-12-29T03:57:11+0000 lvl=warn msg="failed to notify engine driver of L1 head change" err="context deadline exceeded"

opBNB会把交易数据提交到BSC吗?

最近在分析opBNB的技术,可以看到opBNB通过BSC上合约(合约地址0x0d61A015BAeF63f6740afF8294dAc278A494f6fA)的接口proposeL2Output(_outputRoot, _l2BlockNumber, _l1BlockHash, _l2BlockNumber)来提交L2状态。

但是没有看到opBNB用什么接口提交L2区块交易数据,以及提到哪个合约地址。如果opBNB不提交交易数据到BSC,那么就不是标准的Rollup。

BSC上接收opBNB的L2 batch交易数据的合约地址,可以发一下吗?

Optimism SDK withdrawl proof fails

System information

Running on BSC/opBNB mainnet (56, 204)

Expected behaviour

Proofs for L2 BNB and token withdraws should be calculated and submitted to BSC L1.

Actual behaviour

Theres a bug in the CrossChainMessenger getMessageBedrockOutput. BSC <> opBNB needs the most recent output index, but the optimism sdk uses the most recent index after the transaction. I have built a template dapp for BSC <> opBNB bridges with custom tokens, it fixes this bug by overriding getMesageBedrockOutput. The dapp is live at https://microscopic-continent-rhythmic.on-fleek.app/ and contains the fix. The broken code in Optimism SDK is at https://github.com/ethereum-optimism/optimism/blob/ee058e413e0c7ff92d000593af648f3d79ca1a31/packages/sdk/src/cross-chain-messenger.ts#L1076.

You can see the working code fix in my template dapp https://github.com/chinese-zodiac/bridge-opbnb-cz-cash-fe/blob/main/src/components/account/WithdrawAccount.js#L94

Node cannot catch up

Node cannot catch up with the current blocks testnet. It's consistently lagging behind by 40k blocks. We've tried using both a public node and our own node, and both are in sync. Here are the logs
op-geth

INFO [09-26|17:26:06.288] Chain head was updated                   number=8,827,416 hash=f12d9c..b3a7a6 root=170f08..d592a0 elapsed="40.636µs"  age=12h44s
INFO [09-26|17:26:06.290] Starting work on payload                 id=0xaa2a7d0ae83f6633
INFO [09-26|17:26:06.291] Imported new potential chain segment     number=8,827,417 hash=f269ea..ce9d64 blocks=1 txs=1  mgas=0.047 elapsed="385.859µs" mgasps=121.581 age=12h43s    dirty=0.00B
INFO [09-26|17:26:06.291] Chain head was updated                   number=8,827,417 hash=f269ea..ce9d64 root=bc2bb0..888edc elapsed="38.091µs"  age=12h43s
INFO [09-26|17:26:09.381] Starting work on payload                 id=0x853096e536b8f776
INFO [09-26|17:26:09.383] Imported new potential chain segment     number=8,827,418 hash=28c3c0..778b4a blocks=1 txs=1  mgas=0.048 elapsed="480.795µs" mgasps=99.213  age=12h45s    dirty=0.00B
INFO [09-26|17:26:09.383] Chain head was updated                   number=8,827,418 hash=28c3c0..778b4a root=4bdea1..2a5bf3 elapsed="53.169µs"  age=12h45s
INFO [09-26|17:26:09.385] Starting work on payload                 id=0x239217e604fb7b67
INFO [09-26|17:26:09.386] Imported new potential chain segment     number=8,827,419 hash=ae24f8..83cbe9 blocks=1 txs=1  mgas=0.064 elapsed="384.857µs" mgasps=166.329 age=12h44s    dirty=0.00B
INFO [09-26|17:26:09.387] Chain head was updated                   number=8,827,419 hash=ae24f8..83cbe9 root=a028de..997257 elapsed="43.491µs"  age=12h44s
INFO [09-26|17:26:09.388] Starting work on payload                 id=0x1e8577b0c96f5ca7
INFO [09-26|17:26:09.390] Imported new potential chain segment     number=8,827,420 hash=21d33e..4f80d2 blocks=1 txs=1  mgas=0.047 elapsed="377.393µs" mgasps=124.308 age=12h43s    dirty=0.00B
INFO [09-26|17:26:09.390] Chain head was updated                   number=8,827,420 hash=21d33e..4f80d2 root=e3ba39..75a90f elapsed="45.645µs"  age=12h43s
INFO [09-26|17:26:12.263] Starting work on payload                 id=0xa427f63ec3cb1a56
INFO [09-26|17:26:12.265] Imported new potential chain segment     number=8,827,421 hash=988982..e5a191 blocks=1 txs=1  mgas=0.051 elapsed="501.984µs" mgasps=100.627 age=12h45s    dirty=0.00B
INFO [09-26|17:26:12.265] Chain head was updated                   number=8,827,421 hash=988982..e5a191 root=e07818..9894a4 elapsed="55.604µs"  age=12h45s
INFO [09-26|17:26:12.267] Starting work on payload                 id=0xee8a0746bc0ea6d5
INFO [09-26|17:26:12.268] Imported new potential chain segment     number=8,827,422 hash=65d17f..3f8abc blocks=1 txs=1  mgas=0.064 elapsed="398.151µs" mgasps=160.806 age=12h44s    dirty=0.00B
INFO [09-26|17:26:12.269] Chain head was updated                   number=8,827,422 hash=65d17f..3f8abc root=74d358..889eeb elapsed="41.697µs"  age=12h44s
INFO [09-26|17:26:12.270] Starting work on payload                 id=0x8f8c25713bd1ce41
INFO [09-26|17:26:12.271] Imported new potential chain segment     number=8,827,423 hash=d343ea..ac1b27 blocks=1 txs=1  mgas=0.047 elapsed="384.556µs" mgasps=122.024 age=12h43s    dirty=0.00B
INFO [09-26|17:26:12.272] Chain head was updated                   number=8,827,423 hash=d343ea..ac1b27 root=d845eb..28c5cd elapsed="41.627µs"  age=12h43s

op-node

t=2023-09-26T17:27:12+0000 lvl=warn msg="ignoring batch with mismatching parent hash" batch_index=0 batch_timestamp=1,695,705,990 parent_hash=0x2827c6a4be3bf71cda7ddde1dfbcceb5403b191aff572b5543a058b8a67fd987 batch_epoch=0x4aef52b4d9fd8ca6dbe16679d00ba08a1a0b8a905b3d2669c4487bfe1dbc000c:33669675 txs=8  current_safe_head=0x902468751fd89328d9c77044ad79c8cb88b748cd27cedb5f771cb9a1e183d50a
t=2023-09-26T17:27:12+0000 lvl=warn msg="dropping batch"                         batch_timestamp=1,695,705,990 parent_hash=0x2827c6a4be3bf71cda7ddde1dfbcceb5403b191aff572b5543a058b8a67fd987 batch_epoch=0x4aef52b4d9fd8ca6dbe16679d00ba08a1a0b8a905b3d2669c4487bfe1dbc000c:33669675 txs=8  l2_safe_head=0x902468751fd89328d9c77044ad79c8cb88b748cd27cedb5f771cb9a1e183d50a:8827483 l2_safe_head_time=1,695,705,989
t=2023-09-26T17:27:12+0000 lvl=info msg="skipping unsafe payload, since it is older than safe head" safe=0x902468751fd89328d9c77044ad79c8cb88b748cd27cedb5f771cb9a1e183d50a:8827483 unsafe=0xe0976093b0310e9095287d59983f53d07d813de29ae8a6aa8dfd2ff4b4fc4410:8827482 payload=0xe0976093b0310e9095287d59983f53d07d813de29ae8a6aa8dfd2ff4b4fc4410:8827482
t=2023-09-26T17:27:12+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x54ee31e7ef5a439ccaf067617e0a4fba93bb875f15821ee2992a6609b76d2fec:33684090 attempts=0
t=2023-09-26T17:27:12+0000 lvl=info msg="skipping unsafe payload, since it is older than safe head" safe=0x902468751fd89328d9c77044ad79c8cb88b748cd27cedb5f771cb9a1e183d50a:8827483 unsafe=0x2827c6a4be3bf71cda7ddde1dfbcceb5403b191aff572b5543a058b8a67fd987:8827483 payload=0x2827c6a4be3bf71cda7ddde1dfbcceb5403b191aff572b5543a058b8a67fd987:8827483
t=2023-09-26T17:27:12+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x54ee31e7ef5a439ccaf067617e0a4fba93bb875f15821ee2992a6609b76d2fec:33684090 attempts=0
t=2023-09-26T17:27:12+0000 lvl=info msg="skipping unsafe payload, since it does not build onto the existing unsafe chain" safe=0x902468751fd89328d9c77044ad79c8cb88b748cd27cedb5f771cb9a1e183d50a:8827483 unsafe=0x649fbbc9bf827ea273f1db4f8c7b0398dc99d4f155c6479edaf3c6494717bcd9:8827484 payload=0x649fbbc9bf827ea273f1db4f8c7b0398dc99d4f155c6479edaf3c6494717bcd9:8827484
t=2023-09-26T17:27:12+0000 lvl=dbug msg="can't find next L1 block info (yet)"    number=33,684,091 origin=0x54ee31e7ef5a439ccaf067617e0a4fba93bb875f15821ee2992a6609b76d2fec:33684090
t=2023-09-26T17:27:12+0000 lvl=dbug msg="Derivation process went idle"           progress=0x54ee31e7ef5a439ccaf067617e0a4fba93bb875f15821ee2992a6609b76d2fec:33684090
t=2023-09-26T17:27:13+0000 lvl=dbug msg="validated block"                        result=ACCEPT from=16Uiu2HAmNuf1C5gVxMM3KFWFxXV5FPb6tE6p4fyf3hJmrjGm7kVA
t=2023-09-26T17:27:13+0000 lvl=info msg="Received signed execution payload from p2p" id=0x064819fa0b5ab76211c5a3a6c041f5b10c76d5e0c6ea74e824161dc136174462:8870727 peer=16Uiu2HAmNuf1C5gVxMM3KFWFxXV5FPb6tE6p4fyf3hJmrjGm7kVA
t=2023-09-26T17:27:13+0000 lvl=info msg="Optimistically queueing unsafe L2 execution payload" id=0x064819fa0b5ab76211c5a3a6c041f5b10c76d5e0c6ea74e824161dc136174462:8870727
t=2023-09-26T17:27:13+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x54ee31e7ef5a439ccaf067617e0a4fba93bb875f15821ee2992a6609b76d2fec:33684090 attempts=0
t=2023-09-26T17:27:13+0000 lvl=dbug msg="can't find next L1 block info (yet)"    number=33,684,091 origin=0x54ee31e7ef5a439ccaf067617e0a4fba93bb875f15821ee2992a6609b76d2fec:33684090
t=2023-09-26T17:27:13+0000 lvl=dbug msg="Derivation process went idle"           progress=0x54ee31e7ef5a439ccaf067617e0a4fba93bb875f15821ee2992a6609b76d2fec:33684090
t=2023-09-26T17:27:13+0000 lvl=dbug msg="peering tick"                           connected=4 advertised_udp=9003 advertised_tcp=9003 advertised_ip=<nil>
t=2023-09-26T17:27:13+0000 lvl=dbug msg="discovered peer"                        peer=16Uiu2HAmNuf1C5gVxMM3KFWFxXV5FPb6tE6p4fyf3hJmrjGm7kVA nodeID=827feb348b38e3d9b05cac4e46efb439ab504d11425431f4be5899685843fd3f addr=/ip4/18.176.219.164/tcp/9003
t=2023-09-26T17:27:14+0000 lvl=dbug msg="validated block"                        result=ACCEPT from=16Uiu2HAmNuf1C5gVxMM3KFWFxXV5FPb6tE6p4fyf3hJmrjGm7kVA
t=2023-09-26T17:27:14+0000 lvl=info msg="Received signed execution payload from p2p" id=0x6745a635da4eca65a591d057635d422c4c11e179a80374b28d02980c6beabc5a:8870728 peer=16Uiu2HAmNuf1C5gVxMM3KFWFxXV5FPb6tE6p4fyf3hJmrjGm7kVA
t=2023-09-26T17:27:14+0000 lvl=info msg="Optimistically queueing unsafe L2 execution payload" id=0x6745a635da4eca65a591d057635d422c4c11e179a80374b28d02980c6beabc5a:8870728
t=2023-09-26T17:27:14+0000 lvl=dbug msg="Derivation process step"                onto_origin=0x54ee31e7ef5a439ccaf067617e0a4fba93bb875f15821ee2992a6609b76d2fec:33684090 attempts=0
t=2023-09-26T17:27:14+0000 lvl=dbug msg="can't find next L1 block info (yet)"    number=33,684,091 origin=0x54ee31e7ef5a439ccaf067617e0a4fba93bb875f15821ee2992a6609b76d2fec:33684090
t=2023-09-26T17:27:14+0000 lvl=dbug msg="Derivation process went idle"           progress=0x54ee31e7ef5a439ccaf067617e0a4fba93bb875f15821ee2992a6609b76d2fec:33684090
t=2023-09-26T17:27:14+0000 lvl=dbug msg="requesting missing unsafe L2 block range" start=0x902468751fd89328d9c77044ad79c8cb88b748cd27cedb5f771cb9a1e183d50a:8827483 end=0x13abda5cd7b40981b511d9695e26a91908d0392f6d8abbb6464c97bbb81425f0:8827485 size=2
t=2023-09-26T17:27:14+0000 lvl=dbug msg="ignoring request to sync L2 range, timestamp is too old for p2p" start=0x902468751fd89328d9c77044ad79c8cb88b748cd27cedb5f771cb9a1e183d50a:8827483 end=0x13abda5cd7b40981b511d9695e26a91908d0392f6d8abbb6464c97bbb81425f0:8827485 start_time=1,695,705,989

Here's the configuration.
op-geth

"--datadir=/data",
 "--http",
 "--http.corsdomain=*",
 "--http.vhosts=*",
 "--http.addr=0.0.0.0",
 "--http.port=8545",
 "--http.api=eth,net,web3,txpool,debug",
 "--ws",
 "--ws.addr=0.0.0.0",
 "--ws.port=8546",
 "--ws.origins=*",
 "--syncmode=full",
 "--maxpeers=10",
 "--networkid=5611",
 "--authrpc.addr=0.0.0.0",
 "--authrpc.port=8551",
 "--authrpc.vhosts=*",
 "--gcmode=archive", 
 "--metrics",
 "--metrics.port=6060",
 "--metrics.addr=0.0.0.0",
 "--rollup.disabletxpoolgossip=true",
 "--rollup.sequencerhttp=https://opbnb-testnet-rpc.bnbchain.org",
 "--rpc.evmtimeout=600s",
 "--rpc.gascap=0",
 "--rpc.txfeecap=0",
 "--txlookuplimit=0",
 "--nodiscover",
 "--snapshot=false",

op-node

"--l1.trustrpc",
 "--sequencer.l1-confs=15",
 "--verifier.l1-confs=15",
 "--l1.http-poll-interval=3s",
 "--l1.epoch-poll-interval=45s",
 "--l1.rpc-max-batch-size=20",
 "--rollup.config=/home/rollup.json",
 "--rpc.addr=0.0.0.0", 
 "--rpc.port=8546",
 "--p2p.sync.req-resp",
 "--p2p.listen.ip=0.0.0.0",
 "--p2p.listen.tcp=9003",
 "--p2p.listen.udp=9003",
 "--snapshotlog.file=./snapshot.log",
 "--p2p.priv.raw=694dd51c94a31f1550bb2e3cb5535b4bce495488ddfcbafa79af77999fd5d6d3",
 "--p2p.bootnodes=enr:-J24QGQBeMsXOaCCaLWtNFSfb2Gv50DjGOKToH2HUTAIn9yXImowlRoMDNuPNhSBZNQGCCE8eAl5O3dsONuuQp5Qix2GAYjB7KHSgmlkgnY0gmlwhDREiqaHb3BzdGFja4PrKwCJc2VjcDI1NmsxoQL4I9wpEVDcUb8bLWu6V8iPoN5w8E8q-GrS5WUCygYUQ4N0Y3CCIyuDdWRwgiMr",
 "--metrics.enabled",
 "--metrics.addr=0.0.0.0",
 "--metrics.port=7300",
 "--pprof.enabled",
 "--rpc.enable-admin",
 "--log.level=debug",

op-geth:v0.1.3,op-node:v0.1.3
What could be the issue?

Want to participate in mainnet.

Hi! We are building an ad-free open-source explorer 3xpl.com and would like to add opbnb to our website. Can we get the mainnet genesis file? Is the latest tag (0.1.3) suitable for mainnet usage?

Node doesn't sync (mainnet, op-geth & opnode v0.4.2)

System information

Element Value
Network mainnet
Op-node ghcr.io/bnb-chain/op-node:v0.4.2
Op-geth ghcr.io/bnb-chain/op-geth:v0.4.2
CPU Intel(R) Xeon(R) Silver 4210R CPU @ 2.40GHz
RAM DDR4 ECC 64GB
Kernel GNU/Linux 5.10.0-28-amd64
Disks NVME SSD, SAMSUNG MZWLJ7T6HALA-00007 7.68TB
DB snapshot bnb-chain/opbnb-snapshot

Expected behaviour

Op-geth importing blocks

Actual behaviour

Op-geth does not import blocks, even after a long time (about a week).
Op-geth logs:

INFO [07-03|09:41:00.995] loop print db stats                      database=/data/geth/chaindata comp_time=0 write_delay_count=0 write_delay_time=0 non_level0_comp_count=0 level0_comp_count=0
INFO [07-03|09:41:03.996] loop print db stats                      database=/data/geth/chaindata comp_time=0 write_delay_count=0 write_delay_time=0 non_level0_comp_count=0 level0_comp_count=0
INFO [07-03|09:41:06.997] loop print db stats                      database=/data/geth/chaindata comp_time=0 write_delay_count=0 write_delay_time=0 non_level0_comp_count=0 level0_comp_count=0
INFO [07-03|09:41:09.997] loop print db stats                      database=/data/geth/chaindata comp_time=0 write_delay_count=0 write_delay_time=0 non_level0_comp_count=0 level0_comp_count=0

Op-node logs:

t=2024-07-03T09:39:23+0000 lvl=info msg="Walking back L1Block by hash" curr=0xd2ac81d52ef8f6deddc3ba86950f1468cc45174696578e4ec67d32ca314c4ccb:39979299 next=0xe92f50026d308480b96537e07bb0ad43ecfb00a61f03caa0da61651e8a8d86b6:39979298 l2block=0xb57da014933b0f8496c1f8ca6e1ef4775452671a17bf7dcce5b5cf191207fe1d:27742576
t=2024-07-03T09:39:23+0000 lvl=warn msg="failed to notify engine driver of L1 head change" err="context deadline exceeded"
t=2024-07-03T09:39:23+0000 lvl=info msg="Walking back L1Block by hash" curr=0xe92f50026d308480b96537e07bb0ad43ecfb00a61f03caa0da61651e8a8d86b6:39979298 next=0x052ea204656bd04010dc7e18c8734f950c95bc738956f36d3e83051d3f481dab:39979297 l2block=0xa70786711003cbda2e2ddb021efbb1afebdd8c0f8d126e2ee01fe283316433e0:27742575
t=2024-07-03T09:39:23+0000 lvl=debug msg="Revalidated node" p2p=discv5 b=14 id=15aad4b826b26547fc755e92f486b66e1ae6eecaf2ae41f963ff48e49f119aa5 checks=6
t=2024-07-03T09:39:23+0000 lvl=info msg="Walking back L1Block by hash" curr=0x052ea204656bd04010dc7e18c8734f950c95bc738956f36d3e83051d3f481dab:39979297 next=0xdb7f46625c038eaff3e16bd49ae5f9e856574413ac78d724fb11560a7b3dde0f:39979296 l2block=0xe43b91c739d36aafab10265d32727ed9bf1cd7784990afa9aec106782b9be6b9:27742570
t=2024-07-03T09:39:23+0000 lvl=info msg="Walking back L1Block by hash" curr=0xdb7f46625c038eaff3e16bd49ae5f9e856574413ac78d724fb11560a7b3dde0f:39979296 next=0x967d90984a10dbffd058d8c61d2e6df6210318a58455aa644f96468da2e23d74:39979295 l2block=0xa87eaad561a62c4af51a5296cedc3129b681655009baa3e8a6361b4e1e6b396e:27742569
t=2024-07-03T09:39:24+0000 lvl=debug msg="validated blockv3" topic=blocksV3 result=ACCEPT from=16Uiu2HAkyawqgokfp7MetgshLiTkoDwPta3v7QS3bEoYSiJBxWjG
t=2024-07-03T09:39:24+0000 lvl=info msg="Walking back L1Block by hash" curr=0x967d90984a10dbffd058d8c61d2e6df6210318a58455aa644f96468da2e23d74:39979295 next=0x8bd03fdeb80bf8fd4493a30702ead7b59bf1c9a98ba7e22155166dfa398afe71:39979294 l2block=0x7d85f6a2e9fc89ec70f7963ce57003176b2a134735551b946ffad74e67d82740:27742564
t=2024-07-03T09:39:24+0000 lvl=info msg="Walking back L1Block by hash" curr=0x8bd03fdeb80bf8fd4493a30702ead7b59bf1c9a98ba7e22155166dfa398afe71:39979294 next=0x9aa29fc2ffc24a6caaa62c1a98d1229845de20e4ce59aa41c1a053fde4a18520:39979293 l2block=0x3f935c1561fe77eae9f5ea58ff061ddc351f0aacf73a959534f66252284d3a1c:27742563
t=2024-07-03T09:39:24+0000 lvl=info msg="disconnected from peer" peer=16Uiu2HAm67BwBSLAzsU8E2ttzNYetdUjd86q5mFWjgJ1PEngoMoG addr=/ip4/54.81.73.138/tcp/9003 peerCount=39
t=2024-07-03T09:39:24+0000 lvl=debug msg="peer left topic" topic=blocksV2 peer=16Uiu2HAm67BwBSLAzsU8E2ttzNYetdUjd86q5mFWjgJ1PEngoMoG
t=2024-07-03T09:39:24+0000 lvl=debug msg="peer left topic" topic=blocksV3 peer=16Uiu2HAm67BwBSLAzsU8E2ttzNYetdUjd86q5mFWjgJ1PEngoMoG
t=2024-07-03T09:39:24+0000 lvl=debug msg="peer left topic" topic=blocksV1 peer=16Uiu2HAm67BwBSLAzsU8E2ttzNYetdUjd86q5mFWjgJ1PEngoMoG
t=2024-07-03T09:39:24+0000 lvl=debug msg="stopped syncing loop of peer" id=16Uiu2HAm67BwBSLAzsU8E2ttzNYetdUjd86q5mFWjgJ1PEngoMoG
t=2024-07-03T09:39:24+0000 lvl=info msg="Walking back L1Block by hash" curr=0x9aa29fc2ffc24a6caaa62c1a98d1229845de20e4ce59aa41c1a053fde4a18520:39979293 next=0xf6d2ddb0309750ebc5540f3d961e2d02272c4419c712e70ddc1a6f4d6231b8e8:39979292 l2block=0x8b32843ff239cfbee81bfbf2fd0e2973e22c43798c3d8dfb12d8ac66a07b064a:27742557
t=2024-07-03T09:39:25+0000 lvl=info msg="Walking back L1Block by hash" curr=0xf6d2ddb0309750ebc5540f3d961e2d02272c4419c712e70ddc1a6f4d6231b8e8:39979292 next=0x282ac8488916828a841dec1e2baefa12adbdfcabbab6d4781edab4b61d429df2:39979291 l2block=0x46fa0a21ded5c99ba1ebc97dd19c2edcbe4dc57a73c54edd8edbbf8370f66021:27742554
t=2024-07-03T09:39:25+0000 lvl=warn msg="failed to notify engine driver of new L2 payload" err="context deadline exceeded" id=0xb301338f684a69d788c3cb8b8fe643048fce9b22e344062086074a84490cbac5:28244852
t=2024-07-03T09:39:25+0000 lvl=info msg="Received signed execution payload from p2p" id=0x10db6a94730ff2edb38bc77780d1abdabfeade313d64d2c3d79a0c4d468aa1d7:28244882 peer=16Uiu2HAmHNbEuRS8iWsgWpmJDTzK58fAJHVFrP4w7HS5wfNM5LyG
t=2024-07-03T09:39:25+0000 lvl=info msg="Walking back L1Block by hash" curr=0x282ac8488916828a841dec1e2baefa12adbdfcabbab6d4781edab4b61d429df2:39979291 next=0x833edba8a0ca46a7b102905b093c5e8208768c032edd1ccfe97aa79455d8231f:39979290 l2block=0x5d7850bcfa5303f821762da1f60c0d80d777056199a58e3aade2b4ab7f6918df:27742551
t=2024-07-03T09:39:25+0000 lvl=debug msg="validated blockv3" topic=blocksV3 result=ACCEPT from=16Uiu2HAmNbo4i83FENbSRqQs3idEwwAjxEBiW9YVfhtqHDfvTnQ8
t=2024-07-03T09:39:25+0000 lvl=info msg="Walking back L1Block by hash" curr=0x833edba8a0ca46a7b102905b093c5e8208768c032edd1ccfe97aa79455d8231f:39979290 next=0x8642b778c33818a317dcba9c02c9b377e9a9ab573a40bc2c4b63f30cd17c59ba:39979289 l2block=0x80a7c0d067a6ec84e45e441a25fa2b21b32656d572e7ff3a6a4514bff00520c7:27742548
t=2024-07-03T09:39:25+0000 lvl=info msg="Walking back L1Block by hash" curr=0x8642b778c33818a317dcba9c02c9b377e9a9ab573a40bc2c4b63f30cd17c59ba:39979289 next=0x2420768da56041cc170cfe17b18905dc4db1a5fc092d4f93296eb6bd081d2858:39979288 l2block=0x5ddf448199e9cbd479ff3c6c63e8500bdf8dace6e48f086d25941bfe821a7985:27742545
t=2024-07-03T09:39:25+0000 lvl=debug msg="Revalidated node" p2p=discv5 b=16 id=bb986003fadb90f60351b13ffc5d40cdefeeb881b3e2a78c3199a475e6d104f6 checks=5
t=2024-07-03T09:39:26+0000 lvl=info msg="Walking back L1Block by hash" curr=0x2420768da56041cc170cfe17b18905dc4db1a5fc092d4f93296eb6bd081d2858:39979288 next=0x7f32ad615b11f802179886518a4cba90e7838c1041e7cb62ad3479dc5150c5e9:39979287 l2block=0xfa97b1c545d0e7f34286093188b58cfc48d2af9c91f3a193743da6043f00fa2a:27742542
t=2024-07-03T09:39:26+0000 lvl=info msg="Walking back L1Block by hash" curr=0x7f32ad615b11f802179886518a4cba90e7838c1041e7cb62ad3479dc5150c5e9:39979287 next=0x41990f14733f1e78f66da137beac7f5f4cc137ba01117246a82c2d24fe4411eb:39979286 l2block=0x304f336fc76b153ee0d2df8b65e8f3ebcb8c248896394d8d67064579b08ba9be:27742540
t=2024-07-03T09:39:26+0000 lvl=info msg="Walking back L1Block by hash" curr=0x41990f14733f1e78f66da137beac7f5f4cc137ba01117246a82c2d24fe4411eb:39979286 next=0x0af0c7ce8c76eb5e2637df57aa47ec4583d317e05211a0eabea78109059e5e31:39979285 l2block=0xb994c79d37b32a6cf42a0e4292e28e0c7bfa24380a51895e8d537a617c8e2cf8:27742539
t=2024-07-03T09:39:26+0000 lvl=debug msg="validated blockv3" topic=blocksV3 result=ACCEPT from=16Uiu2HAky51SJoZMJ4vqw9eZs7w3PTefzVLdegbDn6dG9m985pRq
t=2024-07-03T09:39:26+0000 lvl=info msg="Walking back L1Block by hash" curr=0x0af0c7ce8c76eb5e2637df57aa47ec4583d317e05211a0eabea78109059e5e31:39979285 next=0xdf1cd206ce1e7caa46f226288d58e0f88100cfb46cde5f89638caf5caa3295e8:39979284 l2block=0xda5ac9e7dc04f4c7ecf85afed4b71b60010763ef391c946cedf187bf29a817fe:27742534
t=2024-07-03T09:39:26+0000 lvl=info msg="Walking back L1Block by hash" curr=0xdf1cd206ce1e7caa46f226288d58e0f88100cfb46cde5f89638caf5caa3295e8:39979284 next=0x62fdd28a0090ad89cc0234cd5b5a270f228308847a6ca7cc38fd3c6c9e70f1db:39979283 l2block=0x10da28d4762e8c1b08ba9dcd8c59f4c4dacdc9b93a05ca832e2f947640fa54c8:27742533
t=2024-07-03T09:39:27+0000 lvl=debug msg="peer left topic" topic=blocksV3 peer=16Uiu2HAkwFV41AFwtAg3KWGymgp4a1oqqyKHiX9Au7he6paJX3Rt
t=2024-07-03T09:39:27+0000 lvl=debug msg="peer left topic" topic=blocksV1 peer=16Uiu2HAkwFV41AFwtAg3KWGymgp4a1oqqyKHiX9Au7he6paJX3Rt
t=2024-07-03T09:39:27+0000 lvl=debug msg="peer left topic" topic=blocksV2 peer=16Uiu2HAkwFV41AFwtAg3KWGymgp4a1oqqyKHiX9Au7he6paJX3Rt
t=2024-07-03T09:39:27+0000 lvl=info msg="disconnected from peer" peer=16Uiu2HAkwFV41AFwtAg3KWGymgp4a1oqqyKHiX9Au7he6paJX3Rt addr=/ip4/3.14.248.20/tcp/9003 peerCount=38
t=2024-07-03T09:39:27+0000 lvl=debug msg="stopped syncing loop of peer" id=16Uiu2HAkwFV41AFwtAg3KWGymgp4a1oqqyKHiX9Au7he6paJX3Rt
t=2024-07-03T09:39:27+0000 lvl=info msg="Walking back L1Block by hash" curr=0x62fdd28a0090ad89cc0234cd5b5a270f228308847a6ca7cc38fd3c6c9e70f1db:39979283 next=0x2cfb096d455c7c95ff9fdba5c6e80c3c2aec883b330ad55d7915fd3720838083:39979282 l2block=0x556cc285a1848889150d98ac73564af6aa6bd24acc759abd411128b3dfc0a260:27742530
t=2024-07-03T09:39:27+0000 lvl=debug msg="validated blockv3" topic=blocksV3 result=ACCEPT from=16Uiu2HAkyawqgokfp7MetgshLiTkoDwPta3v7QS3bEoYSiJBxWjG
t=2024-07-03T09:39:27+0000 lvl=info msg="Walking back L1Block by hash" curr=0x2cfb096d455c7c95ff9fdba5c6e80c3c2aec883b330ad55d7915fd3720838083:39979282 next=0xd1ef6c35ee41a7d7f881ac1871c8f604bbae3af4b1b458dc6f77a202507ce13b:39979281 l2block=0xa7826193eed4ff509764df8e3627c57822e0ec15a6d320e305688695788eafa1:27742524
t=2024-07-03T09:39:27+0000 lvl=info msg="Walking back L1Block by hash" curr=0xd1ef6c35ee41a7d7f881ac1871c8f604bbae3af4b1b458dc6f77a202507ce13b:39979281 next=0x6ace791b3cc4458ab762211f16a2939030635f5e0c190bc8866d02a573d57d20:39979280 l2block=0xdd3f2027bf15d15a86d76348f316c9fe638afa090bcc7f2cb9f2a62ef647d39f:27742522
t=2024-07-03T09:39:28+0000 lvl=info msg="Walking back L1Block by hash" curr=0x6ace791b3cc4458ab762211f16a2939030635f5e0c190bc8866d02a573d57d20:39979280 next=0x235fd01b0b6d15c40fc229cd8b1002f4a06ab5dae500136552533ab739fd96e0:39979279 l2block=0x58d040dbeb3f8fffdc660ffccd78276bbaff79126ba10240c52c89317dfab6d5:27742521

Op-geth logs after Op-node done catching up:

INFO [07-03|13:42:25.176] announced transaction is underpriced     hash=0x6d0670007bfda8af7a238a382ce33d50156faeb356b18404ccee7d828478da00
INFO [07-03|13:42:25.208] announced transaction is underpriced     hash=0x56511dc71bb6bfc11d73092b56b533aa96cb93bb065fa828b1343d150801c2ec
INFO [07-03|13:42:25.233] announced transaction is underpriced     hash=0xd60a574e5712c203452c09231e63773ce451b30938ef8e2cabedc67f393b260f
INFO [07-03|13:42:25.262] announced transaction is underpriced     hash=0x571f9770334896456d0056e4770d6baae7f1cacbfd180b3317dcbba211093f56
INFO [07-03|13:42:25.267] announced transaction is underpriced     hash=0x76a7707ff72e6634bc3d11fa44298b51f1bdafcac11090570463e3ed45d5f7fb
INFO [07-03|13:42:25.268] announced transaction is underpriced     hash=0x571f9770334896456d0056e4770d6baae7f1cacbfd180b3317dcbba211093f56
INFO [07-03|13:42:25.292] announced transaction is underpriced     hash=0x76a7707ff72e6634bc3d11fa44298b51f1bdafcac11090570463e3ed45d5f7fb
INFO [07-03|13:42:25.292] loop print db stats                      database=/data/geth/chaindata comp_time=1,929,328,345,853 write_delay_count=0 write_delay_time=3,821,325,143 non_level0_comp_count=10588 level0_comp_count=1325
INFO [07-03|13:42:25.404] announced transaction is underpriced     hash=0x76a7707ff72e6634bc3d11fa44298b51f1bdafcac11090570463e3ed45d5f7fb
INFO [07-03|13:42:25.405] announced transaction is underpriced     hash=0x571f9770334896456d0056e4770d6baae7f1cacbfd180b3317dcbba211093f56
INFO [07-03|13:42:25.496] announced transaction is underpriced     hash=0x8ae34aa8c9a357b55d830e0ad824e82bb0f2566ffe3225ca0f6d823484be2a5e

Yeah, logs are taken at different time periods, but it doesn't matter IMHO
Also we tried launching op-geth with different arguments and different snapshots - and it didn't resolve the issue.

Steps to reproduce the behaviour

  1. Download and unpack snapshot archive into datadir
  2. Start op-geth with args:
    --opBNBMainnet
    --datadir=/data
    --verbosity=3
    --http
    --http.corsdomain=*
    --http.vhosts=*
    --http.addr=0.0.0.0
    --http.port=8545
    --http.api=net,eth,engine
    --ws
    --ws.addr=0.0.0.0
    --ws.port=8546
    --ws.origins=*
    --ws.api=ethengine
    --syncmode=full
    --allow-insecure-unlock
    --authrpc.addr=0.0.0.0
    --authrpc.port=8551
    --authrpc.vhosts=*
    --gcmode=full
    --metrics
    --metrics.port=6060
    --metrics.addr=0.0.0.0
    --authrpc.jwtsecret=/local/jwtsecret
  1. Start op-node with args:
    --l1.trustrpc
    --sequencer.l1-confs=15
    --verifier.l1-confs=15
    --l1.http-poll-interval=3s
    --l1.epoch-poll-interval=45s
    --l1.rpc-max-batch-size=20
    --rpc.addr=0.0.0.0
    --rpc.port=8545
    --p2p.sync.req-resp
    --p2p.listen.ip=0.0.0.0
    --p2p.listen.tcp=9003
    --p2p.listen.udp=9003
    --snapshotlog.file=./snapshot.log
    --metrics.enabled
    --metrics.addr=0.0.0.0
    --metrics.port=7300
    --pprof.enabled
    --rpc.enable-admin
    --log.level=debug
    --l2=http://127.0.0.1:8551
    --l2.jwt-secret=/local/jwtsecret
    --l1.rpckind=standard
    --network=opBNBMainnet
    --l1=http://our-l1-bsc:8545

Synchrnoization breaks with WARN Ignoring already known beacon payload & L1 Info transaction differs

System information

Network: mainnet
op-node version: v0.3.1
op-geth version: v0.3.0
OS & Version: Linux

Expected behaviour

After node is synced, it continues to follow the head

Actual behaviour

Sometimes it switches to 3-6 hours old block and re-sync again, which takes up to one hour

Steps to reproduce the behaviour

we run the node using snap sync method

This happens after some time ( 12-24 hours ) that the node issues the WARN Ignoring already known beacon payload and then according to the log below catches up in 6-3 hours ago

Backtrace

INFO [04-09|06:06:00.332] Imported new potential chain segment     number=20,889,037 hash=c2b538..9262ec blocks=1     txs=73      mgas=5.059   elapsed=101.019ms    mgasps=50.080  snapdiffs=3.34MiB    triedirty=1.66GiB
INFO [04-09|06:06:00.334] Chain head was updated                   number=20,889,037 hash=c2b538..9262ec root=d009d4..6215bd elapsed=1.108347ms
INFO [04-09|06:06:01.715] Imported new potential chain segment     number=20,889,038 hash=ba6322..01dec8 blocks=1     txs=65      mgas=4.247   elapsed=102.753ms    mgasps=41.334  snapdiffs=3.35MiB    triedirty=1.66GiB
INFO [04-09|06:06:01.721] Chain head was updated                   number=20,889,038 hash=ba6322..01dec8 root=89368f..2cd375 elapsed=2.989037ms
INFO [04-09|06:06:02.809] Imported new potential chain segment     number=20,889,039 hash=7b538b..7960e1 blocks=1     txs=58      mgas=3.481   elapsed=88.896ms     mgasps=39.156  snapdiffs=3.36MiB    triedirty=1.66GiB
INFO [04-09|06:06:02.811] Chain head was updated                   number=20,889,039 hash=7b538b..7960e1 root=e2ada6..cbe771 elapsed=1.060547ms
INFO [04-09|06:06:03.750] Imported new potential chain segment     number=20,889,040 hash=9e936e..d474cb blocks=1     txs=70      mgas=4.241   elapsed=94.359ms     mgasps=44.944  snapdiffs=3.37MiB    triedirty=1.66GiB
INFO [04-09|06:06:03.752] Chain head was updated                   number=20,889,040 hash=9e936e..d474cb root=bea9b1..b45b18 elapsed=1.12093ms
INFO [04-09|06:06:04.348] Imported new potential chain segment     number=20,889,041 hash=f73b7b..9f9f09 blocks=1     txs=68      mgas=4.274   elapsed=76.387ms     mgasps=55.948  snapdiffs=3.38MiB    triedirty=1.66GiB
INFO [04-09|06:06:04.350] Chain head was updated                   number=20,889,041 hash=f73b7b..9f9f09 root=4dde92..ae2b55 elapsed=1.264511ms
WARN [04-09|06:06:05.109] Ignoring already known beacon payload    number=20,888,677 hash=b424b9..1fcbae age=6m5s
INFO [04-09|06:06:13.181] Imported new potential chain segment     number=20,875,071 hash=233cc8..14bf6e blocks=1     txs=57      mgas=4.486   elapsed=493.257ms    mgasps=9.094   age=3h52m59s  snapdiffs=3.38MiB    triedirty=1.66GiB
INFO [04-09|06:06:13.460] Imported new potential chain segment     number=20,875,072 hash=626094..d21ec4 blocks=1     txs=75      mgas=5.670   elapsed=279.291ms    mgasps=20.302  age=3h52m58s  snapdiffs=3.38MiB    triedirty=1.66GiB
INFO [04-09|06:06:13.720] Imported new potential chain segment     number=20,875,073 hash=9579ba..8f8fbc blocks=1     txs=82      mgas=5.603   elapsed=260.161ms    mgasps=21.538  age=3h52m57s  snapdiffs=3.38MiB    triedirty=1.66GiB
INFO [04-09|06:06:13.950] Imported new potential chain segment     number=20,875,074 hash=2754fe..983773 blocks=1     txs=68      mgas=5.520   elapsed=230.028ms    mgasps=23.995  age=3h52m56s  snapdiffs=3.38MiB    triedirty=1.66GiB
INFO [04-09|06:06:14.155] Imported new potential chain segment     number=20,875,075 hash=b60dc1..38857d blocks=1     txs=69      mgas=4.340   elapsed=204.294ms    mgasps=21.244  age=3h52m56s  snapdiffs=3.38MiB    triedirty=1.66GiB
INFO [04-09|06:06:14.427] Imported new potential chain segment     number=20,875,076 hash=a14c2e..a1464c blocks=1     txs=84      mgas=6.317   elapsed=272.303ms    mgasps=23.199  age=3h52m55s  snapdiffs=3.38MiB    triedirty=1.66GiB
INFO [04-09|06:06:14.599] Imported new potential chain segment     number=20,875,077 hash=e4b6b2..82dff6 blocks=1     txs=70      mgas=4.793   elapsed=172.196ms    mgasps=27.832  age=3h52m54s  snapdiffs=3.38MiB    triedirty=1.66GiB
INFO [04-09|06:06:14.768] Imported new potential chain segment     number=20,875,078 hash=5cfaaa..af7314 blocks=1     txs=77      mgas=5.299   elapsed=168.884ms    mgasps=31.375  age=3h52m53s  snapdiffs=3.38MiB    triedirty=1.66GiB
INFO [04-09|06:06:15.014] Imported new potential chain segment     number=20,875,079 hash=07578f..b037ff blocks=1     txs=87      mgas=6.093   elapsed=245.987ms    mgasps=24.771  age=3h52m53s  snapdiffs=3.38MiB    triedirty=1.66GiB

at the same time op-node has one error ( L1 Info transaction differs ):

t=2024-04-09T06:06:05+0000 lvl=info msg="generated attributes in payload queue"  txs=38   timestamp=1,712,642,398
t=2024-04-09T06:06:05+0000 lvl=info msg="Sync progress"                          reason="reconciled with L1"                   l2_finalized=0xe1b3de5f4b940be045f81a823ce06f7448d2a93feaa745ae73eda472e1728775:20888634 l2_safe=0x22616ca237b8dcf0a31b7a79a9ea161a2e418950b32f04ae3e0e758ff7d9b6e1:20888675 l2_unsafe=0xf73b7b7cc87146476af7574af7c2c4c415d9eec6caa29abdbc1fd7eda69f9f09:20889041 l2_engineSyncTarget=0xf73b7b7cc87146476af7574af7c2c4c415d9eec6caa29abdbc1fd7eda69f9f09:20889041 l2_time=1,712,642,764 l1_derived=0x6f6584a166ac323136963f82f4d9a0fefe4983ae62ec7a114c047e32522f81c7:37701107
t=2024-04-09T06:06:05+0000 lvl=info msg="Found next batch"                       batch_timestamp=1,712,642,399 parent_hash=0x22616ca237b8dcf0a31b7a79a9ea161a2e418950b32f04ae3e0e758ff7d9b6e1 batch_epoch=0xa07bbd6a35d9805f99549943c4da3feac095dac9f21ea37ed5f0023f12fb3518:37701082 txs=54
t=2024-04-09T06:06:05+0000 lvl=info msg="generated attributes in payload queue"  txs=55   timestamp=1,712,642,399
t=2024-04-09T06:06:05+0000 lvl=info msg="Sync progress"                          reason="reconciled with L1"                   l2_finalized=0xe1b3de5f4b940be045f81a823ce06f7448d2a93feaa745ae73eda472e1728775:20888634 l2_safe=0xf9d2a9bfaa140b1241286bd2350a0bfaa7d351bf467ab2910918341c25bb752f:20888676 l2_unsafe=0xf73b7b7cc87146476af7574af7c2c4c415d9eec6caa29abdbc1fd7eda69f9f09:20889041 l2_engineSyncTarget=0xf73b7b7cc87146476af7574af7c2c4c415d9eec6caa29abdbc1fd7eda69f9f09:20889041 l2_time=1,712,642,764 l1_derived=0x6f6584a166ac323136963f82f4d9a0fefe4983ae62ec7a114c047e32522f81c7:37701107
t=2024-04-09T06:06:05+0000 lvl=info msg="Found next batch"                       batch_timestamp=1,712,642,400 parent_hash=0xf9d2a9bfaa140b1241286bd2350a0bfaa7d351bf467ab2910918341c25bb752f batch_epoch=0xa07bbd6a35d9805f99549943c4da3feac095dac9f21ea37ed5f0023f12fb3518:37701082 txs=46
t=2024-04-09T06:06:05+0000 lvl=info msg="generated attributes in payload queue"  txs=47   timestamp=1,712,642,400
t=2024-04-09T06:06:05+0000 lvl=eror msg="L1 Info transaction differs"            number=20,888,677 time=1,712,642,400 safe_l1_number=37,701,082 safe_l1_hash=0xa07bbd6a35d9805f99549943c4da3feac095dac9f21ea37ed5f0023f12fb3518 safe_l1_time=1,712,642,351 safe_seq_num=1 safe_l1_basefee=1,000,000,000 safe_batcher_add=0xa07bbd6a35d9805f99549943c4da3feac095dac9f21ea37ed5f0023f12fb3518 safe_gpo_scalar=0x00000000000000000000000000000000000000000000000000000000000a6fe0 safe_gpo_overhead=0x00000000000000000000000000000000000000000000000000000000000000bc unsafe_l1_number=37,701,082 unsafe_l1_hash=0xa07bbd6a35d9805f99549943c4da3feac095dac9f21ea37ed5f0023f12fb3518 unsafe_l1_time=1,712,642,351 unsafe_seq_num=1 unsafe_l1_basefee=3,000,000,000 unsafe_batcher_add=0xa07bbd6a35d9805f99549943c4da3feac095dac9f21ea37ed5f0023f12fb3518 unsafe_gpo_scalar=0x00000000000000000000000000000000000000000000000000000000000a6fe0 unsafe_gpo_overhead=0x00000000000000000000000000000000000000000000000000000000000000bc
t=2024-04-09T06:06:05+0000 lvl=warn msg="L2 reorg: existing unsafe block does not match derived attributes from L1" err="transaction 0 does not match. expected: 0x7ef90159a0b30bd5228b67a627e07d02439547269f704b0fb6efec4071af1203dd17e4e0a494deaddeaddeaddeaddeaddeaddeaddeaddead00019442000000000000000000000000000000000000158080830f424080b90104015d8eb900000000000000000000000000000000000000000000000000000000023f45da000000000000000000000000000000000000000000000000000000006614d92f00000000000000000000000000000000000000000000000000000000b2d05e00a07bbd6a35d9805f99549943c4da3feac095dac9f21ea37ed5f0023f12fb35180000000000000000000000000000000000000000000000000000000000000001000000000000000000000000ef8783382ef80ec23b66c43575a6103deca909c300000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000a6fe0. got: 0x7ef90159a0b30bd5228b67a627e07d02439547269f704b0fb6efec4071af1203dd17e4e0a494deaddeaddeaddeaddeaddeaddeaddeaddead00019442000000000000000000000000000000000000158080830f424080b90104015d8eb900000000000000000000000000000000000000000000000000000000023f45da000000000000000000000000000000000000000000000000000000006614d92f000000000000000000000000000000000000000000000000000000003b9aca00a07bbd6a35d9805f99549943c4da3feac095dac9f21ea37ed5f0023f12fb35180000000000000000000000000000000000000000000000000000000000000001000000000000000000000000ef8783382ef80ec23b66c43575a6103deca909c300000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000a6fe0" unsafe=0xf73b7b7cc87146476af7574af7c2c4c415d9eec6caa29abdbc1fd7eda69f9f09:20889041 safe=0xf9d2a9bfaa140b1241286bd2350a0bfaa7d351bf467ab2910918341c25bb752f:20888676
t=2024-04-09T06:06:05+0000 lvl=warn msg="engine is building block that reorgs previous unsafe head" onto=0xf9d2a9bfaa140b1241286bd2350a0bfaa7d351bf467ab2910918341c25bb752f:20888676 unsafe=0xf73b7b7cc87146476af7574af7c2c4c415d9eec6caa29abdbc1fd7eda69f9f09:20889041
t=2024-04-09T06:06:05+0000 lvl=info msg="Received signed execution payload from p2p" id=0x3b45ae15f1acae14a0937e986fa3208d2004f042af11406eeb9942081e339886:20889042 peer=16Uiu2HAm7Naptw4NgJWvLWHu3k6UYUXoKCbCZY6eK7KMCpW4PJ1H
t=2024-04-09T06:06:06+0000 lvl=info msg="Received signed execution payload from p2p" id=0xbe16f19d3efbbee380f7fb27550bb30ba0a54ea6dd02233d9cdf413d59618b85:20889043 peer=16Uiu2HAm7Naptw4NgJWvLWHu3k6UYUXoKCbCZY6eK7KMCpW4PJ1H
t=2024-04-09T06:06:07+0000 lvl=info msg="Received signed execution payload from p2p" id=0x4a6db86d890cb624cd51a37681d5e117f1fc9a0d3ba2bd5d192f45849ec0a5dc:20889044 peer=16Uiu2HAm7Naptw4NgJWvLWHu3k6UYUXoKCbCZY6eK7KMCpW4PJ1H
t=2024-04-09T06:06:08+0000 lvl=info msg="Received signed execution payload from p2p" id=0x33dc0d7ed4a55711f0a7f25867a5852e9547895d3a5f9b31b2cdec44de14ba44:20889045 peer=16Uiu2HAm65CuXyuykwMmQvParwJvJUmG9ehociAUsbuAYwDnMdCo
t=2024-04-09T06:06:09+0000 lvl=info msg="Received signed execution payload from p2p" id=0xcea151c7fd89aa9918993d6d6723599bc538ecea710001f0af918625d99bf4d3:20889046 peer=16Uiu2HAm7Naptw4NgJWvLWHu3k6UYUXoKCbCZY6eK7KMCpW4PJ1H

Will opBNB submit the transaction data to BSC?

Recently, while analyzing opBNB's technology, it is observed that opBNB submits the L2 state through the interface proposeL2Output(_outputRoot, _l2BlockNumber, _l1BlockHash, _l2BlockNumber) of the contract (contract address 0x0d61A015BAeF63f6740afF8294dAc278A494f6fA) on BSC.

However, it is not clear what interface opBNB uses to submit L2 block transaction data or which contract address is mentioned. If opBNB does not submit transaction data to BSC, it is not a standard Rollup.

Could you please provide the contract address on BSC that receives opBNB's L2 batch transaction data?

op-node VPS Running Error

System information

Network: mainnet/testnet/local

if you are running a local node, please provide the following information:
op-node version: op-node version
op-geth version: op-node -v
OS & Version: Windows/Linux/OSX

Expected behaviour

Actual behaviour

Steps to reproduce the behaviour

Backtrace

[backtrace]

When submitting logs: please submit them as text and not screenshots.

I followed the tutorial to set up a local network on L2, but it failed.

I followed the steps as follows, but it didn't work.


101-L2CrossDomainMessengerlmpl.ts
const Artifact__L1CrossDomainMessenger = await hre.companionNetworks[
    'l1'
  ].deployments.get('L1CrossDomainMessengerProxy')

102-L2StandarBridgelmpl.ts
const Artifact__L1StandardBridge = await hre.companionNetworks[
    'l1'
  ].deployments.get('L1StandardBridgeProxy')

It worked after making these modifications.


const Artifact__L1CrossDomainMessenger = await hre.companionNetworks[
    'l1'
  ].deployments.get('Proxy__OVM_L1CrossDomainMessenger')

const Artifact__L1StandardBridge = await hre.companionNetworks[
    'l1'
  ].deployments.get('Proxy__OVM_L1StandardBridge')

Is this the correct way to proceed?

op-node's `pre fetch receipts fail without error,need retry` and op-geth's `Peer's transaction rejected` logs

System information

Network: mainnet

if you are running a local node, please provide the following information:
op-node version: op-node version v0.0.0-8f623e64-1705481865
op-geth version: op-geth version 0.1.0-unstable-77340c47
OS & Version: Rocky Linux 9.2

Expected behaviour

op-node:
regular Optimistically queueing unsafe L2 execution payload/Sync progress/Received signed execution payload from p2p logs
op-geth
regular Chain head was updated/Imported new potential chain segment logs

Actual behaviour

op-node:
A lot of pre fetch receipts fail without error,need retry logs with the same block numbers:

10|opbnb-node  | t=2024-03-14T01:05:01+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xa756e46bf5e097478b212f9718b8ebf073f6a779ca4a77c2ee787aaf522e346b blockNumber=36,547,726
10|opbnb-node  | t=2024-03-14T01:05:01+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xfa4762b9b0a501a89f80cf9afb8df4d2a26419b1c3a739a7ea9ac6565a34c9de blockNumber=36,547,731
10|opbnb-node  | t=2024-03-14T01:05:01+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0x2de052cd55ba784ab6b11e60249d72d0f6608769ebd0ae3afc32e420bb6f5776 blockNumber=36,547,723
10|opbnb-node  | t=2024-03-14T01:05:01+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xaa1da3bc77bfcf57046c7b0639fa5b5f2ce90c921edd1afa3f9a19f758afdf02 blockNumber=36,547,724
10|opbnb-node  | t=2024-03-14T01:05:01+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xe34905997269807854f1814f34204b1a15ca334603721d4b9d678e0f173f9eef blockNumber=36,547,729
10|opbnb-node  | t=2024-03-14T01:05:01+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0x1f3050ef986f638e8db648c84115870ec9b2bba306d8ed890a5667fb363e0f68 blockNumber=36,547,730
10|opbnb-node  | t=2024-03-14T01:05:01+0000 lvl=dbug msg="L1 head moved forward"                  l1_head=0x23aad59936fcb01603a879772e089b435282f8390c95dd0c6accb523e7fc5406:36948154
10|opbnb-node  | t=2024-03-14T01:05:01+0000 lvl=dbug msg="ignoring step request, already scheduled re-attempt after previous failure" attempts=153
10|opbnb-node  | t=2024-03-14T01:05:01+0000 lvl=dbug msg="validated block"                        result=ACCEPT from=16Uiu2HAmTJa7xJJYpK7m7ynBe2TcSy5es7BeTn88WXydsXg4qikK
10|opbnb-node  | t=2024-03-14T01:05:01+0000 lvl=info msg="Received signed execution payload from p2p" id=0x8b1b8cee1b04b65df017847c67460095a91b132184ecc1817bd22ceb97d76877:18624578 peer=16Uiu2HAmTJa7xJJYpK7m7ynBe2TcSy5es7BeTn88WXydsXg4qikK
10|opbnb-node  | t=2024-03-14T01:05:01+0000 lvl=info msg="Optimistically queueing unsafe L2 execution payload" id=0x8b1b8cee1b04b65df017847c67460095a91b132184ecc1817bd22ceb97d76877:18624578
10|opbnb-node  | t=2024-03-14T01:05:01+0000 lvl=dbug msg="ignoring step request, already scheduled re-attempt after previous failure" attempts=153
10|opbnb-node  | t=2024-03-14T01:05:01+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xd6e14a49b604a1c59478c3488fed0a029474241b8489e238b172d48a20d4d7e6 blockNumber=36,547,722
10|opbnb-node  | t=2024-03-14T01:05:01+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0x9d653736f18a9b0d6045e2f1f4ac3fdf14576b80258fed2c44e0edda6da9a797 blockNumber=36,547,725
10|opbnb-node  | t=2024-03-14T01:05:02+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0x3cb029bb832889438772af96c82b048b785dc0a75cd5b35bbe129340e3409694 blockNumber=36,547,728
10|opbnb-node  | t=2024-03-14T01:05:02+0000 lvl=dbug msg="validated block"                        result=ACCEPT from=16Uiu2HAmPm56nzE7iPBHCV3NkFcbCH8PR7c26BeG8kwbv1ajCyiF
10|opbnb-node  | t=2024-03-14T01:05:02+0000 lvl=info msg="Received signed execution payload from p2p" id=0x6f9af6dc76ab7e864d90814adf4454adbc92ebc0d3fd5889ca33ace2df2d3184:18624579 peer=16Uiu2HAmPm56nzE7iPBHCV3NkFcbCH8PR7c26BeG8kwbv1ajCyiF
10|opbnb-node  | t=2024-03-14T01:05:02+0000 lvl=info msg="Optimistically queueing unsafe L2 execution payload" id=0x6f9af6dc76ab7e864d90814adf4454adbc92ebc0d3fd5889ca33ace2df2d3184:18624579
10|opbnb-node  | t=2024-03-14T01:05:02+0000 lvl=dbug msg="ignoring step request, already scheduled re-attempt after previous failure" attempts=153
10|opbnb-node  | t=2024-03-14T01:05:02+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xa756e46bf5e097478b212f9718b8ebf073f6a779ca4a77c2ee787aaf522e346b blockNumber=36,547,726
10|opbnb-node  | t=2024-03-14T01:05:02+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xa1eaeb37598cb27432d24bb9167946ea5439f296c8dc1a29732fa717ad482552 blockNumber=36,547,727
10|opbnb-node  | t=2024-03-14T01:05:02+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xfa4762b9b0a501a89f80cf9afb8df4d2a26419b1c3a739a7ea9ac6565a34c9de blockNumber=36,547,731
10|opbnb-node  | t=2024-03-14T01:05:02+0000 lvl=dbug msg="requesting missing unsafe L2 block range" start=0x2aecf2269ea72a5c278fc835e17b6d69bb8331775dc11076e694b3ca97daa30a:18070245 end=0x3de4315f2b57d7c9211085fce4fbd58fc8e01f62641854dbbec9456d01779bd2:18622305 size=552,060
10|opbnb-node  | t=2024-03-14T01:05:02+0000 lvl=dbug msg="ignoring request to sync L2 range, timestamp is too old for p2p" start=0x2aecf2269ea72a5c278fc835e17b6d69bb8331775dc11076e694b3ca97daa30a:18070245 end=0x3de4315f2b57d7c9211085fce4fbd58fc8e01f62641854dbbec9456d01779bd2:18622305 start_time=1,709,823,968
10|opbnb-node  | t=2024-03-14T01:05:02+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0x2de052cd55ba784ab6b11e60249d72d0f6608769ebd0ae3afc32e420bb6f5776 blockNumber=36,547,723
10|opbnb-node  | t=2024-03-14T01:05:02+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xaa1da3bc77bfcf57046c7b0639fa5b5f2ce90c921edd1afa3f9a19f758afdf02 blockNumber=36,547,724
10|opbnb-node  | t=2024-03-14T01:05:02+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xe34905997269807854f1814f34204b1a15ca334603721d4b9d678e0f173f9eef blockNumber=36,547,729
10|opbnb-node  | t=2024-03-14T01:05:02+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0x1f3050ef986f638e8db648c84115870ec9b2bba306d8ed890a5667fb363e0f68 blockNumber=36,547,730
10|opbnb-node  | t=2024-03-14T01:05:03+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xd6e14a49b604a1c59478c3488fed0a029474241b8489e238b172d48a20d4d7e6 blockNumber=36,547,722
10|opbnb-node  | t=2024-03-14T01:05:03+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0x9d653736f18a9b0d6045e2f1f4ac3fdf14576b80258fed2c44e0edda6da9a797 blockNumber=36,547,725
10|opbnb-node  | t=2024-03-14T01:05:03+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0x3cb029bb832889438772af96c82b048b785dc0a75cd5b35bbe129340e3409694 blockNumber=36,547,728
10|opbnb-node  | t=2024-03-14T01:05:03+0000 lvl=dbug msg="validated block"                        result=ACCEPT from=16Uiu2HAmGbJGCngYXM3FJ7wUydrS6tuE9kpwvmfgdNZKfmP6dJmf
10|opbnb-node  | t=2024-03-14T01:05:03+0000 lvl=info msg="Received signed execution payload from p2p" id=0xe327e8e911e4715481bf497820015c7fb6c7f83f42eaa1e2232d8dd9d648fc2b:18624580 peer=16Uiu2HAmGbJGCngYXM3FJ7wUydrS6tuE9kpwvmfgdNZKfmP6dJmf
10|opbnb-node  | t=2024-03-14T01:05:03+0000 lvl=info msg="Optimistically queueing unsafe L2 execution payload" id=0xe327e8e911e4715481bf497820015c7fb6c7f83f42eaa1e2232d8dd9d648fc2b:18624580
10|opbnb-node  | t=2024-03-14T01:05:03+0000 lvl=dbug msg="ignoring step request, already scheduled re-attempt after previous failure" attempts=153
10|opbnb-node  | t=2024-03-14T01:05:03+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xfa4762b9b0a501a89f80cf9afb8df4d2a26419b1c3a739a7ea9ac6565a34c9de blockNumber=36,547,731
10|opbnb-node  | t=2024-03-14T01:05:03+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xa756e46bf5e097478b212f9718b8ebf073f6a779ca4a77c2ee787aaf522e346b blockNumber=36,547,726
10|opbnb-node  | t=2024-03-14T01:05:03+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xa1eaeb37598cb27432d24bb9167946ea5439f296c8dc1a29732fa717ad482552 blockNumber=36,547,727
10|opbnb-node  | t=2024-03-14T01:05:03+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0x2de052cd55ba784ab6b11e60249d72d0f6608769ebd0ae3afc32e420bb6f5776 blockNumber=36,547,723
10|opbnb-node  | t=2024-03-14T01:05:03+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xaa1da3bc77bfcf57046c7b0639fa5b5f2ce90c921edd1afa3f9a19f758afdf02 blockNumber=36,547,724
10|opbnb-node  | t=2024-03-14T01:05:03+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xe34905997269807854f1814f34204b1a15ca334603721d4b9d678e0f173f9eef blockNumber=36,547,729
10|opbnb-node  | t=2024-03-14T01:05:03+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0x1f3050ef986f638e8db648c84115870ec9b2bba306d8ed890a5667fb363e0f68 blockNumber=36,547,730
10|opbnb-node  | t=2024-03-14T01:05:04+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xd6e14a49b604a1c59478c3488fed0a029474241b8489e238b172d48a20d4d7e6 blockNumber=36,547,722
10|opbnb-node  | t=2024-03-14T01:05:04+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0x9d653736f18a9b0d6045e2f1f4ac3fdf14576b80258fed2c44e0edda6da9a797 blockNumber=36,547,725
10|opbnb-node  | t=2024-03-14T01:05:04+0000 lvl=dbug msg="Revalidated node"                       p2p=discv5 b=14 id=d6594bc1d339110c5b63c6dcbd26f0d89ecdd1dcd5bd0ff9a119a9f852abf137 checks=45
10|opbnb-node  | t=2024-03-14T01:05:04+0000 lvl=dbug msg="validated block"                        result=ACCEPT from=16Uiu2HAmGbJGCngYXM3FJ7wUydrS6tuE9kpwvmfgdNZKfmP6dJmf
10|opbnb-node  | t=2024-03-14T01:05:04+0000 lvl=info msg="Received signed execution payload from p2p" id=0xa6f2855bedd2ea4a2ec7c06c95d2c407d24afefccc2474e3f9f1596fab19f7c7:18624581 peer=16Uiu2HAmGbJGCngYXM3FJ7wUydrS6tuE9kpwvmfgdNZKfmP6dJmf
10|opbnb-node  | t=2024-03-14T01:05:04+0000 lvl=info msg="Optimistically queueing unsafe L2 execution payload" id=0xa6f2855bedd2ea4a2ec7c06c95d2c407d24afefccc2474e3f9f1596fab19f7c7:18624581
10|opbnb-node  | t=2024-03-14T01:05:04+0000 lvl=dbug msg="ignoring step request, already scheduled re-attempt after previous failure" attempts=153
10|opbnb-node  | t=2024-03-14T01:05:04+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0x3cb029bb832889438772af96c82b048b785dc0a75cd5b35bbe129340e3409694 blockNumber=36,547,728
10|opbnb-node  | t=2024-03-14T01:05:04+0000 lvl=dbug msg="requesting missing unsafe L2 block range" start=0x2aecf2269ea72a5c278fc835e17b6d69bb8331775dc11076e694b3ca97daa30a:18070245 end=0x3de4315f2b57d7c9211085fce4fbd58fc8e01f62641854dbbec9456d01779bd2:18622305 size=552,060
10|opbnb-node  | t=2024-03-14T01:05:04+0000 lvl=dbug msg="ignoring request to sync L2 range, timestamp is too old for p2p" start=0x2aecf2269ea72a5c278fc835e17b6d69bb8331775dc11076e694b3ca97daa30a:18070245 end=0x3de4315f2b57d7c9211085fce4fbd58fc8e01f62641854dbbec9456d01779bd2:18622305 start_time=1,709,823,968
10|opbnb-node  | t=2024-03-14T01:05:04+0000 lvl=dbug msg="pre fetch receipts fail without error,need retry" blockHash=0xa756e46bf5e097478b212f9718b8ebf073f6a779ca4a77c2ee787aaf522e346b blockNumber=36,547,726

op-geth:
Peer's transaction rejected logs:

11|opbnb-geth  | WARN [03-14|01:02:37.886] Peer's transaction rejected              peer=2f1dcad170b9e4acf3bcb700379fb3d368b9f57d25630aadc5ab3f95be80212f txHash=0xce21b8e0633fd97b8b8de262db0e35b841f3d29106da7faafe4999b462c47d73 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:37.894] Peer's transaction rejected              peer=2f1dcad170b9e4acf3bcb700379fb3d368b9f57d25630aadc5ab3f95be80212f txHash=0x3df7f03751c5751537989e3f6ac232e4af0fa877b04dd35aacaf668688650cb1 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:37.987] Peer's transaction rejected              peer=f461626c16eca899a36d140cecde0c624fe618777e26a3a6bdb462cb90c077cb txHash=0x014b3f85ff106580ae48c34787091d3a6e42e651afe8bcda95d00e41436d03fb err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:38.039] Peer's transaction rejected              peer=f461626c16eca899a36d140cecde0c624fe618777e26a3a6bdb462cb90c077cb txHash=0xb0af5495b985fe9a13425b434b602a321c25731ae7e7c888f7bc17dd0ccf1642 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:38.174] Peer's transaction rejected              peer=d6c86efc6657cb027ab912fa53e6188a893991ef6b2ec50c43a93e79e6b0978e txHash=0xbed2b8915f1bc18e1dd1e13e2d653c24d3a42e275812a615a4fbc2205794aa6c err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:38.211] Peer's transaction rejected              peer=f461626c16eca899a36d140cecde0c624fe618777e26a3a6bdb462cb90c077cb txHash=0x0b907de9807fed411f588fb4b2d1dbf96b7b9d6a867c949a9b2db54ade8f1b38 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:38.236] Peer's transaction rejected              peer=2f1dcad170b9e4acf3bcb700379fb3d368b9f57d25630aadc5ab3f95be80212f txHash=0x04ee3b700505b62e437d3b8d2ff6cee1cdb8126ca86998057ff0b88d941260c4 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:38.511] Peer's transaction rejected              peer=b644c11efbc20377aa21fa80afa69fb84c556b51d0c4dea49e01331fd22f01ef txHash=0xd638eddbdd789b42f075a2ca2bc96de021a58b176b1e579cecf598c0aee6c349 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:38.524] Peer's transaction rejected              peer=2f1dcad170b9e4acf3bcb700379fb3d368b9f57d25630aadc5ab3f95be80212f txHash=0x014b3f85ff106580ae48c34787091d3a6e42e651afe8bcda95d00e41436d03fb err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:38.527] Peer's transaction rejected              peer=f461626c16eca899a36d140cecde0c624fe618777e26a3a6bdb462cb90c077cb txHash=0xb165622652a003b2c2ba37c21c1af5f44f8a7ca0588d94fbb58242ae788daa27 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:38.577] Peer's transaction rejected              peer=b644c11efbc20377aa21fa80afa69fb84c556b51d0c4dea49e01331fd22f01ef txHash=0xa98f3736a00659df972453a6b222c5031bade0fef7a6ea5d85daded80b492bb0 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:38.584] Peer's transaction rejected              peer=d6c86efc6657cb027ab912fa53e6188a893991ef6b2ec50c43a93e79e6b0978e txHash=0xb165622652a003b2c2ba37c21c1af5f44f8a7ca0588d94fbb58242ae788daa27 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:38.709] Peer's transaction rejected              peer=d6c86efc6657cb027ab912fa53e6188a893991ef6b2ec50c43a93e79e6b0978e txHash=0x173bbdd11ebd1620671aca4bcdabe0a910340214e48d365800e24715cd9c2309 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:38.749] Peer's transaction rejected              peer=b644c11efbc20377aa21fa80afa69fb84c556b51d0c4dea49e01331fd22f01ef txHash=0xb165622652a003b2c2ba37c21c1af5f44f8a7ca0588d94fbb58242ae788daa27 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:38.823] Peer's transaction rejected              peer=b644c11efbc20377aa21fa80afa69fb84c556b51d0c4dea49e01331fd22f01ef txHash=0x0b907de9807fed411f588fb4b2d1dbf96b7b9d6a867c949a9b2db54ade8f1b38 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:39.035] Peer's transaction rejected              peer=2f1dcad170b9e4acf3bcb700379fb3d368b9f57d25630aadc5ab3f95be80212f txHash=0xd638eddbdd789b42f075a2ca2bc96de021a58b176b1e579cecf598c0aee6c349 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:39.048] Peer's transaction rejected              peer=b644c11efbc20377aa21fa80afa69fb84c556b51d0c4dea49e01331fd22f01ef txHash=0x634a889d26c5cb1f25a5950e4617f559fed90d0f53609fcd587fd895d734895d err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:39.202] Peer's transaction rejected              peer=b644c11efbc20377aa21fa80afa69fb84c556b51d0c4dea49e01331fd22f01ef txHash=0xf76105bd281e467c8d0618269c93a1676d31f26fc365f1788b0a6871aca8aa35 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:39.613] Peer's transaction rejected              peer=b644c11efbc20377aa21fa80afa69fb84c556b51d0c4dea49e01331fd22f01ef txHash=0x480d8a94b660d492dacff20fca3031f2b5c324a1869be480cb0662da95d11c0e err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:39.776] Peer's transaction rejected              peer=2f1dcad170b9e4acf3bcb700379fb3d368b9f57d25630aadc5ab3f95be80212f txHash=0x634a889d26c5cb1f25a5950e4617f559fed90d0f53609fcd587fd895d734895d err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:39.776] Peer's transaction rejected              peer=2f1dcad170b9e4acf3bcb700379fb3d368b9f57d25630aadc5ab3f95be80212f txHash=0x859c323e9694321251c517711b71bafef4ac81395aee61767752ace35257cfc9 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:39.779] Peer's transaction rejected              peer=d6c86efc6657cb027ab912fa53e6188a893991ef6b2ec50c43a93e79e6b0978e txHash=0xf8f87710584e08ff113b54d2750abaa8ada27dae76526a07a23278042d67d5ca err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:40.046] Peer's transaction rejected              peer=2f1dcad170b9e4acf3bcb700379fb3d368b9f57d25630aadc5ab3f95be80212f txHash=0xd036255b9656e58c03569c45a09aded1c37587f3c48d5bc3877464410684b88d err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:40.317] Peer's transaction rejected              peer=b644c11efbc20377aa21fa80afa69fb84c556b51d0c4dea49e01331fd22f01ef txHash=0xf8f87710584e08ff113b54d2750abaa8ada27dae76526a07a23278042d67d5ca err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:40.318] Peer's transaction rejected              peer=b644c11efbc20377aa21fa80afa69fb84c556b51d0c4dea49e01331fd22f01ef txHash=0xeb219331efdcc9f9ab9ef8bb08a12d418ea3362405ed20f1ca32d95576b533f3 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:40.928] Peer's transaction rejected              peer=f461626c16eca899a36d140cecde0c624fe618777e26a3a6bdb462cb90c077cb txHash=0xb64f3aaa5d293d7b40921a49c36afc428e4db27f5456f56f3327d0fb301a49ee err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:40.976] Peer's transaction rejected              peer=f461626c16eca899a36d140cecde0c624fe618777e26a3a6bdb462cb90c077cb txHash=0xcb9519a5bd5547ac8e709536d9e66bcc2a560fac090d4884cdd137ebaa968651 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:41.095] Peer's transaction rejected              peer=f461626c16eca899a36d140cecde0c624fe618777e26a3a6bdb462cb90c077cb txHash=0xe1d5fe933d6c311c926cf45c83c18db62eed831dad6363dec2fe2b1e8054bf69 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:41.263] Peer's transaction rejected              peer=d6c86efc6657cb027ab912fa53e6188a893991ef6b2ec50c43a93e79e6b0978e txHash=0x5e3ab3d75d596efce0922135e6688ac57033a3a69105071e0faf6a30cc67c3a4 err="insufficient funds for gas * price + value"
11|opbnb-geth  | WARN [03-14|01:02:41.280] Peer's transaction rejected              peer=2f1dcad170b9e4acf3bcb700379fb3d368b9f57d25630aadc5ab3f95be80212f txHash=0x5a4bd10bdcf11384ea88b9649dd7f93c1b821db91c4ca0e5480358acd0b834e9 err="insufficient funds for gas * price + value"

Steps to reproduce the behaviour

start-op-node.sh:

#! /usr/bin/bash

set -ex

cd op-node-data

export L2_RPC=http://localhost:8551


export P2P_PRIV_KEY=0378380d7efc3d813810866286261a3f96b286508c53dc42de4e9d5f368597fb

export L1_RPC=https://bsc-dataseed.bnbchain.org
export P2P_BOOTNODES="enr:-J24QGQBeMsXOaCCaLWtNFSfb2Gv50DjGOKToH2HUTAIn9yXImowlRoMDNuPNhSBZNQGCCE8eAl5O3dsONuuQp5Qix2GAYjB7KHSgmlkgnY0gmlwhDREiqaHb3BzdGFja4PrKwCJc2VjcDI1NmsxoQL4I9wpEVDcUb8bLWu6V8iPoN5w8E8q-GrS5WUCygYUQ4N0Y3CCIyuDdWRwgiMr,enr:-J24QJ>
# --p2p.bootnodes=$P2P_BOOTNODES \

./op-node \
  --l1.trustrpc \
  --sequencer.l1-confs=15 \
  --verifier.l1-confs=15 \
  --l1.http-poll-interval 3s \
  --l1.epoch-poll-interval 45s \
  --l1.rpc-max-batch-size 20 \
  --network=opBNBMainnet \
  --rpc.addr=0.0.0.0 \
  --rpc.port=8546 \
  --p2p.sync.req-resp \
  --p2p.listen.ip=0.0.0.0 \
  --p2p.listen.tcp=9003 \
  --p2p.listen.udp=9003 \
  --snapshotlog.file=./snapshot.log \
  --metrics.enabled \
  --metrics.addr=0.0.0.0 \
  --metrics.port=7300 \
  --pprof.enabled \
  --rpc.enable-admin \
  --l1=${L1_RPC} \
  --l2=${L2_RPC} \
  --l2.jwt-secret=./jwt.txt \
  --l2.engine-sync=true \
  --l2.skip-sync-start-check=true \
  --log.level=debug

start-op-geth.sh:

#! /usr/bin/bash
cd op-geth-data

export CHAIN_ID=204
export L2_RPC=https://opbnb-mainnet-rpc.bnbchain.org
export P2P_BOOTNODES="enr:-KO4QKFOBDW--pF4pFwv3Al_jiLOITj_Y5mr1Ajyy2yxHpFtNcBfkZEkvWUxAKXQjWALZEFxYHooU88JClyzA00e8YeGAYtBOOZig2V0aMfGhE0ZYGqAgmlkgnY0gmlwhDREiqaJc2VjcDI1NmsxoQM8pC_6wwTr5N2Q-yXQ1KGKsgz9i9EPLk8Ata65pUyYG4RzbmFwwIN0Y3CCdl-DdWRwgnZf,en>
#  --bootnodes=$P2P_BOOTNODES

./op-geth \
  --datadir="./datadir" \
  --verbosity=3 \
  --http \
  --http.corsdomain="*" \
  --http.vhosts="*" \
  --http.addr=0.0.0.0 \
  --http.port=8545 \
  --http.api=net,eth,engine \
  --ws \
  --ws.addr=0.0.0.0 \
  --ws.port=8545 \
  --ws.origins="*" \
  --ws.api=eth,engine \
  --syncmode=full \
  --maxpeers=10 \
  --networkid=$CHAIN_ID \
  --miner.gaslimit=150000000 \
  --triesInMemory=32 \
  --txpool.globalslots=10000 \
  --txpool.globalqueue=5000 \
  --txpool.accountqueue=200 \
  --txpool.accountslots=200 \
  --cache 32000 \
  --cache.preimages \
  --allow-insecure-unlock \
  --authrpc.addr="0.0.0.0" \
  --authrpc.port="8551" \
  --authrpc.vhosts="*" \
  --authrpc.jwtsecret=./jwt.txt \
  --gcmode=archive \
  --metrics \
  --metrics.port 6060 \
  --metrics.addr 0.0.0.0 \
  --rollup.sequencerhttp=$L2_RPC

high cpu usage and iowait when idle

I'm using 2 server grade nvme in raid0 at 30% capcity running op-bnb/geth and op-bnb/node seeing 3% iowait and constant read access when runniung the archive node from the snapshot.

comparing that with optimism rollups of the same datadir size that's concerning as other rollups using hash state scheme and leveldb as backend are basically idle on the disk. I'm running the latest release 0.3.0 from last week.

I doubt that I can just switch out op-bnb for op-geth due to tuned block gas parameters.

Mouhand

Rationale

Why should this feature exist?
What are the use-cases?

Implementation

Do you have ideas regarding the implementation of this feature?
Are you willing to implement this feature?

Node cannot catch up

System information

Network: mainnet

op-node version: ghcr.io/bnb-chain/op-node:0.2.2
OS & Version: Linux

Since December 7th, our node cannot catch up

Here are our startup commands:
command: >
op-node
--l1.trustrpc
--sequencer.l1-confs=15
--verifier.l1-confs=0
--l1.http-poll-interval=3s
--l1.epoch-poll-interval=45s
--l1.rpc-max-batch-size=20
--rollup.config=/rollup.json
--rpc.addr=0.0.0.0
--rpc.port=8546
--p2p.sync.req-resp
--p2p.listen.ip=0.0.0.0
--p2p.listen.tcp=9003
--p2p.listen.udp=9003
--snapshotlog.file=./snapshot.log
--p2p.priv.raw=
--l1={private node}
--l2=http://l2:8551/
--l2.jwt-secret=/config/jwt-secret.txt
--rpc.enable-admin
--rpc.addr=0.0.0.0
--rpc.port=8545

This is log:

t=2023-12-07T16:38:33+0000 lvl=warn msg="L1 head signal indicates a possible L1 re-org" old_l1_head=0x16ad12d7437bdc3c4d22d8e9bfb822eb11406b110c99367e5d40343fcf78952b:34150796 new_l1_head_parent=0x088a1ae5dd978c9cc8ee0bdf12995caaebff4cdb8576ab305491d2b01ea7a58b new_l1_head=0xfaf427fac3297dd248b86525c76188c95b30ab30bf341075a76c33c7adb4aea7:34150798
t=2023-12-07T16:38:33+0000 lvl=info msg="New L1 finalized block" l1_finalized=0x1347b16a9513b2d85e89c03aac26b1199c3984d92784c1cc30bf21682e3d76ef:34150822
t=2023-12-07T16:38:33+0000 lvl=info msg="received L1 finality signal, but missing data for immediate L2 finalization" prev_finalized_l1=0x1347b16a9513b2d85e89c03aac26b1199c3984d92784c1cc30bf21682e3d76ef:34150822 signaled_finalized_l1=0x1347b16a9513b2d85e89c03aac26b1199c3984d92784c1cc30bf21682e3d76ef:34150822
t=2023-12-07T16:38:33+0000 lvl=info msg="Advancing bq origin" origin=0x9d43e508d51fd31fc92307d66b783cb913dde5e55cbebae320caf6fd8a3c913c:34131415 originBehind=true
t=2023-12-07T16:38:41+0000 lvl=info msg="Advancing bq origin" origin=0xe2def21265b09fd38d744ec3e317140ddeaf0028e047a8e8033511686877b089:34131416 originBehind=true
t=2023-12-07T16:38:43+0000 lvl=warn msg="failed to notify engine driver of L1 head change" err="context deadline exceeded"
t=2023-12-07T16:38:50+0000 lvl=info msg="Advancing bq origin" origin=0xdaee59dc1d604d3c2a9e0d630f866f339ec09395b268ffa622384083d7797c1e:34131417 originBehind=true
t=2023-12-07T16:38:53+0000 lvl=warn msg="failed to notify engine driver of L1 head change" err="context deadline exceeded"
t=2023-12-07T16:39:03+0000 lvl=warn msg="failed to notify engine driver of L1 head change" err="context deadline exceeded"
t=2023-12-07T16:39:05+0000 lvl=info msg="New L1 safe block" l1_safe=0xe8ae4a5ad1abbd538893b96f30f4952f5c282e64ea85ca225f681d1b4b1cb316:34150830
t=2023-12-07T16:39:05+0000 lvl=info msg="Advancing bq origin" origin=0xdc5cf7d5f1cb993706dfbaf207da9b9a6c9210b2822c8f358b442eb9d7dda974:34131418 originBehind=true
t=2023-12-07T16:39:12+0000 lvl=info msg="New L1 finalized block" l1_finalized=0xe8ae4a5ad1abbd538893b96f30f4952f5c282e64ea85ca225f681d1b4b1cb316:34150830
t=2023-12-07T16:39:12+0000 lvl=info msg="received L1 finality signal, but missing data for immediate L2 finalization" prev_finalized_l1=0xe8ae4a5ad1abbd538893b96f30f4952f5c282e64ea85ca225f681d1b4b1cb316:34150830 signaled_finalized_l1=0xe8ae4a5ad1abbd538893b96f30f4952f5c282e64ea85ca225f681d1b4b1cb316:34150830
t=2023-12-07T16:39:12+0000 lvl=info msg="Advancing bq origin" origin=0xe89e4e2621d583023528cc9af3624f42b310850eef8aa2c78fad50ae81803be9:34131419 originBehind=true
t=2023-12-07T16:39:12+0000 lvl=info msg="Reading channel" channel=53bf067a06c701ca09a13d44b8526d36 frames=2
t=2023-12-07T16:39:12+0000 lvl=warn msg="L1 head signal indicates a possible L1 re-org" old_l1_head=0x9ee29df21e0c6e5bb2536e0ff8073c33e94838a05a23a39a25c8fd8831b04ffa:34150805 new_l1_head_parent=0xdd2b7e00b7b06c686d7e84a90de544dde6c2a4c6790879292b4032a5ff20e935 new_l1_head=0x6004023a6fd5841f936e910a8cbcd9657ccedd310f4a21c4c8b3e07438b8d4dd:34150811
t=2023-12-07T16:39:12+0000 lvl=warn msg="L1 head signal indicates a possible L1 re-org" old_l1_head=0x3ff6c05de5d2f7e752cc81817b8c90542c57a6ece914b89f90d9fdff7ac8ec9b:34150814 new_l1_head_parent=0x464202f4fd6480760689e18fc0a31ad9961e488511cab23476f7450e2297f3d0 new_l1_head=0xd579499c2ff4ec9cbfdb08c5d9d2ec4eb5e18192673e59db729b5c253c2e444c:34150818
t=2023-12-07T16:39:12+0000 lvl=warn msg="L1 head signal indicates a possible L1 re-org" old_l1_head=0xe738092f7e318d2d665d6c88ac6ce94557066f2d319bc857872adfcbee510ba4:34150829 new_l1_head_parent=0xe8ae4a5ad1abbd538893b96f30f4952f5c282e64ea85ca225f681d1b4b1cb316 new_l1_head=0xf032ba24400eb57e7a2fc686a2f519203bde43c13d4e053a182e116abe0d0637:34150831
t=2023-12-07T16:39:12+0000 lvl=warn msg="L1 head signal indicates a possible L1 re-org" old_l1_head=0xf032ba24400eb57e7a2fc686a2f519203bde43c13d4e053a182e116abe0d0637:34150831 new_l1_head_parent=0x8b14e56f63742dcf1e8ff3cb2f13287779175df68d64804e33f4be43922c96d3 new_l1_head=0x2500ab1a29abe6b14251aac497a78423a891ff9def0604673e16e5b0fa7332dc:34150834
t=2023-12-07T16:39:17+0000 lvl=info msg="Advancing bq origin" origin=0xfc106be75512417d8d2dd997aa2cd38a2d2b132b4fcb62b69faef9c38d4d14f7:34131420 originBehind=true
t=2023-12-07T16:39:23+0000 lvl=info msg="Advancing bq origin" origin=0x7e4627e8cc25d143f6d21c080f7d1a98f146581d8c8b70978480b5bef13609c0:34131421 originBehind=true
t=2023-12-07T16:39:28+0000 lvl=info msg="New L1 finalized block" l1_finalized=0x31123f2e659a685465cd682bef97c81141489e7eb4bb7b8cd27e3496834ee581:34150838
t=2023-12-07T16:39:28+0000 lvl=info msg="received L1 finality signal, but missing data for immediate L2 finalization" prev_finalized_l1=0x31123f2e659a685465cd682bef97c81141489e7eb4bb7b8cd27e3496834ee581:34150838 signaled_finalized_l1=0x31123f2e659a685465cd682bef97c81141489e7eb4bb7b8cd27e3496834ee581:34150838
t=2023-12-07T16:39:28+0000 lvl=warn msg="L1 head signal indicates a possible L1 re-org" old_l1_head=0x2500ab1a29abe6b14251aac497a78423a891ff9def0604673e16e5b0fa7332dc:34150834 new_l1_head_parent=0x26a6885c0070230cb6752f141d6b1b10137536fbfe703c590eb5bacb2b2fdee4 new_l1_head=0x31123f2e659a685465cd682bef97c81141489e7eb4bb7b8cd27e3496834ee581:34150838
t=2023-12-07T16:39:28+0000 lvl=info msg="New L1 safe block" l1_safe=0x31123f2e659a685465cd682bef97c81141489e7eb4bb7b8cd27e3496834ee581:34150838
t=2023-12-07T16:39:28+0000 lvl=info msg="Advancing bq origin" origin=0x6a72821ffb5730744b8e9dca2e0968634c33a8dc3cc67fe4bd2a5738a94283d7:34131422 originBehind=true
t=2023-12-07T16:39:35+0000 lvl=info msg="Advancing bq origin" origin=0x9b1a3d81119bede115a2f39ee1ba2646ed18805055c6be14f4955cf83420125e:34131423 originBehind=true
t=2023-12-07T16:39:43+0000 lvl=info msg="Advancing bq origin" origin=0xf1325acf5749fbdbfe83cca8169580b8734a51390c7a27501f1387c496382ec5:34131424 originBehind=true
t=2023-12-07T16:40:06+0000 lvl=warn msg="failed to notify engine driver of L1 head change" err="context deadline exceeded"

verifying contract through foundry fails

example of foundry.toml

I reference this documentation (https://docs.bnbchain.org/opbnb-docs/docs/tutorials/opbnbscan-verify-hardhat-truffle) and try to verify contract through foundry:

[etherscan]
opBNB = { key = "${ETHERSCAN_API_KEY}", chain=5611, url="https://open-platform.nodereal.io/${NODEREAL_KEY}/op-bnb-testnet/contract/" }

Message

Error: 
expected value at line 1 column 1

The contract is pushed and deployed on the network however it is not verified on the opBNBscan

CLI:
forge create

depositERC20 infinite standby state

I built a local private network based on the tutorial below.
https://docs.bnbchain.org/opbnb-docs/docs/tutorials/running-a-local-development-environment
After that, erc20 deposit was performed, but it was stuck in infinite wait.
Below is the code I wrote and the terminal result window.

**depositERC20 : **

const depositERC20 = async () => {
console.log("Deposit ERC20")
const start = new Date()
console.log(erc20Addrs L1:${erc20Addrs.l1Addr} erc20Addrs L2:${erc20Addrs.l2Addr})
// Need the l2 address to know which bridge is responsible
const allowanceResponse = await crossChainMessenger.approveERC20(
erc20Addrs.l1Addr,
erc20Addrs.l2Addr,
centieth
);
await allowanceResponse.wait()
console.log(Allowance given by tx ${allowanceResponse.hash})
console.log(\tMore info: https://goerli.etherscan.io/tx/${allowanceResponse.hash})
console.log(Time so far ${(new Date() - start) / 1000} seconds)

const response = await crossChainMessenger.depositERC20(
erc20Addrs.l1Addr, erc20Addrs.l2Addr, centieth)
console.log(Deposit transaction hash (on L1): ${response.hash})
console.log(\tMore info: https://goerli.etherscan.io/tx/${response.hash})
await response.wait()
console.log("Waiting for status to change to RELAYED")
console.log(Time so far ${(new Date() - start) / 1000} seconds)
await crossChainMessenger.waitForMessageStatus(response.hash,
optimismSDK.MessageStatus.RELAYED)

await reportERC20Balances()
console.log(depositERC20 took ${(new Date() - start) / 1000} seconds\n\n)
}

**terminal result : **

OUTb on L1:1234 OUTb on L2:
Deposit ERC20
erc20Addrs L1:0x5653E7f599eF8937a7295D727D57a3479F3eaC16 erc20Addrs L2:0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82
Allowance given by tx 0x98a74de56296781156edb9351de8179d987e63c284abe61c649bc91447cfd3ab
More info: https://goerli.etherscan.io/tx/0x98a74de56296781156edb9351de8179d987e63c284abe61c649bc91447cfd3ab
Time so far 4.381 seconds
Deposit transaction hash (on L1): 0xc3d399cc9bbbe716df5f071af41a5ca27dba399e9ef855b47e35aee060cebed9
More info: https://goerli.etherscan.io/tx/0xc3d399cc9bbbe716df5f071af41a5ca27dba399e9ef855b47e35aee060cebed9
Waiting for status to change to RELAYED
Time so far 8.836 seconds

The hash seems to be calculated incorrectly in the code below.
In this part of the code, the normal hash value cannot be calculated, so an infinite wait state is in progress.

fileName :

  • cross-chain-messenger.js

Code :

  • async getMessageReceipt(message) {
    const resolved = await this.toCrossChainMessage(message);
    const messageHash = (0, core_utils_1.hashCrossDomainMessage)(resolved.messageNonce, resolved.sender, resolved.target, resolved.value, resolved.minGasLimit, resolved.message);

resolved Content :

  • {
    direction: 0,
    target: "0x4200000000000000000000000000000000000010",
    sender: "0xA343B1FC2897b8C49A72A9A0B2675cB9c7664e8c",
    message: "0x0166a07a0000000000000000000000000dcd1bf9a1b36ce34237eeafef220932846bcd820000000000000000000000005653e7f599ef8937a7295d727d57a3479f3eac160000000000000000000000000549823b9f738aea5cda099f985c564c20857f470000000000000000000000000549823b9f738aea5cda099f985c564c20857f470000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000",
    messageNonce: {
    _hex: "0x01000000000000000000000000000000000000000000000000000000000002",
    _isBigNumber: true,
    },
    value: {
    _hex: "0x00",
    _isBigNumber: true,
    },
    minGasLimit: {
    _hex: "0x030d40",
    _isBigNumber: true,
    },
    logIndex: 5,
    blockNumber: 291411,
    transactionHash: "0xf257791347e5dd81c381a815c5ee1d12157b7d04845688d2fb964f3343f5f878",
    }

messageHash :

  • "0x0619201d383436cefdcac9150af7f385c749cb69d5e0e1d4e556cff253144f01"

eth :

  • eth.getTransaction("0x0619201d383436cefdcac9150af7f385c749cb69d5e0e1d4e556cff253144f01")
  • null

node is not syncing after restart, op-node checks blocks down to genesis

System information

Network: mainnet

if you are running a local node, please provide the following information:
op-node version: v0.0.0-5e5fe2c0-1701428699
op-geth version: 0.1.0-unstable-8b9d5f9f
OS & Version:Linux
Running the node using compose file from this repo - https://github.com/bnb-chain/opbnb-node-docker
Most of the time when I restart my setup I end up with a broken node - the sync is not going further and the op-node tries to check the blocks from the latest down to genesis:

op-node logs
errexit         on
noglob          off
ignoreeof       off
monitor         off
noexec          off
xtrace          off
verbose         off
noclobber       off
allexport       off
notify          off
nounset         off
errtrace        off
vi              off
pipefail        off
OK: 8 MiB in 17 packages
t=2024-01-16T21:14:21+0000 lvl=info msg="Initializing Rollup Node"
t=2024-01-16T21:14:21+0000 lvl=warn msg="Unknown env var"          prefix=OP_NODE env_var="OP_NODE_IMAGE_TAG=latest"
t=2024-01-16T21:14:21+0000 lvl=warn msg="Unknown env var"          prefix=OP_NODE env_var="OP_NODE__RPC_ENDPOINT=myrpc"
errexit         on
noglob          off
ignoreeof       off
monitor         off
noexec          off
xtrace          off
verbose         off
noclobber       off
allexport       off
notify          off
nounset         off
errtrace        off
vi              off
pipefail        off
OK: 8 MiB in 17 packages
t=2024-01-16T21:14:38+0000 lvl=info msg="Initializing Rollup Node"
t=2024-01-16T21:14:38+0000 lvl=warn msg="Unknown env var"          prefix=OP_NODE env_var="OP_NODE_IMAGE_TAG=latest"
t=2024-01-16T21:14:38+0000 lvl=warn msg="Unknown env var"          prefix=OP_NODE env_var="OP_NODE__RPC_ENDPOINT=myrpc"
t=2024-01-16T21:14:38+0000 lvl=info msg="Key manager "             keyType=OP_NODE_P2P_SEQUENCER_KEY
t=2024-01-16T21:14:38+0000 lvl=info msg="Key manager is skipped"
t=2024-01-16T21:14:40+0000 lvl=info msg="Rollup Config"            l2_chain_id=204 l2_network=opBNBMainnet l1_chain_id=56 l1_network="unknown L1" l2_start_time=1,691,753,723 l2_block_hash=0x4dd61178c8b0f01670c231597e7bcb368e84545acd46d940a896d6a791dd6df4 l2_block_number=0 l1_block_hash=0x29443b21507894febe7700f7c5cd3569cc8bf1ba535df0489276d8004af81044 l1_block_number=30,758,357 regolith_time="@ genesis" Fermat=9,397,477
t=2024-01-16T21:14:40+0000 lvl=info msg="loaded new runtime config values!" p2p_seq_address=0x92c545a17D14DdE2b46f871f7ED334062a4250bB
t=2024-01-16T21:14:41+0000 lvl=info msg="Peer scoring disabled"
t=2024-01-16T21:14:41+0000 lvl=info msg="started p2p host"                  addrs="[/ip4/172.29.0.3/tcp/9003 /ip4/127.0.0.1/tcp/9003]" peerID=16Uiu2HAm3NCHU4Buech8nPRr1SVDLg7yKfdLaL9HYQqvBGFQZbod
t=2024-01-16T21:14:41+0000 lvl=info msg="New local node record"             seq=1,705,438,918,648 id=2cf722d0d7054ad1f17e3d4853fb42910a6fd11aaa8ee16b9ec1ae584b5de4d3 ip=<nil> udp=9003 tcp=9003
t=2024-01-16T21:14:41+0000 lvl=info msg="started discovery service"         p2p=discv5 enr=enr:-JW4QLWmV30Utuxx5kSbczDudbKEQnlFuN156ufNyHZiQQ9mMdGdW91nVjAkE7P4IwX-7MdQNJ-jKF4L1w-1CC5nFM2GAY0UFLf4gmlkgnY0h29wc3RhY2uDzAEAiXNlY3AyNTZrMaECdflwFa0GVC6_IqYRgkvcaUoi2uXleujJjrnvJXQOeUiDdGNwgiMrg3VkcIIjKw id=2cf722d0d7054ad1f17e3d4853fb42910a6fd11aaa8ee16b9ec1ae584b5de4d3
t=2024-01-16T21:14:41+0000 lvl=info msg="Admin RPC enabled"
t=2024-01-16T21:14:41+0000 lvl=info msg="Starting JSON-RPC server"
t=2024-01-16T21:14:41+0000 lvl=info msg="starting metrics server"           addr=0.0.0.0 port=7300
t=2024-01-16T21:14:41+0000 lvl=info msg="Starting rollup node"              version=v0.0.0-5e5fe2c0-1701428699
t=2024-01-16T21:14:41+0000 lvl=info msg="Starting execution engine driver"
t=2024-01-16T21:14:41+0000 lvl=info msg="Starting driver"                   sequencerEnabled=false sequencerStopped=false
t=2024-01-16T21:14:41+0000 lvl=info msg="Rollup node started"
t=2024-01-16T21:14:41+0000 lvl=info msg="State loop started"
t=2024-01-16T21:14:41+0000 lvl=info msg="pprof server started"              addr=0.0.0.0:6060
t=2024-01-16T21:14:41+0000 lvl=info msg="Loaded current L2 heads"           unsafe=0x79691fbc6711b4d16c9a8706ca47d8661ebf53badd801db715cf6edf748df4b4:13682398 safe=0x4dd61178c8b0f01670c231597e7bcb368e84545acd46d940a896d6a791dd6df4:0 finalized=0x4dd61178c8b0f01670c231597e7bcb368e84545acd46d940a896d6a791dd6df4:0 unsafe_origin=0x795a01f693216ea1e9e2d7933db86f7080467d7000004646c9a55acc7283632c:35304110 safe_origin=0x29443b21507894febe7700f7c5cd3569cc8bf1ba535df0489276d8004af81044:30758357
t=2024-01-16T21:14:41+0000 lvl=info msg="Walking back L1Block by number"    curr=0x795a01f693216ea1e9e2d7933db86f7080467d7000004646c9a55acc7283632c:35304110 next=0x795a01f693216ea1e9e2d7933db86f7080467d7000004646c9a55acc7283632c:35304110 l2block=0x79691fbc6711b4d16c9a8706ca47d8661ebf53badd801db715cf6edf748df4b4:13682398
t=2024-01-16T21:14:41+0000 lvl=info msg="Walking back L1Block by hash"      curr=0x795a01f693216ea1e9e2d7933db86f7080467d7000004646c9a55acc7283632c:35304110 next=0xc446020af014678459aa9d2cd83e4b4bcf6a2c551b91e4df3503b647f26013fa:35304109 l2block=0x286520c5a644b7bd149eaba4d5e281764af4e99889bf9ad801add62ba0c1324b:13682395

This time the same thing happened, I just tried to change the --l1.rpckind=erigon, but lost my node and should sync from scratch.

Expected behaviour

The node continues to sync after restart

Actual behaviour

Node is not syncing

Steps to reproduce the behaviour

Try to restart the node a few times

How can I safely restart the node in order to not end up with Walking back L1Block by number/Walking back L1Block by hash

Receipt 0 has unexpected block

op-geth(opbnb) version:

Git Commit: 5804510047588ce5df734f3088c7758a10dafdca
Git Commit Date: 20230815
Upstream Version: 1.11.5-stable
Architecture: amd64
Go Version: go1.19.12
Operating System: linux
GOPATH=
GOROOT=

op-node version: 0.1.2
Erigon as L1: 1.1.9 archive synced node

op-geth:

INFO [09-01|13:10:17.866] IPC endpoint opened                      url=/home/blockchain/op-bnb-testnet/op-geth/datadir/geth.ipc
INFO [09-01|13:10:17.869] Loaded JWT secret file                   path=jwt.txt crc32=0x74412826
INFO [09-01|13:10:17.871] WebSocket enabled                        url=ws://[::]:38545
INFO [09-01|13:10:17.871] HTTP server started                      endpoint=[::]:38545 auth=false prefix= cors=* vhosts=*
INFO [09-01|13:10:17.871] WebSocket enabled                        url=ws://[::]:8551
INFO [09-01|13:10:17.871] HTTP server started                      endpoint=[::]:8551  auth=true  prefix= cors=localhost vhosts=*
INFO [09-01|13:10:17.966] Generated state snapshot                 accounts=2321 slots=2079 storage=391.32KiB dangling=0 elapsed=118.217ms
INFO [09-01|13:10:18.103] Start ok                                 id=0x4842309557c8b50209fce41fadb4cb44
INFO [09-01|13:10:19.575] New local node record                    seq=1,693,573,817,859 id=a4cb6d7d4cc09a5a                   ip=162.19.170.87 udp=30394 tcp=30394
INFO [09-01|13:10:33.383] Looking for peers                        peercount=0 tried=30 static=0
INFO [09-01|13:10:45.336] Looking for peers                        peercount=1 tried=111 static=0
INFO [09-01|13:11:06.019] Looking for peers                        peercount=0 tried=13  static=0
INFO [09-01|13:11:21.027] Looking for peers                        peercount=0 tried=21  static=0
INFO [09-01|13:11:31.161] Looking for peers                        peercount=1 tried=50  static=0
INFO [09-01|13:11:41.700] Looking for peers                        peercount=0 tried=72  static=0
INFO [09-01|13:11:53.213] Looking for peers                        peercount=0 tried=6   static=0
INFO [09-01|13:12:03.217] Looking for peers                        peercount=0 tried=35  static=0
INFO [09-01|13:12:13.514] Looking for peers                        peercount=0 tried=56  static=0
INFO [09-01|13:12:24.608] Looking for peers                        peercount=0 tried=31  static=0
INFO [09-01|13:12:34.794] Looking for peers                        peercount=0 tried=8   static=0
INFO [09-01|13:12:45.035] Looking for peers                        peercount=0 tried=11  static=0
INFO [09-01|13:12:55.407] Looking for peers                        peercount=0 tried=3   static=0
INFO [09-01|13:13:05.429] Looking for peers                        peercount=0 tried=13  static=0
INFO [09-01|13:13:15.831] Looking for peers                        peercount=0 tried=31  static=0

op-node log :

  GNU nano 6.2                                                                                                                                                                                                                                    err.log                                                                                                                                                                                                                                              
t=2023-09-01T13:10:47+0000 lvl=info msg="Initializing Rollup Node"
t=2023-09-01T13:10:47+0000 lvl=info msg="Rollup Config"            l2_chain_id=5611 l2_network="unknown L2" l1_chain_id=97 l1_network="unknown L1" l2_start_time=1,686,878,506 l2_block_hash=0x51fa57729dfb1c27542c21b06cb72a0459c57440ceb43a465dae1307cd04fe80 l2_block_number=0 l1_block_hash=0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7 l1_block_number=30,727,847 regolith_time="@ genesis"
t=2023-09-01T13:10:47+0000 lvl=info msg="loaded new runtime config values!" p2p_seq_address=0x23264E1F3C04efBe84108E666a187D240DDAfcED
t=2023-09-01T13:10:47+0000 lvl=info msg="Peer scoring disabled"
t=2023-09-01T13:10:47+0000 lvl=info msg="started p2p host"                  addrs="[/ip4/162.19.170.87/tcp/9003 /ip4/127.0.0.1/tcp/9003]" peerID=16Uiu2HAmGtC8o3B5nGycPq9msfK7EvLj8Hb3pN5xAAa6YLvy2BEG
t=2023-09-01T13:10:47+0000 lvl=info msg="New local node record"             seq=1,693,573,847,503 id=28fffb0f43c1534d026ac039f1197e3f5aa5cac7a3c66a15e3fc940a850ec137 ip=<nil> udp=9003 tcp=9003
t=2023-09-01T13:10:47+0000 lvl=info msg="started discovery service"         p2p=discv5 enr=enr:-JW4QEPRn4g5iY0BpzEA75MBrLNPCnGRQI79G-0aE9gIueWreUvWI4PkOIgR4N1HtfQUBsit24lriOUqPXECjvN6tE6GAYpQ3hnPgmlkgnY0h29wc3RhY2uD6ysAiXNlY3AyNTZrMaEDPtCfgaS2v9YlQzW950vrGij90-snQGC5Z28Y-IuwrXGDdGNwgiMrg3VkcIIjKw id=28fffb0f43c1534d026ac039f1197e3f5aa5cac7a3c66a15e3fc940a850ec137
t=2023-09-01T13:10:47+0000 lvl=info msg="Admin RPC enabled"
t=2023-09-01T13:10:47+0000 lvl=info msg="Starting JSON-RPC server"
t=2023-09-01T13:10:47+0000 lvl=info msg="starting metrics server"           addr=0.0.0.0 port=7300
t=2023-09-01T13:10:47+0000 lvl=info msg="Starting rollup node"              version=v0.0.0-7dd2c97b-1691118836
t=2023-09-01T13:10:47+0000 lvl=info msg="Starting execution engine driver"
t=2023-09-01T13:10:47+0000 lvl=info msg="Rollup node started"
t=2023-09-01T13:10:47+0000 lvl=info msg="State loop started"
t=2023-09-01T13:10:47+0000 lvl=info msg="pprof server started"              addr=0.0.0.0:6060
t=2023-09-01T13:10:47+0000 lvl=eror msg="error starting pprof"              err="http server failed: listen tcp 0.0.0.0:6060: bind: address already in use"
t=2023-09-01T13:10:47+0000 lvl=info msg="Loaded current L2 heads"           unsafe=0x51fa57729dfb1c27542c21b06cb72a0459c57440ceb43a465dae1307cd04fe80:0 safe=0x51fa57729dfb1c27542c21b06cb72a0459c57440ceb43a465dae1307cd04fe80:0 finalized=0x51fa57729dfb1c27542c21b06cb72a0459c57440ceb43a465dae1307cd04fe80:0 unsafe_origin=0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847 safe_origin=0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847
t=2023-09-01T13:10:47+0000 lvl=info msg="Walking back L1Block by number"    curr=0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847 next=0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847 l2block=0x51fa57729dfb1c27542c21b06cb72a0459c57440ceb43a465dae1307cd04fe80:0
t=2023-09-01T13:10:47+0000 lvl=info msg="Hit finalized L2 head, returning immediately" unsafe=0x51fa57729dfb1c27542c21b06cb72a0459c57440ceb43a465dae1307cd04fe80:0 safe=0x51fa57729dfb1c27542c21b06cb72a0459c57440ceb43a465dae1307cd04fe80:0 finalized=0x51fa57729dfb1c27542c21b06cb72a0459c57440ceb43a465dae1307cd04fe80:0 unsafe_origin=0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847 safe_origin=0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:3>
t=2023-09-01T13:10:47+0000 lvl=info msg="Sync progress"                     reason="reset derivation work" l2_finalized=0x51fa57729dfb1c27542c21b06cb72a0459c57440ceb43a465dae1307cd04fe80:0 l2_safe=0x51fa57729dfb1c27542c21b06cb72a0459c57440ceb43a465dae1307cd04fe80:0 l2_unsafe=0x51fa57729dfb1c27542c21b06cb72a0459c57440ceb43a465dae1307cd04fe80:0 l2_time=1,686,878,506 l1_derived=0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847
t=2023-09-01T13:10:47+0000 lvl=info msg="completed reset of derivation pipeline" origin=0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847
t=2023-09-01T13:10:47+0000 lvl=info msg="Reset of L1Retrieval done"              origin=0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847
t=2023-09-01T13:10:47+0000 lvl=warn msg="Derivation process temporary error"     attempts=1 err="temp: failed to fetch receipts of L1 block 0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847 for L1 sysCfg update: receipt 0 has unexpected block number 32864843, expected 30727848"
t=2023-09-01T13:10:49+0000 lvl=warn msg="Derivation process temporary error"     attempts=2 err="temp: failed to fetch receipts of L1 block 0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847 for L1 sysCfg update: receipt 0 has unexpected block number 32864843, expected 30727848"
t=2023-09-01T13:10:50+0000 lvl=info msg="Received first L1 head signal"          l1_head=0xc09c372101afbb2e27fc49b22333b022e18382a8df5498a94b657ab5ffafe25a:32958992
t=2023-09-01T13:10:52+0000 lvl=info msg="attempting connection"                  peer=16Uiu2HAmC8JoaHFx1jaRT7NjksF1fCphVdRjxS2EytnKekdkSY7t
t=2023-09-01T13:10:53+0000 lvl=info msg="connected to peer"                      peer=16Uiu2HAmC8JoaHFx1jaRT7NjksF1fCphVdRjxS2EytnKekdkSY7t addr=/ip4/52.68.138.166/tcp/9003
t=2023-09-01T13:10:53+0000 lvl=info msg="Starting P2P sync client event loop"    peer=16Uiu2HAmC8JoaHFx1jaRT7NjksF1fCphVdRjxS2EytnKekdkSY7t
t=2023-09-01T13:10:53+0000 lvl=warn msg="Derivation process temporary error"     attempts=3 err="temp: failed to fetch receipts of L1 block 0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847 for L1 sysCfg update: receipt 0 has unexpected block number 32864843, expected 30727848"
t=2023-09-01T13:11:02+0000 lvl=warn msg="Derivation process temporary error"     attempts=4 err="temp: failed to fetch receipts of L1 block 0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847 for L1 sysCfg update: receipt 0 has unexpected block number 32864843, expected 30727848"
t=2023-09-01T13:11:08+0000 lvl=warn msg="L1 head signal indicates a possible L1 re-org" old_l1_head=0xc09c372101afbb2e27fc49b22333b022e18382a8df5498a94b657ab5ffafe25a:32958992 new_l1_head_parent=0x938239a1de6baf62bb8e5b9c2266f4d2287bd06276127fe52bab273f6cd34a9f new_l1_head=0x3291be58f1a93e21d5abcf95351dcf1e602288dc4a5429d97226eee6258a5628:32959002
t=2023-09-01T13:11:12+0000 lvl=warn msg="Derivation process temporary error"     attempts=5 err="temp: failed to fetch receipts of L1 block 0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847 for L1 sysCfg update: receipt 0 has unexpected block number 32864843, expected 30727848"
t=2023-09-01T13:11:22+0000 lvl=warn msg="Derivation process temporary error"     attempts=6 err="temp: failed to fetch receipts of L1 block 0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847 for L1 sysCfg update: receipt 0 has unexpected block number 32864843, expected 30727848"
t=2023-09-01T13:11:26+0000 lvl=warn msg="L1 head signal indicates a possible L1 re-org" old_l1_head=0x3291be58f1a93e21d5abcf95351dcf1e602288dc4a5429d97226eee6258a5628:32959002 new_l1_head_parent=0xacdfd431d3caa4a678310445e480f0b8a9e9564ac403ae01c7ec5c08ebd671a9 new_l1_head=0x9785ec1bd4e2dc537b6631dfdb94155d7d65677b9ebd91161051079d8710de31:32959009
t=2023-09-01T13:11:32+0000 lvl=warn msg="Derivation process temporary error"     attempts=7 err="temp: failed to fetch receipts of L1 block 0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847 for L1 sysCfg update: receipt 0 has unexpected block number 32864843, expected 30727848"
t=2023-09-01T13:11:32+0000 lvl=warn msg="failed to poll L1 block"                label=safe err="failed to fetch head header: not found"
t=2023-09-01T13:11:32+0000 lvl=warn msg="failed to poll L1 block"                label=finalized err="failed to fetch head header: not found"
t=2023-09-01T13:11:42+0000 lvl=warn msg="Derivation process temporary error"     attempts=8 err="temp: failed to fetch receipts of L1 block 0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847 for L1 sysCfg update: receipt 0 has unexpected block number 32864843, expected 30727848"
t=2023-09-01T13:11:52+0000 lvl=warn msg="Derivation process temporary error"     attempts=9 err="temp: failed to fetch receipts of L1 block 0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847 for L1 sysCfg update: receipt 0 has unexpected block number 32864843, expected 30727848"
t=2023-09-01T13:12:02+0000 lvl=warn msg="Derivation process temporary error"     attempts=10 err="temp: failed to fetch receipts of L1 block 0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7:30727847 for L1 sysCfg update: receipt 0 has unexpected block number 32864843, expected 30727848"

stopped at 27,118,770

ver 0.4.3


INFO [07-11|02:09:25.620] announced transaction is underpriced     hash=0xe1d241dcdc53006b714a3699dfa5c4fd7c1dccd4384dda5d9a7c09e3a02b0909
INFO [07-11|02:09:25.632] announced transaction is underpriced     hash=0x941ac8e782ba3be08b005ab1363761ba1aa5d54b571f6c7834d32a99ccc128a8
INFO [07-11|02:09:25.688] announced transaction is underpriced     hash=0xafb806b47777fed22cc176ebd9dae2d3cac5b4966d2aed609672c26ef7af6010
INFO [07-11|02:09:25.690] announced transaction is underpriced     hash=0x91ecd0c2b893a22c430055cbc1e202f7e540b79e098f6ae12b4948d765b60bfa
INFO [07-11|02:09:25.700] announced transaction is underpriced     hash=0xafb806b47777fed22cc176ebd9dae2d3cac5b4966d2aed609672c26ef7af6010
INFO [07-11|02:09:25.722] announced transaction is underpriced     hash=0x91ecd0c2b893a22c430055cbc1e202f7e540b79e098f6ae12b4948d765b60bfa
INFO [07-11|02:09:25.738] announced transaction is underpriced     hash=0x91ecd0c2b893a22c430055cbc1e202f7e540b79e098f6ae12b4948d765b60bfa
INFO [07-11|02:09:25.926] announced transaction is underpriced     hash=0xaf0600176004eb45a1b69641ce89fbe2930a3f50fb2d85e23d10d20c65bed0ee
INFO [07-11|02:09:25.993] announced transaction is underpriced     hash=0x939accc25d3f05aec7a6ee7d723c2ea1a1bee98248e1a5e20c945f94deb8762c
INFO [07-11|02:09:26.009] announced transaction is underprice

Smart Contract Verification Failing

System information

Network: mainnet

Expected behaviour

I am using hardhat-verify plugin to verify my contracts on opbnb chain. All my contracts are on solidity 0.8.20 and it was successfully verified on other chains.

Actual behaviour

On opbnb hardhat-verify throws an error saying contract was compiled using 0.8.9

Steps to reproduce the behaviour

Backtrace

[0] % npx hardhat verify --network opBnb 0x8afB9D249bCc1E153109F36D2A1DC4570431F065
Error in plugin @nomiclabs/hardhat-etherscan: The contract you want to verify was compiled with solidity 0.8.9, but your configured compiler version is: 0.8.20.

Possible causes are:
  - You are not in the same commit that was used to deploy the contract.
  - Wrong compiler version selected in hardhat config.
  - The given address is wrong.
  - The selected network (opBnb) is wrong.

For more info run Hardhat with --show-stack-traces

There is an issue in initializing variable directly in the return type; unlike in other EVM.

Minimal Example:

Reproducible Example:
call getUserMaxBorrowables with the following data on this contract. The function returns undefined .

user = 0xa445BC34f142808c5dCB0A68679159CC7Ac58329
assets = [0x2Cf0D30D00D88113dA4f0Ec04C7C336E5c3714B8]

Basically the code does a loop on getUserMaxBorrowable, which can take the same input except 1 asset only.

  function getUserMaxBorrowables(address user, address[] memory assets) public view returns(uint256[] memory borrowables){
        if (assets.length > 0) {
            borrowables = new uint256[](assets.length);
            for (uint i;i < assets.length; i++) {
                borrowables[i] = getUserMaxBorrowable(user, assets[i]);
            }
        } 
  }

However after the return value in the function is initialised separately outside the returns spec in this instance, it works:

  function getUserMaxBorrowables(address user, address[] memory assets) public view returns(uint256[] memory){
    if (assets.length > 0) {
        uint256[] memory borrowables = new uint256[](assets.length);
            for (uint i;i < assets.length; i++) {
                borrowables[i] = getUserMaxBorrowable(user, assets[i]);
            }
        return borrowables;
        }      
    }

The 1st version of contract instance is working fine in BSC on our deployments, so I wonder what caused the discrepancy.

Geth rejecting all incoming and node can't connect to op-geth:8551

System information

Network: mainnet/testnet/local

if you are running a local node, please provide the following information:
op-node version: v0.2.2
op-geth version: v0.2.4
OS & Version: Debian 11

Hardware:

32GB RAM
2x480GB SSD
I7-6700

Expected behaviour

Node Syncing and running

geth running

Actual behaviour

Node crashing due to connection refused

geth running but rejecting all the txs

Steps to reproduce the behaviour

git clone https://github.com/bnb-chain/opbnb-node-docker.git
cd opbnb-node-docker

cp .env.mainnet.example .env

Fill in all the REQUIRED parts in the .env file.

docker compose up -d

Logs

log2.txt
log1.txt

Upon listing an NFT and entering listing price, if there's a comma instead of a dot in the price, there is an error. We can easily fix it

System information

Network: mainnet

Expected behaviour

Both comma and dot are interpreted the as the same input data (comma "," should be read or autocorrected into a dot ".")

Actual behaviour

There is an error message whenever there is a comma "," in the listing price. Thus listing cannot be executed.

Steps to reproduce the behaviour

Mint a PFP or image -> In the listing process type 0,01 -> Press "List".

Error message: Cannot convert NaN000000000000000000 to a BigInt


Transaction validation failing after 200th block

System information

Network: local

if you are running a local node, please provide the following information:
op-node version: v18.18.0
op-geth version: v1.4.11
OS & Version: Linux

Expected behaviour

The validation should work as working before 200th block

Actual behaviour

The validation starts failing after 200th block

Steps to reproduce the behaviour

https://github.com/bnb-chain/bsc cloned this repo, setup genesis file using repos readme, and start the node using command

./bsc/build/bin/geth
--networkid 18923
--datadir ./bsc/chainData
--http
--http.addr "0.0.0.0"
--http.api "eth,net,web3,personal,txpool,parlia"
--http.corsdomain "*"
--mine
--miner.etherbase 0x64AffDD3f181788f61A73ebe4EEC85E228BDe70B
--allow-insecure-unlock \

Backtrace

message.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.