bnb-chain / op-geth

GNU Lesser General Public License v3.0
58 stars 45 forks source link

I can't get synced: allways with an offset of 12h43s or 43243 blocks #28

Closed alfaori1977 closed 10 months ago

alfaori1977 commented 1 year ago

System information

Network: testnet

op-node version: op-node version v0.0.0-a958e47e-1692755212 op-geth version: Version: 0.1.0-unstable Git Commit: 0b3e557324a7717b598ca877f7350d346e9c1ada Git Commit Date: 20230808 Upstream Version: 1.11.5-stable Architecture: amd64 Go Version: go1.20.5 Operating System: linux GOPATH= GOROOT=

OS & Version: "Ubuntu 20.04.5 LTS"

Expected behaviour

Blocks Synced

Actual behaviour

Block offset of 12h43s or 43243 blocks

Steps to reproduce the behaviour

Just run the op-geth and op-node

Backtrace

[backtrace]

INFO [11-05|21:09:16.103] Chain head was updated number=12,293,205 hash=8addc3..c2e817 root=011259..87220e elapsed="99.785µs" age=12h45s INFO [11-05|21:09:16.105] Starting work on payload id=0xc0d22c7755e170bd INFO [11-05|21:09:16.107] Imported new potential chain segment number=12,293,206 hash=8e7cbf..b971a9 blocks=1 txs=1 mgas=0.064 elapsed="620.659µs" mgasps=103.137 age=12h44s dirty=0.00B INFO [11-05|21:09:16.107] Chain head was updated number=12,293,206 hash=8e7cbf..b971a9 root=fb03af..800964 elapsed="79.177µs" age=12h44s INFO [11-05|21:09:16.109] Starting work on payload id=0xee9dcd9569c6e5af INFO [11-05|21:09:16.111] Imported new potential chain segment number=12,293,207 hash=562c88..4c71d6 blocks=1 txs=1 mgas=0.047 elapsed="655.243µs" mgasps=71.596 age=12h43s dirty=0.00B INFO [11-05|21:09:16.111] Chain head was updated number=12,293,207 hash=562c88..4c71d6 root=fed5a4..b60aeb elapsed="56.675µs" age=12h43s WARN [11-05|21:09:16.543] Snapshot extension registration failed peer=4ba692d3 err="peer connected on snap without compatible eth support" INFO [11-05|21:09:19.161] Starting work on payload id=0x2348ac31e9e87f16 INFO [11-05|21:09:19.163] Imported new potential chain segment number=12,293,208 hash=fcbbf5..dff90d blocks=1 txs=1 mgas=0.051 elapsed="686.791µs" mgasps=73.532 age=12h45s dirty=0.00B INFO [11-05|21:09:19.163] Chain head was updated number=12,293,208 hash=fcbbf5..dff90d root=187cf6..4238cb elapsed="96.298µs" age=12h45s INFO [11-05|21:09:19.165] Starting work on payload id=0xf34c61828f2ac80d INFO [11-05|21:09:19.167] Imported new potential chain segment number=12,293,209 hash=597dce..ac7c78 blocks=1 txs=1 mgas=0.064 elapsed="556.049µs" mgasps=115.121 age=12h44s dirty=0.00B INFO [11-05|21:09:19.167] Chain head was updated number=12,293,209 hash=597dce..ac7c78 root=24a90e..7065bb elapsed="81.841µs" age=12h44s INFO [11-05|21:09:19.169] Starting work on payload id=0xea58c23e18af45f4 INFO [11-05|21:09:19.171] Imported new potential chain segment number=12,293,210 hash=3d0289..e86cc3 blocks=1 txs=1 mgas=0.047 elapsed="683.675µs" mgasps=68.619 age=12h43s dirty=0.00B INFO [11-05|21:09:19.171] Chain head was updated number=12,293,210 hash=3d0289..e86cc3 root=f4441b..ce033a elapsed="78.135µs" age=12h43s INFO [11-05|21:09:19.676] Persisted the clean trie cache path=/home/opbnb/opbnb/op-geth-data/datadir/geth/triecache elapsed=9.796s INFO [11-05|21:09:20.336] Looking for peers peercount=2 tried=91 static=0 INFO [11-05|21:09:22.068] Starting work on payload id=0xb9c803e58635179f INFO [11-05|21:09:22.070] Imported new potential chain segment number=12,293,211 hash=116b22..c24816 blocks=1 txs=1 mgas=0.051 elapsed="783.089µs" mgasps=64.489 age=12h45s dirty=0.00B INFO [11-05|21:09:22.071] Chain head was updated number=12,293,211 hash=116b22..c24816 root=bd6f10..9abd4a elapsed="76.231µs" age=12h45s INFO [11-05|21:09:22.072] Starting work on payload id=0x166ea31148d27f12 INFO [11-05|21:09:22.074] Imported new potential chain segment number=12,293,212 hash=31c326..690f6e blocks=1 txs=1 mgas=0.064 elapsed="570.406µs" mgasps=112.224 age=12h44s dirty=0.00B INFO [11-05|21:09:22.074] Chain head was updated number=12,293,212 hash=31c326..690f6e root=5b6c63..9771d8 elapsed="54.601µs" age=12h44s INFO [11-05|21:09:22.075] Starting work on payload id=0x60a8b5c4992e9b36 INFO [11-05|21:09:22.077] Imported new potential chain segment number=12,293,213 hash=df36b2..78373c blocks=1 txs=1 mgas=0.047 elapsed="498.223µs" mgasps=94.161 age=12h43s dirty=0.00B INFO [11-05|21:09:22.077] Chain head was updated number=12,293,213 hash=df36b2..78373c root=0ba03e..e75b72 elapsed="48.299µs" age=12h43s INFO [11-05|21:09:25.156] Starting work on payload id=0x6fed3dd8abbc0716 INFO [11-05|21:09:25.158] Imported new potential chain segment number=12,293,214 hash=c758a5..78d1fb blocks=1 txs=1 mgas=0.050 elapsed="716.957µs" mgasps=70.421 age=12h45s dirty=0.00B INFO [11-05|21:09:25.159] Chain head was updated number=12,293,214 hash=c758a5..78d1fb root=a4824b..6bf68e elapsed="78.135µs" age=12h45s INFO [11-05|21:09:25.161] Starting work on payload id=0xcd097b33f4400578 INFO [11-05|21:09:25.163] Imported new potential chain segment number=12,293,215 hash=907372..46c55e blocks=1 txs=1 mgas=0.064 elapsed="618.114µs" mgasps=103.542 age=12h44s dirty=0.00B INFO [11-05|21:09:25.163] Chain head was updated number=12,293,215 hash=907372..46c55e root=669498..367cdc elapsed="74.949µs" age=12h44s INFO [11-05|21:09:25.165] Starting work on payload id=0x14c794aac837352d INFO [11-05|21:09:25.167] Imported new potential chain segment number=12,293,216 hash=b5c0b1..a470e7 blocks=1 txs=1 mgas=0.047 elapsed="603.407µs" mgasps=77.727 age=12h43s dirty=0.00B INFO [11-05|21:09:25.167] Chain head was updated number=12,293,216 hash=b5c0b1..a470e7 root=cb53ca..9302aa elapsed="55.142µs" age=12h43s INFO [11-05|21:09:28.727] Starting work on payload id=0x841a3019f2c718bb INFO [11-05|21:09:28.729] Imported new potential chain segment number=12,293,217 hash=17ea05..e5f96d blocks=1 txs=1 mgas=0.051 elapsed="649.242µs" mgasps=77.803 age=12h45s dirty=0.00B INFO [11-05|21:09:28.729] Chain head was updated number=12,293,217 hash=17ea05..e5f96d root=41faf0..1c732e elapsed="102.44µs" age=12h45s INFO [11-05|21:09:28.731] Starting work on payload id=0x60cafe0db377f63b INFO [11-05|21:09:28.733] Imported new potential chain segment number=12,293,218 hash=c7863f..895f96 blocks=1 txs=1 mgas=0.064 elapsed="671.933µs" mgasps=95.285 age=12h44s dirty=0.00B INFO [11-05|21:09:28.733] Chain head was updated number=12,293,218 hash=c7863f..895f96 root=5a86f1..5ab53f elapsed="51.495µs" age=12h44s INFO [11-05|21:09:28.735] Starting work on payload id=0x4d360ee054b1d3d2 INFO [11-05|21:09:28.736] Imported new potential chain segment number=12,293,219 hash=a1f0e0..72c9cf blocks=1 txs=1 mgas=0.047 elapsed="586.986µs" mgasps=79.942 age=12h43s dirty=0.00B INFO [11-05|21:09:28.737] Chain head was updated number=12,293,219 hash=a1f0e0..72c9cf root=550285..c4c3e2 elapsed="63.718µs" age=12h43s

STdevK commented 1 year ago

Hi there, Can you share some more logs of op-geth(around 100+ lines of logs) and also the output of following command:

  1. curl -X POST -H "Content-Type: application/json" --data \ '{"jsonrpc":"2.0","method":"optimism_syncStatus","params":[],"id":1}' \ http://localhost:8546 | jq .

And,

Since how long have you been running the opbnb testnet node? What is the L1_RPC public RPC url you used? (Can you try changing to rpc another one from the list here: https://www.bnbchainlist.org/ once) What are your hardware specifications? (https://docs.bnbchain.org/opbnb-docs/docs/tutorials/running-a-testnet-node#hardware-requirements)

alfaori1977 commented 1 year ago

Time Running: Since 20-25th June 2023 aprox.

Lastest 100 lines og op-geth

INFO [11-06|08:09:40.020] Looking for peers                        peercount=7 tried=135 static=0
WARN [11-06|08:09:40.039] Served eth_sendRawTransaction            reqid=12088713 duration=231.956035ms err="nonce too low"
WARN [11-06|08:09:40.232] Served eth_sendRawTransaction            reqid=5926373  duration=232.36856ms  err="nonce too low"
WARN [11-06|08:09:40.460] Served eth_sendRawTransaction            reqid=12088742 duration=232.580691ms err="nonce too low"
WARN [11-06|08:09:40.648] Served eth_sendRawTransaction            reqid=5926397  duration=232.441935ms err="nonce too low"
WARN [11-06|08:09:40.845] Served eth_sendRawTransaction            reqid=12088771 duration=232.955676ms err="nonce too low"
WARN [11-06|08:09:41.040] Served eth_sendRawTransaction            reqid=5926421  duration=232.330749ms err="nonce too low"
INFO [11-06|08:09:41.102] Starting work on payload                 id=0x5bbb8221ba0470bc
INFO [11-06|08:09:41.103] Imported new potential chain segment     number=12,332,661 hash=77d56d..26a499 blocks=1 txs=1 mgas=0.051 elapsed="617.993µs"  mgasps=81.737  age=12h3m34s  dirty=0.00B
INFO [11-06|08:09:41.104] Chain head was updated                   number=12,332,661 hash=77d56d..26a499 root=cfcfa7..09cc1f elapsed="80.098µs"   age=12h3m34s
INFO [11-06|08:09:41.105] Starting work on payload                 id=0x8ff6b53fd7fc5707
INFO [11-06|08:09:41.106] Imported new potential chain segment     number=12,332,662 hash=4475a9..1ab3a1 blocks=1 txs=1 mgas=0.064 elapsed="520.654µs"  mgasps=122.970 age=12h3m33s  dirty=0.00B
INFO [11-06|08:09:41.107] Chain head was updated                   number=12,332,662 hash=4475a9..1ab3a1 root=2d39a7..ec5029 elapsed="46.356µs"   age=12h3m33s
INFO [11-06|08:09:41.108] Starting work on payload                 id=0xed8874737ad7af6c
INFO [11-06|08:09:41.109] Imported new potential chain segment     number=12,332,663 hash=7f17f2..07fa11 blocks=1 txs=1 mgas=0.047 elapsed="538.367µs"  mgasps=87.162  age=12h3m32s  dirty=0.00B
INFO [11-06|08:09:41.110] Chain head was updated                   number=12,332,663 hash=7f17f2..07fa11 root=ea4911..403f1b elapsed="50.694µs"   age=12h3m32s
WARN [11-06|08:09:41.252] Served eth_sendRawTransaction            reqid=12088800 duration=232.300624ms err="nonce too low"
WARN [11-06|08:09:41.443] Served eth_sendRawTransaction            reqid=5926446  duration=232.344464ms err="nonce too low"
WARN [11-06|08:09:41.644] Snapshot extension registration failed   peer=63cbe74f err="peer connected on snap without compatible eth support"
WARN [11-06|08:09:41.651] Served eth_sendRawTransaction            reqid=12088830 duration=232.134146ms err="nonce too low"
WARN [11-06|08:09:41.845] Served eth_sendRawTransaction            reqid=5926470  duration=231.775602ms err="nonce too low"
WARN [11-06|08:09:42.059] Served eth_sendRawTransaction            reqid=12088859 duration=232.428039ms err="nonce too low"
WARN [11-06|08:09:42.247] Served eth_sendRawTransaction            reqid=5926494  duration=232.378869ms err="nonce too low"
WARN [11-06|08:09:42.460] Served eth_sendRawTransaction            reqid=12088888 duration=231.945316ms err="nonce too low"
WARN [11-06|08:09:42.648] Served eth_sendRawTransaction            reqid=5926518  duration=231.958291ms err="nonce too low"
WARN [11-06|08:09:42.858] Served eth_sendRawTransaction            reqid=12088918 duration=231.967186ms err="nonce too low"
WARN [11-06|08:09:43.056] Served eth_sendRawTransaction            reqid=5926542  duration=232.224192ms err="nonce too low"
WARN [11-06|08:09:43.284] Served eth_sendRawTransaction            reqid=12088947 duration=232.012381ms err="nonce too low"
WARN [11-06|08:09:43.472] Served eth_sendRawTransaction            reqid=5926566  duration=232.202021ms err="nonce too low"
WARN [11-06|08:09:43.665] Served eth_sendRawTransaction            reqid=12088976 duration=232.274285ms err="nonce too low"
WARN [11-06|08:09:43.859] Served eth_sendRawTransaction            reqid=5926590  duration=232.128275ms err="nonce too low"
WARN [11-06|08:09:44.064] Served eth_sendRawTransaction            reqid=12089005 duration=231.864235ms err="nonce too low"
INFO [11-06|08:09:44.190] Starting work on payload                 id=0x0e088ca2e1571e20
INFO [11-06|08:09:44.192] Imported new potential chain segment     number=12,332,664 hash=6d6936..258f0b blocks=1 txs=1 mgas=0.050 elapsed="766.528µs"  mgasps=65.867  age=12h3m34s  dirty=0.00B
INFO [11-06|08:09:44.193] Chain head was updated                   number=12,332,664 hash=6d6936..258f0b root=28b6d8..d1f1bc elapsed="112.207µs"  age=12h3m34s
INFO [11-06|08:09:44.195] Starting work on payload                 id=0x5473409dd68dcb09
INFO [11-06|08:09:44.196] Imported new potential chain segment     number=12,332,665 hash=992b7b..4f6c6f blocks=1 txs=1 mgas=0.064 elapsed="600.902µs"  mgasps=106.508 age=12h3m33s  dirty=0.00B
INFO [11-06|08:09:44.197] Chain head was updated                   number=12,332,665 hash=992b7b..4f6c6f root=021e17..0f5712 elapsed="86.811µs"   age=12h3m33s
INFO [11-06|08:09:44.198] Starting work on payload                 id=0x6ba84dc694aa2c95
INFO [11-06|08:09:44.200] Imported new potential chain segment     number=12,332,666 hash=de746a..dd4825 blocks=1 txs=1 mgas=0.047 elapsed="525.993µs"  mgasps=89.167  age=12h3m32s  dirty=0.00B
INFO [11-06|08:09:44.200] Chain head was updated                   number=12,332,666 hash=de746a..dd4825 root=26f344..5f9100 elapsed="87.923µs"   age=12h3m32s
WARN [11-06|08:09:44.259] Served eth_sendRawTransaction            reqid=5926615  duration=232.179619ms err="nonce too low"
WARN [11-06|08:09:44.471] Served eth_sendRawTransaction            reqid=12089034 duration=232.034972ms err="nonce too low"
WARN [11-06|08:09:44.660] Served eth_sendRawTransaction            reqid=5926639  duration=232.062793ms err="nonce too low"
WARN [11-06|08:09:44.870] Served eth_sendRawTransaction            reqid=12089064 duration=232.34198ms  err="nonce too low"
WARN [11-06|08:09:45.064] Served eth_sendRawTransaction            reqid=5926663  duration=232.431165ms err="nonce too low"
WARN [11-06|08:09:45.274] Served eth_sendRawTransaction            reqid=12089093 duration=232.245111ms err="nonce too low"
WARN [11-06|08:09:45.466] Served eth_sendRawTransaction            reqid=5926687  duration=232.164001ms err="nonce too low"
WARN [11-06|08:09:45.675] Served eth_sendRawTransaction            reqid=12089122 duration=232.45493ms  err="nonce too low"
WARN [11-06|08:09:45.879] Served eth_sendRawTransaction            reqid=5926863  duration=232.046814ms err="nonce too low"
WARN [11-06|08:09:46.092] Served eth_sendRawTransaction            reqid=12089151 duration=231.965022ms err="nonce too low"
WARN [11-06|08:09:46.268] Served eth_sendRawTransaction            reqid=5926887  duration=232.134016ms err="nonce too low"
WARN [11-06|08:09:46.481] Served eth_sendRawTransaction            reqid=12089180 duration=232.141369ms err="nonce too low"
WARN [11-06|08:09:46.671] Served eth_sendRawTransaction            reqid=5926911  duration=232.121392ms err="nonce too low"
WARN [11-06|08:09:46.877] Served eth_sendRawTransaction            reqid=12089209 duration=232.306866ms err="nonce too low"
WARN [11-06|08:09:47.073] Served eth_sendRawTransaction            reqid=5926935  duration=231.934577ms err="nonce too low"
INFO [11-06|08:09:47.103] Starting work on payload                 id=0x3a315f55df447e0f
INFO [11-06|08:09:47.105] Imported new potential chain segment     number=12,332,667 hash=fabf2c..08afea blocks=1 txs=1 mgas=0.050 elapsed="701.218µs"  mgasps=71.985  age=12h3m34s  dirty=0.00B
INFO [11-06|08:09:47.105] Chain head was updated                   number=12,332,667 hash=fabf2c..08afea root=24416e..e2d626 elapsed="92.541µs"   age=12h3m34s
INFO [11-06|08:09:47.107] Starting work on payload                 id=0x3a69535c07f16c02
INFO [11-06|08:09:47.109] Imported new potential chain segment     number=12,332,668 hash=f933c1..dbdc93 blocks=1 txs=1 mgas=0.064 elapsed="718.369µs"  mgasps=89.075  age=12h3m33s  dirty=0.00B
INFO [11-06|08:09:47.109] Chain head was updated                   number=12,332,668 hash=f933c1..dbdc93 root=84f950..da4b53 elapsed="78.395µs"   age=12h3m33s
INFO [11-06|08:09:47.111] Starting work on payload                 id=0x517b928879e2093f
INFO [11-06|08:09:47.112] Imported new potential chain segment     number=12,332,669 hash=ee92c2..43c5af blocks=1 txs=1 mgas=0.047 elapsed="512.328µs"  mgasps=91.521  age=12h3m32s  dirty=0.00B
INFO [11-06|08:09:47.113] Chain head was updated                   number=12,332,669 hash=ee92c2..43c5af root=648ae8..bccf18 elapsed="82.874µs"   age=12h3m32s
WARN [11-06|08:09:47.280] Served eth_sendRawTransaction            reqid=12089238 duration=232.351578ms err="nonce too low"
WARN [11-06|08:09:47.474] Served eth_sendRawTransaction            reqid=5926960  duration=232.317124ms err="nonce too low"
WARN [11-06|08:09:47.680] Served eth_sendRawTransaction            reqid=12089268 duration=232.016618ms err="nonce too low"
WARN [11-06|08:09:47.876] Served eth_sendRawTransaction            reqid=5926984  duration=231.955465ms err="nonce too low"
WARN [11-06|08:09:48.083] Served eth_sendRawTransaction            reqid=12089297 duration=231.764071ms err="nonce too low"
WARN [11-06|08:09:48.279] Served eth_sendRawTransaction            reqid=5927008  duration=232.080136ms err="nonce too low"
WARN [11-06|08:09:48.489] Served eth_sendRawTransaction            reqid=12089326 duration=232.035773ms err="nonce too low"
WARN [11-06|08:09:48.681] Served eth_sendRawTransaction            reqid=5927032  duration=232.052214ms err="nonce too low"
WARN [11-06|08:09:48.890] Served eth_sendRawTransaction            reqid=12089355 duration=231.746048ms err="nonce too low"
WARN [11-06|08:09:49.095] Served eth_sendRawTransaction            reqid=5927056  duration=232.015937ms err="nonce too low"
WARN [11-06|08:09:49.290] Served eth_sendRawTransaction            reqid=12089384 duration=232.317765ms err="nonce too low"
WARN [11-06|08:09:49.485] Served eth_sendRawTransaction            reqid=5927080  duration=231.987935ms err="nonce too low"
WARN [11-06|08:09:49.725] Served eth_sendRawTransaction            reqid=12089413 duration=231.799547ms err="nonce too low"
WARN [11-06|08:09:49.889] Served eth_sendRawTransaction            reqid=5927104  duration=231.960805ms err="nonce too low"
WARN [11-06|08:09:50.094] Served eth_sendRawTransaction            reqid=12089442 duration=232.064237ms err="nonce too low"
INFO [11-06|08:09:50.141] Looking for peers                        peercount=7 tried=158 static=0
INFO [11-06|08:09:50.159] Starting work on payload                 id=0xfc6ec8fc2a0d1adc
INFO [11-06|08:09:50.161] Imported new potential chain segment     number=12,332,670 hash=740e54..61f5a7 blocks=1 txs=1 mgas=0.051 elapsed="724.911µs"  mgasps=69.665  age=12h3m34s  dirty=0.00B
INFO [11-06|08:09:50.161] Chain head was updated                   number=12,332,670 hash=740e54..61f5a7 root=283260..881abf elapsed="102.119µs"  age=12h3m34s
INFO [11-06|08:09:50.163] Starting work on payload                 id=0x636d66e9cf90fb87
INFO [11-06|08:09:50.164] Imported new potential chain segment     number=12,332,671 hash=c90ff9..473a58 blocks=1 txs=1 mgas=0.064 elapsed="641.618µs"  mgasps=99.768  age=12h3m33s  dirty=0.00B
INFO [11-06|08:09:50.165] Chain head was updated                   number=12,332,671 hash=c90ff9..473a58 root=71eeec..2e16be elapsed="89.866µs"   age=12h3m33s
INFO [11-06|08:09:50.167] Starting work on payload                 id=0x218426f24c11fe1b
INFO [11-06|08:09:50.168] Imported new potential chain segment     number=12,332,672 hash=cc0b43..0bc48a blocks=1 txs=1 mgas=0.047 elapsed="524.611µs"  mgasps=89.424  age=12h3m32s  dirty=0.00B
INFO [11-06|08:09:50.169] Chain head was updated                   number=12,332,672 hash=cc0b43..0bc48a root=8492b9..53f95b elapsed="72.044µs"   age=12h3m32s
WARN [11-06|08:09:50.289] Served eth_sendRawTransaction            reqid=5927129  duration=231.905544ms err="nonce too low"
WARN [11-06|08:09:50.498] Served eth_sendRawTransaction            reqid=12089471 duration=232.051873ms err="nonce too low"
WARN [11-06|08:09:50.692] Served eth_sendRawTransaction            reqid=5927153  duration=232.371375ms err="nonce too low"
WARN [11-06|08:09:50.898] Served eth_sendRawTransaction            reqid=12089501 duration=232.034371ms err="nonce too low"
WARN [11-06|08:09:51.093] Served eth_sendRawTransaction            reqid=5927177  duration=232.133224ms err="nonce too low"
WARN [11-06|08:09:51.322] Served eth_sendRawTransaction            reqid=12089530 duration=232.089323ms err="nonce too low"
WARN [11-06|08:09:51.495] Served eth_sendRawTransaction            reqid=5927201  duration=232.03371ms  err="nonce too low"
WARN [11-06|08:09:51.706] Served eth_sendRawTransaction            reqid=12089559 duration=232.262753ms err="nonce too low"
WARN [11-06|08:09:51.900] Served eth_sendRawTransaction            reqid=5927833  duration=231.77438ms  err="nonce too low"

CURL Output

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "current_l1": {
      "hash": "0x5ff4b993e5ca505c8080a9cdedf8296794813723410eb4a1801c847378d8aa6a",
      "number": 34852316,
      "parentHash": "0x08513b9ef34229858e7014f7fdde444293ca33d6f61a8017dc7c23f4b58808a2",
      "timestamp": 1699254626
    },
    "current_l1_finalized": {
      "hash": "0xd7e6c4a00f1c9e5859f1dbea333e367c61e55c49cfb923c621899752222042c4",
      "number": 34852329,
      "parentHash": "0xb49a99d40cb8b8062d1ec600e188e39ad369ce595a7cdc787c00ecf7ae250f55",
      "timestamp": 1699254665
    },
    "head_l1": {
      "hash": "0x4205f6633eacbd76c4420e40c21e7d16ddda9eebd25b07c8a41ee712d3935501",
      "number": 34852331,
      "parentHash": "0xc0557e72cbbe4764c13a5691c74721311761c784c9b97700b8c347013e1f1f6f",
      "timestamp": 1699254671
    },
    "safe_l1": {
      "hash": "0xc0557e72cbbe4764c13a5691c74721311761c784c9b97700b8c347013e1f1f6f",
      "number": 34852330,
      "parentHash": "0xd7e6c4a00f1c9e5859f1dbea333e367c61e55c49cfb923c621899752222042c4",
      "timestamp": 1699254668
    },
    "finalized_l1": {
      "hash": "0xd7e6c4a00f1c9e5859f1dbea333e367c61e55c49cfb923c621899752222042c4",
      "number": 34852329,
      "parentHash": "0xb49a99d40cb8b8062d1ec600e188e39ad369ce595a7cdc787c00ecf7ae250f55",
      "timestamp": 1699254665
    },
    "unsafe_l2": {
      "hash": "0xec9d1fdd5a5fca1051181e9a917e8431d939201bea79f3c65128c57e915d83b5",
      "number": 12332753,
      "parentHash": "0x594e5e67e06580656c17ad687f0d8f542774fdd36d08724731464f15d7eee61e",
      "timestamp": 1699211259,
      "l1origin": {
        "hash": "0x3df9869a58a38508971410fb2a37e663e5be0640acfa8e1322d23d85b0b93876",
        "number": 34837916
      },
      "sequenceNumber": 2
    },
    "safe_l2": {
      "hash": "0xec9d1fdd5a5fca1051181e9a917e8431d939201bea79f3c65128c57e915d83b5",
      "number": 12332753,
      "parentHash": "0x594e5e67e06580656c17ad687f0d8f542774fdd36d08724731464f15d7eee61e",
      "timestamp": 1699211259,
      "l1origin": {
        "hash": "0x3df9869a58a38508971410fb2a37e663e5be0640acfa8e1322d23d85b0b93876",
        "number": 34837916
      },
      "sequenceNumber": 2
    },
    "finalized_l2": {
      "hash": "0x9f7ef8e5bf8fb4c81443c2d02c60fd5d093e140c3f047449114eafea8af16fde",
      "number": 12332615,
      "parentHash": "0xf7a2afd3461eca9c1dd912c9359e97b588845e0295984e03d317fb3876c2cbae",
      "timestamp": 1699211121,
      "l1origin": {
        "hash": "0x844ba73c1d553ecf874970d55d15a766429d6eca7099b98ffea0a6c520091e76",
        "number": 34837870
      },
      "sequenceNumber": 2
    },
    "queued_unsafe_l2": {
      "hash": "0xcc73cba5d10f0c5a01147aae9e6dec9c4714fbb39417f2b1a430b2bced050268",
      "number": 12346399,
      "parentHash": "0x99faeedf033ea4f5fc5ce9427123b668d9eba1aaa389a3ec322851f32c4198e4",
      "timestamp": 1699224905,
      "l1origin": {
        "hash": "0x0e557b8297ca3e73354fcbcecee59041f808676362af67a01f8e221bef36b9d4",
        "number": 34842448
      },
      "sequenceNumber": 2
    }
  }
}

L1_RPC: We're using our own BNB L1 RPC: export L1_RPC=ws://localhost:8576

Hardware Specs

Dedicated Server AMD EPYC 32 Cores
RAM: 252GB
HDD: SSD 2000 GB
OS: Ubuntu 20.04.5 LTS
STdevK commented 1 year ago

There is a possibility that the node's chain has been forked and different with other nodes.

Would you please provide the following information, which will be very useful to locate the root cause:

  1. The OP Node's rollup config. You can retrieve rollup config via RPC call optimism_rollupConfig to OP Node, or the file rollup.config directly.
  2. Information about the blocks near the hard-fork height. There was a hard-fork happening at the height 5805494. Therefore, we can RPC call eth_getBlockByNumber(5805493), eth_getBlockByNumber(5805494) and eth_getBlockByNumber(5805495) to OP Geth to get the blocks info near the hard-fork height.
STdevK commented 1 year ago

In the event that the chain is forked due to a hard fork, it is recommended to reset the blockchain and synchronize it with the latest version of the program:

  1. Clear the data directory in OP Geth
  2. Update the opbnb to latest version: git clone -b v0.2.1 git@github.com:bnb-chain/opbnb.git
  3. Update the op-geth to latest version: git clone -b v0.2.0 git@github.com:bnb-chain/op-geth.git
  4. Follow the instructions here to re-sync the testnet: https://docs.bnbchain.org/opbnb-docs/docs/tutorials/running-a-testnet-node . Just note that make sure to use the latest version of opbnb and op-geth, and use the new version genesis.json and rollup.json

Please let me know if you have any questions or encounter any problems.

alfaori1977 commented 1 year ago

optimism_rollupConfig

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "genesis": {
      "l1": {
        "hash": "0xc01a09840419cd993cf4666309f36e6d38de39771af8dbffecfa0386321c19f7",
        "number": 30727847
      },
      "l2": {
        "hash": "0x51fa57729dfb1c27542c21b06cb72a0459c57440ceb43a465dae1307cd04fe80",
        "number": 0
      },
      "l2_time": 1686878506,
      "system_config": {
        "batcherAddr": "0x1fd6a75cc72f39147756a663f3ef1fc95ef89495",
        "overhead": "0x0000000000000000000000000000000000000000000000000000000000000834",
        "scalar": "0x00000000000000000000000000000000000000000000000000000000000f4240",
        "gasLimit": 100000000
      }
    },
    "block_time": 1,
    "max_sequencer_drift": 600,
    "seq_window_size": 14400,
    "channel_timeout": 1200,
    "l1_chain_id": 97,
    "l2_chain_id": 5611,
    "regolith_time": 0,
    "batch_inbox_address": "0xff00000000000000000000000000000000005611",
    "deposit_contract_address": "0x4386c8abf2009ac0c263462da568dd9d46e52a31",
    "l1_system_config_address": "0x406ac857817708eaf4ca3a82317ef4ae3d1ea23b"
  }
}

BLOCK: 5805493

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "baseFeePerGas": "0x8",
    "difficulty": "0x0",
    "extraData": "0x",
    "gasLimit": "0x5f5e100",
    "gasUsed": "0x785b6",
    "hash": "0x1f72bafc2943a496b18366e2d67dd3599ada38589197cbaaf1e88c363b9bfb4e",
    "logsBloom": "0x022000000000408000100000800000000008000000000010001000008010008000000000400000801000000000040080040040000800000000001200000100000010000002008800400040080000002004000000000000000048000000000000000000000200000000000000000008008e08000110020000000000140800000002000000000001000000000000000000808000000000000c001100400020040000000000001000000180800401000004020020000000000000000000000410000002100a100000400000800408420000000002100008001000048000000020200000000400000000000100400000000000808000600000000000000000440000",
    "miner": "0x4200000000000000000000000000000000000011",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": "0x0000000000000000",
    "number": "0x5895b5",
    "parentHash": "0x29d0023ee575c3c8177ec10d3646961dcf4c8db9deea99dc2703113d889b34e7",
    "receiptsRoot": "0xf021736a004e88682ae2c7d762011e6181b1c5635bd81d7745945d82e739a8be",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "size": "0x833",
    "stateRoot": "0x1d81993ef84ec293cef58562f183992383f06704728faf4142931da8ed926880",
    "timestamp": "0x64e44edf",
    "totalDifficulty": "0x0",
    "transactions": [
      {
        "blockHash": "0x1f72bafc2943a496b18366e2d67dd3599ada38589197cbaaf1e88c363b9bfb4e",
        "blockNumber": "0x5895b5",
        "from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
        "gas": "0xf4240",
        "gasPrice": "0x0",
        "hash": "0x9b1af29b327689a85655c6ffe7b503ca1e3fd06c426f5b3a738bbe09d8483906",
        "input": "0x015d8eb90000000000000000000000000000000000000000000000000000000001f263810000000000000000000000000000000000000000000000000000000064e44ead0000000000000000000000000000000000000000000000000000000212c6b6b78b1fc227c5bdf70dd1ad06f4a0d14ac9775a4e87874b7726790d0a85f235146800000000000000000000000000000000000000000000000000000000000000020000000000000000000000001fd6a75cc72f39147756a663f3ef1fc95ef89495000000000000000000000000000000000000000000000000000000000000083400000000000000000000000000000000000000000000000000000000000f4240",
        "nonce": "0x5895b4",
        "to": "0x4200000000000000000000000000000000000015",
        "transactionIndex": "0x0",
        "value": "0x0",
        "type": "0x7e",
        "v": "0x0",
        "r": "0x0",
        "s": "0x0",
        "sourceHash": "0xc9a759c99e3b59ef464f3847ab1390d8a9b7db47bd718a25744f61e311992a4a",
        "mint": "0x0"
      },
      {
        "blockHash": "0x1f72bafc2943a496b18366e2d67dd3599ada38589197cbaaf1e88c363b9bfb4e",
        "blockNumber": "0x5895b5",
        "from": "0xf9a40a2235bd0a4acb79364c76a3103f7cee62cf",
        "gas": "0x14efb",
        "gasPrice": "0x4e3b29200",
        "maxFeePerGas": "0x4e3b29200",
        "maxPriorityFeePerGas": "0x4e3b29200",
        "hash": "0x2e77d238d54328fc31736e31a98909599e40926730c8378e6bf0a5da90c63c53",
        "input": "0x1249c58b",
        "nonce": "0x354",
        "to": "0x5aee67f8dc2d9a5537d4b64057b52da31d37516b",
        "transactionIndex": "0x1",
        "value": "0x0",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x15eb",
        "v": "0x0",
        "r": "0xb82e69766a14331e176a50246822bbd138d0075c019a6f1c1d309f56e3104daa",
        "s": "0x17e22462b76e216c5c58e5691fcf1fc13201f7af556fbb585a99467322ac0ce6"
      },
      {
        "blockHash": "0x1f72bafc2943a496b18366e2d67dd3599ada38589197cbaaf1e88c363b9bfb4e",
        "blockNumber": "0x5895b5",
        "from": "0xb46a0667156d75881c3d3903c964d7f1f9744416",
        "gas": "0x14efb",
        "gasPrice": "0x430e23400",
        "hash": "0xb3bb8aca47456fb827edf461559000f0449f0480942d400ddfd5ec5cdc25acfe",
        "input": "0x1249c58b",
        "nonce": "0x6481",
        "to": "0x5aee67f8dc2d9a5537d4b64057b52da31d37516b",
        "transactionIndex": "0x2",
        "value": "0x0",
        "type": "0x0",
        "chainId": "0x15eb",
        "v": "0x2bf9",
        "r": "0x71e07cf81fe1eed1ac6183adefbaac3dddd5baf83ad704e268ca1fe3a9c56539",
        "s": "0x6b23abb543024d31038f3d5d892829bdb1242fe7a6b704e78886fceea1f898a4"
      },
      {
        "blockHash": "0x1f72bafc2943a496b18366e2d67dd3599ada38589197cbaaf1e88c363b9bfb4e",
        "blockNumber": "0x5895b5",
        "from": "0x9e0209b1b0749965b379dd0cdfff5f406076b854",
        "gas": "0x2a1c8",
        "gasPrice": "0x6fc23aca",
        "maxFeePerGas": "0x6fc23aca",
        "maxPriorityFeePerGas": "0x6fc23aca",
        "hash": "0x9101ab78eb1c448336f63740439cf91c23fb269ab7b692f4e4bf245d2975d921",
        "input": "0x7ff36ab5000000000000000000000000000000000000000000000003939206aab99072db00000000000000000000000000000000000000000000000000000000000000800000000000000000000000009e0209b1b0749965b379dd0cdfff5f406076b8540000000000000000000000000000000000000000000000000000000064e453710000000000000000000000000000000000000000000000000000000000000002000000000000000000000000f0b4a48860434a386489eb07900a2fd20b5f45eb000000000000000000000000864e732666df56b096f2732c1013ae375282dc4b",
        "nonce": "0x1",
        "to": "0x77a5bf0e03d1ff7f7a7abce8998c1c9f985f466a",
        "transactionIndex": "0x3",
        "value": "0x7fe99f16df691a",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x15eb",
        "v": "0x1",
        "r": "0x965bc71ace4c430b55918e37edd69868a59b6557adbefb3f97e667efce6c5c8c",
        "s": "0x662959c7e49efc836b3855a2122c95bf15d4423fd688148cec64ba1ab6fa44e3"
      },
      {
        "blockHash": "0x1f72bafc2943a496b18366e2d67dd3599ada38589197cbaaf1e88c363b9bfb4e",
        "blockNumber": "0x5895b5",
        "from": "0xeff37a3d43faba7bb1c2acf4a5a8c3eb57c9b9f9",
        "gas": "0x22724",
        "gasPrice": "0x59682f08",
        "maxFeePerGas": "0x59682f09",
        "maxPriorityFeePerGas": "0x59682f00",
        "hash": "0x80c67a603f6de9565ba7232ec08fea72bed6b3202425fe013a4d311fc99d1edf",
        "input": "0x32b7006d0000000000000000000000003ab4e696e31173409dbfbb1feb5b9a7cc55a212c00000000000000000000000000000000000000000000000000005af3107a4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0x1778",
        "to": "0x4200000000000000000000000000000000000010",
        "transactionIndex": "0x4",
        "value": "0x0",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x15eb",
        "v": "0x0",
        "r": "0xdcf44a40069ac0bc9d8dbc4feecbfd25ac77cd38df379ea10d48e44ac53061b6",
        "s": "0x856d85509c29333cc1bea2670dfb28caf62aabd8b7bca485b6b04bac6f9b8f7"
      },
      {
        "blockHash": "0x1f72bafc2943a496b18366e2d67dd3599ada38589197cbaaf1e88c363b9bfb4e",
        "blockNumber": "0x5895b5",
        "from": "0x1867460def960ca47e56f71ad9de0d5537ad3ab8",
        "gas": "0x5208",
        "gasPrice": "0x59682f08",
        "maxFeePerGas": "0x59682f09",
        "maxPriorityFeePerGas": "0x59682f00",
        "hash": "0x3615daf42ba78f9b38dc985687c689b31f5a7129cc11bcbec0f8b6f857670da7",
        "input": "0x",
        "nonce": "0x519",
        "to": "0x3bd2c46b1242b2f8bbc89eaf41b33602ca16be82",
        "transactionIndex": "0x5",
        "value": "0x2386f26fc10000",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x15eb",
        "v": "0x0",
        "r": "0x714e2c692f7a981bd29d791a090eb3bd5aa9dce7699fee4ac6e6e2fdb8f48859",
        "s": "0x74e8af79e69f667726df85ed8b0645692296817229958a441e806d628a2d53e"
      },
      {
        "blockHash": "0x1f72bafc2943a496b18366e2d67dd3599ada38589197cbaaf1e88c363b9bfb4e",
        "blockNumber": "0x5895b5",
        "from": "0xd4c83ccc17ae89243dfb025ee6fa699740855f58",
        "gas": "0x5208",
        "gasPrice": "0x59682f08",
        "maxFeePerGas": "0x59682f09",
        "maxPriorityFeePerGas": "0x59682f00",
        "hash": "0x9ef30c554342fb6bb896760958a32894f290b814c99ff2e5f8632bc86543d15f",
        "input": "0x",
        "nonce": "0x6a",
        "to": "0x020537fa8bfa4dd623a6d3f7dbe07c12b72e6a80",
        "transactionIndex": "0x6",
        "value": "0x38d7ea4c68000",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x15eb",
        "v": "0x0",
        "r": "0xa9efe3e072871225fc7bf1c0d45a2f572bc338b00c0e929aef790e9ecf8b204f",
        "s": "0x639423064727dd764d65abb5a56f250b4b91488b8ead42dcf08745766c8cb8a7"
      },
      {
        "blockHash": "0x1f72bafc2943a496b18366e2d67dd3599ada38589197cbaaf1e88c363b9bfb4e",
        "blockNumber": "0x5895b5",
        "from": "0x58092adc1478ea50ff326ff2a36191d37f83665b",
        "gas": "0x7a120",
        "gasPrice": "0x30d40",
        "maxFeePerGas": "0x30d40",
        "maxPriorityFeePerGas": "0x30d40",
        "hash": "0x79d920e2d12ea3fbde2aa3a7a3e6df71d212ef0cd208563244b8f56e4fa8c35f",
        "input": "0x",
        "nonce": "0x2e",
        "to": "0x120a40234840e6578b9b97222010cb694f7ef84f",
        "transactionIndex": "0x7",
        "value": "0x2386f26fc10000",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x15eb",
        "v": "0x0",
        "r": "0x2ef6704aa225759630173f662f2e4daab1ea8b653177eab02d2996654703fb20",
        "s": "0x72f69019335ae741e0dd9f691027cde025e50c3eb2863def03289a0a36f626d9"
      }
    ],
    "transactionsRoot": "0xba9c29a5fbd4c4fbbf6a870eeb513d441e81d772410865a479f7f57395a6e688",
    "uncles": []
  }
}

BLOCK: 5805494

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "baseFeePerGas": "0x8",
    "difficulty": "0x0",
    "extraData": "0x",
    "gasLimit": "0x5f5e100",
    "gasUsed": "0x12e686",
    "hash": "0x0dd5b05650c80b4ffd07a0d6e3119300b755030f11a1b197b5cb4c1adeb1fbcd",
    "logsBloom": "0x06240200000040c2000c0000810000200000010000040000000000000010008000024000400000800200100000000000000040000000000040040200000082001010000002248880000040080000202004020000000000002000000800840001000000002200284000000000000208201000004100004000000000180808000002800000020040004000000000000020218080000000100800000060000084000000848000120008008010040400000428002004000428000002000000001000000a100a0008004005000a0100404000200042180008001000008100801020001000000401000002040020080480000000800400600000200004000048840000",
    "miner": "0x4200000000000000000000000000000000000011",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": "0x0000000000000000",
    "number": "0x5895b6",
    "parentHash": "0x1f72bafc2943a496b18366e2d67dd3599ada38589197cbaaf1e88c363b9bfb4e",
    "receiptsRoot": "0xf3589bc74d249e245a3ea75940829e6fef7d5ef1b56f5351b624ef17591387d8",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "size": "0x1429",
    "stateRoot": "0x7194a43333c3c84d934c4a7269399926e6becc12100c314c280182a2ee83fdbd",
    "timestamp": "0x64e44ee0",
    "totalDifficulty": "0x0",
    "transactions": [
      {
        "blockHash": "0x0dd5b05650c80b4ffd07a0d6e3119300b755030f11a1b197b5cb4c1adeb1fbcd",
        "blockNumber": "0x5895b6",
        "from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
        "gas": "0xf4240",
        "gasPrice": "0x0",
        "hash": "0x68a9f401388384a1a6e64233077fbfd3336ba3a426aa98e53d50aefe9513e07c",
        "input": "0x015d8eb90000000000000000000000000000000000000000000000000000000001f263820000000000000000000000000000000000000000000000000000000064e44eb0000000000000000000000000000000000000000000000000000000015c7fdaba631531c858c35ea839b652938605f957caed3a279e6aaedf974c50958778514400000000000000000000000000000000000000000000000000000000000000000000000000000000000000001fd6a75cc72f39147756a663f3ef1fc95ef89495000000000000000000000000000000000000000000000000000000000000083400000000000000000000000000000000000000000000000000000000000f4240",
        "nonce": "0x5895b5",
        "to": "0x4200000000000000000000000000000000000015",
        "transactionIndex": "0x0",
        "value": "0x0",
        "type": "0x7e",
        "v": "0x0",
        "r": "0x0",
        "s": "0x0",
        "sourceHash": "0x96b08f4d11a74d5fc472a431baa9aada6bdf0745e3bf65dc30416156f520ba44",
        "mint": "0x0"
      },
      {
        "blockHash": "0x0dd5b05650c80b4ffd07a0d6e3119300b755030f11a1b197b5cb4c1adeb1fbcd",
        "blockNumber": "0x5895b6",
        "from": "0xe617952e78eecd5d4424b1990a0c99b1568e8d3d",
        "gas": "0x7812e",
        "gasPrice": "0x0",
        "hash": "0xc2e9885554cc9f458db7e3fbc3c5d87460f7bf883dde9b03cca5de322b48549e",
        "input": "0xd764ad0b0001000000000000000000000000000000000000000000000000000000221c11000000000000000000000000677311fd2ccc511bbc0f581e8d9a07b033d5e840000000000000000000000000420000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030d4000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000e40166a07a0000000000000000000000003ab4e696e31173409dbfbb1feb5b9a7cc55a212c0000000000000000000000006ce8da28e2f864420840cf74474eff5fd80e65b8000000000000000000000000a84110f082ff59fa76c2fbea2a7abcbe16f34a3e000000000000000000000000a84110f082ff59fa76c2fbea2a7abcbe16f34a3e00000000000000000000000000000000000000000000000000007f544a44c00000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0x221c11",
        "to": "0x4200000000000000000000000000000000000007",
        "transactionIndex": "0x1",
        "value": "0x0",
        "type": "0x7e",
        "v": "0x0",
        "r": "0x0",
        "s": "0x0",
        "sourceHash": "0x3a233f348efd07e77bda3d7719a3219204d3510f447cc8884a354ee5476bb6c5",
        "mint": "0x0"
      },
      {
        "blockHash": "0x0dd5b05650c80b4ffd07a0d6e3119300b755030f11a1b197b5cb4c1adeb1fbcd",
        "blockNumber": "0x5895b6",
        "from": "0xe617952e78eecd5d4424b1990a0c99b1568e8d3d",
        "gas": "0x77d2e",
        "gasPrice": "0x0",
        "hash": "0x7c62293c7404958360754853b3e6dad8e21a7e0638a86530267e7670d9d71a69",
        "input": "0xd764ad0b0001000000000000000000000000000000000000000000000000000000221c12000000000000000000000000677311fd2ccc511bbc0f581e8d9a07b033d5e84000000000000000000000000042000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000b5e620f480000000000000000000000000000000000000000000000000000000000000030d4000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000a41635f5fd000000000000000000000000e23f9140bbd2a766867f20fc8e71b7abb17bde55000000000000000000000000e23f9140bbd2a766867f20fc8e71b7abb17bde550000000000000000000000000000000000000000000000000000b5e620f480000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0x221c12",
        "to": "0x4200000000000000000000000000000000000007",
        "transactionIndex": "0x2",
        "value": "0xb5e620f48000",
        "type": "0x7e",
        "v": "0x0",
        "r": "0x0",
        "s": "0x0",
        "sourceHash": "0xf8456fc2a4a4fbaa3c54aab0d4b20b20d2566068ed76adf11cacc8b313b8e71d",
        "mint": "0xb5e620f48000"
      },
      {
        "blockHash": "0x0dd5b05650c80b4ffd07a0d6e3119300b755030f11a1b197b5cb4c1adeb1fbcd",
        "blockNumber": "0x5895b6",
        "from": "0xe617952e78eecd5d4424b1990a0c99b1568e8d3d",
        "gas": "0x77d2e",
        "gasPrice": "0x0",
        "hash": "0x4757aca0f13e33a83e8a70ffd58121dfd6bc413a406884a6ebd03f625744071c",
        "input": "0xd764ad0b0001000000000000000000000000000000000000000000000000000000221c13000000000000000000000000677311fd2ccc511bbc0f581e8d9a07b033d5e8400000000000000000000000004200000000000000000000000000000000000010000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000030d4000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000a41635f5fd0000000000000000000000005a3d751d27f6d75b7bd94fda80b8224e42d9ce580000000000000000000000005a3d751d27f6d75b7bd94fda80b8224e42d9ce58000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0x221c13",
        "to": "0x4200000000000000000000000000000000000007",
        "transactionIndex": "0x3",
        "value": "0x2386f26fc10000",
        "type": "0x7e",
        "v": "0x0",
        "r": "0x0",
        "s": "0x0",
        "sourceHash": "0x3a02b7e9914dba0e51c178742d2f2c1e673d54f3b4a5c19d852b731652df5dae",
        "mint": "0x2386f26fc10000"
      },
      {
        "blockHash": "0x0dd5b05650c80b4ffd07a0d6e3119300b755030f11a1b197b5cb4c1adeb1fbcd",
        "blockNumber": "0x5895b6",
        "from": "0xe617952e78eecd5d4424b1990a0c99b1568e8d3d",
        "gas": "0x77d2e",
        "gasPrice": "0x0",
        "hash": "0xc35348bcefa9a2227594d18976f0ad9a9d9b258edb2a9b519b8469fdecf37008",
        "input": "0xd764ad0b0001000000000000000000000000000000000000000000000000000000221c14000000000000000000000000677311fd2ccc511bbc0f581e8d9a07b033d5e840000000000000000000000000420000000000000000000000000000000000001000000000000000000000000000000000000000000000000000005af3107a40000000000000000000000000000000000000000000000000000000000000030d4000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000a41635f5fd000000000000000000000000e021fd8d3cebd333db3f4e2d1a49fca282287e60000000000000000000000000e021fd8d3cebd333db3f4e2d1a49fca282287e6000000000000000000000000000000000000000000000000000005af3107a40000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0x221c14",
        "to": "0x4200000000000000000000000000000000000007",
        "transactionIndex": "0x4",
        "value": "0x5af3107a4000",
        "type": "0x7e",
        "v": "0x0",
        "r": "0x0",
        "s": "0x0",
        "sourceHash": "0x0052cf47209e6f75fb4de5ecb1a75283d8492a71198b62f38ade5a71819f4740",
        "mint": "0x5af3107a4000"
      },
      {
        "blockHash": "0x0dd5b05650c80b4ffd07a0d6e3119300b755030f11a1b197b5cb4c1adeb1fbcd",
        "blockNumber": "0x5895b6",
        "from": "0xe617952e78eecd5d4424b1990a0c99b1568e8d3d",
        "gas": "0x77d2e",
        "gasPrice": "0x0",
        "hash": "0x27208faffaea344e0a171fca7d6e17a6791a1c8791fd01b89473eb8e05fbb237",
        "input": "0xd764ad0b0001000000000000000000000000000000000000000000000000000000221c15000000000000000000000000677311fd2ccc511bbc0f581e8d9a07b033d5e840000000000000000000000000420000000000000000000000000000000000001000000000000000000000000000000000000000000000000000038d7ea4c680000000000000000000000000000000000000000000000000000000000000030d4000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000a41635f5fd000000000000000000000000a35dfa06acd98c21036ee4de73cc8b95ef1ef8ed000000000000000000000000a35dfa06acd98c21036ee4de73cc8b95ef1ef8ed00000000000000000000000000000000000000000000000000038d7ea4c680000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0x221c15",
        "to": "0x4200000000000000000000000000000000000007",
        "transactionIndex": "0x5",
        "value": "0x38d7ea4c68000",
        "type": "0x7e",
        "v": "0x0",
        "r": "0x0",
        "s": "0x0",
        "sourceHash": "0x65060bf1c98fc8d276b6e1b930aea9a885e013bcc7dbd5a640d178c6c97876a5",
        "mint": "0x38d7ea4c68000"
      },
      {
        "blockHash": "0x0dd5b05650c80b4ffd07a0d6e3119300b755030f11a1b197b5cb4c1adeb1fbcd",
        "blockNumber": "0x5895b6",
        "from": "0xf9a40a2235bd0a4acb79364c76a3103f7cee62cf",
        "gas": "0x14efb",
        "gasPrice": "0x4e3b29200",
        "maxFeePerGas": "0x4e3b29200",
        "maxPriorityFeePerGas": "0x4e3b29200",
        "hash": "0x77947aaec0ef8f69b806bb230dfa532a3b14548885870ca5647360c0ad7cc625",
        "input": "0x1249c58b",
        "nonce": "0x355",
        "to": "0x5aee67f8dc2d9a5537d4b64057b52da31d37516b",
        "transactionIndex": "0x6",
        "value": "0x0",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x15eb",
        "v": "0x0",
        "r": "0x70cd7e96642d772ccf15d1960ce23c210b4a0cf8d92dac7ee3710accf178172d",
        "s": "0x3e33678f35b7f3d672e1d0d1b823829b277e1910aeb1c0b7e68f94adab3a68fe"
      },
      {
        "blockHash": "0x0dd5b05650c80b4ffd07a0d6e3119300b755030f11a1b197b5cb4c1adeb1fbcd",
        "blockNumber": "0x5895b6",
        "from": "0x0000eed71ef70257006f409bf230de12c99d2a24",
        "gas": "0x1e8480",
        "gasPrice": "0x1a13b8600",
        "hash": "0x02bbc1b79684916e80fca43926351321b8457dbd2e82e196b46e4ace08b92a09",
        "input": "0x7ff36ab50000000000000000000000000000000000000000000000000dbd2fc137a3000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000eed71ef70257006f409bf230de12c99d2a240000000000000000000000000000000000000000000000000000000064e45cdb0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000f0b4a48860434a386489eb07900a2fd20b5f45eb000000000000000000000000864e732666df56b096f2732c1013ae375282dc4b",
        "nonce": "0x3",
        "to": "0x77a5bf0e03d1ff7f7a7abce8998c1c9f985f466a",
        "transactionIndex": "0x7",
        "value": "0x38d7ea4c68000",
        "type": "0x0",
        "chainId": "0x15eb",
        "v": "0x2bfa",
        "r": "0x29f58cef137cbc976db99e05924c35aca632724a1308ce1b96f084a72b40e33e",
        "s": "0x3b1a9f77933c60b936db419faf2c0555d9f8db318cc891d1b2246b9089399543"
      },
      {
        "blockHash": "0x0dd5b05650c80b4ffd07a0d6e3119300b755030f11a1b197b5cb4c1adeb1fbcd",
        "blockNumber": "0x5895b6",
        "from": "0xbab998a9f69dad740d00e03208806d2c4f174d8e",
        "gas": "0x14efb",
        "gasPrice": "0x9502f908",
        "maxFeePerGas": "0x9502f910",
        "maxPriorityFeePerGas": "0x9502f900",
        "hash": "0x60920fbb9e18ab96626a2e23bb164da34741029f0f11f8c90545a9fe4edb8e62",
        "input": "0x1249c58b",
        "nonce": "0x2b9f",
        "to": "0x5aee67f8dc2d9a5537d4b64057b52da31d37516b",
        "transactionIndex": "0x8",
        "value": "0x0",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x15eb",
        "v": "0x1",
        "r": "0xe25777ee8185f0f889aa9b1af2029a599adfe01985cdf5e55444ad14f7889de4",
        "s": "0x6495a40696a7f5e1c3a3c9adee7da04725f2f39c78becedf626cbe54ddfe0046"
      },
      {
        "blockHash": "0x0dd5b05650c80b4ffd07a0d6e3119300b755030f11a1b197b5cb4c1adeb1fbcd",
        "blockNumber": "0x5895b6",
        "from": "0x1143312ca497c273b1a4050387f4ea0d77c12fd0",
        "gas": "0x14efb",
        "gasPrice": "0x9502f908",
        "maxFeePerGas": "0x9502f910",
        "maxPriorityFeePerGas": "0x9502f900",
        "hash": "0x701e523100886a8d77d6883680880774fd8e7d11a4563df76d51af971cf42607",
        "input": "0x1249c58b",
        "nonce": "0x142",
        "to": "0x5aee67f8dc2d9a5537d4b64057b52da31d37516b",
        "transactionIndex": "0x9",
        "value": "0x0",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x15eb",
        "v": "0x1",
        "r": "0x2a3fdf360c1d17d0d7ebc033c3d8ace6913f5ec03a9fc89b1cf3361e941e9cfa",
        "s": "0x1d82e44696c14e255fb0a67fe1ea38a6d2a8d0a95b57be3a1b015a2deebbd6a1"
      },
      {
        "blockHash": "0x0dd5b05650c80b4ffd07a0d6e3119300b755030f11a1b197b5cb4c1adeb1fbcd",
        "blockNumber": "0x5895b6",
        "from": "0xadc076ad43878f96bcf60c1a8dab59284c935bab",
        "gas": "0xd06fa",
        "gasPrice": "0x400",
        "hash": "0x3ef370f46d28ff7b8d999acf3d77edf679c8a08c33c4b2a8a9a15bea7c3b006f",
        "input": "0x30d5c892000000000000000000000000fbf8711ba09c84a0de08b26275640ab28c7acf3800000000000000000000000000000000000000000000000000d529ae9e86000000000000000000000000000000000000000000000000000000000000000000000200010064e5a05c00b401e000000000000000989680000000000000000015eb1c01000000000000000000000000000000000000000000000000000000000000238a71505d99db5d5fa2c0ffbe97a0945155b9996b3c472ad03e8ee2cc80abd872f431bf2428ef30eb014ab30c0c1e170533d862456ea3b8db5d5edf921bcb730000000000000000000000000000000000000000000000000000000000000160000000000000000000000000a0a7b82da2c14acbb2ac6122b77a3a86842889370000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000011c37937e08000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000d20d452e49458938e443ad59bc30063b86d5a940000000000000000000000000000000000000000000000045e5e89882267800000000000000000000000000000000000000000000000005a31dd04cf4eec00000201000064e5a03f01f403e800000000000000989680000000000000000015eb1b01000000000000000000000000000000000000000000000000000000000000eaca590c7893e0bdc8c229abd825666077c519f99712c0861bf5605f5c86eb9e498b1202a657e8a83d196fd6e548ba2ebc7ff6dee68f138eb34e39c3e19dfe7c0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d529ae9e8600000000000000000000000000000000000000000000000000015af1d78b58c400000000000000000000000000000000000000000000000000015af1d78b58c40000000000000000000000000000000000000000000000000000011c37937e080000",
        "nonce": "0x1dee",
        "to": "0x43cafb8a6dcf3fa004b7b92edd247134982d7bb7",
        "transactionIndex": "0xa",
        "value": "0x0",
        "type": "0x0",
        "chainId": "0x15eb",
        "v": "0x2bf9",
        "r": "0x502c7324402bedcc223ccd7a6856998a09bed79bb00bc70dc1d256800ce2d516",
        "s": "0xd147ffc93c2f57346c37e0bd6236dd8ff6a2923005920fe594b125ba5f5615a"
      }
    ],
    "transactionsRoot": "0x3916d19fc6dbbcd451a7d58686ca853347462bb1e12dc172dace5d133427ffc3",
    "uncles": []
  }
}

BLOCK: 5805495


{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "baseFeePerGas": "0x8",
    "difficulty": "0x0",
    "extraData": "0x",
    "gasLimit": "0x5f5e100",
    "gasUsed": "0x6ea43",
    "hash": "0x1e49abbf70b159f6c153fd6e98c94c7acb671ebf88b889265dbedf8a2e43587b",
    "logsBloom": "0x080101000000408000100000000000000000000000040010001000002010000000000200000000820200000840040080040000000104000000001000000000000000040000000000400000080004000004001000000000000048004000004001000000000210000000040000000008008e0800000000000000002014000000000201000000000040000000000000000000800000000000000001000000200000000001008004000001008004000200048000a00020000000000008000000000000000002000000400000800408220000000002100000000000040000000020200000000000000000000100410000004800008100200000400000000004140000",
    "miner": "0x4200000000000000000000000000000000000011",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": "0x0000000000000000",
    "number": "0x5895b7",
    "parentHash": "0x0dd5b05650c80b4ffd07a0d6e3119300b755030f11a1b197b5cb4c1adeb1fbcd",
    "receiptsRoot": "0x5180f2594018340f5762e1383c8a6239ea349264ab44ef4efa54a6d21f90804a",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "size": "0x68c",
    "stateRoot": "0x90af8e2c9fcbbabf68243bc417fde00db0e7f7a1d040ba386a02601d2746ce64",
    "timestamp": "0x64e44ee1",
    "totalDifficulty": "0x0",
    "transactions": [
      {
        "blockHash": "0x1e49abbf70b159f6c153fd6e98c94c7acb671ebf88b889265dbedf8a2e43587b",
        "blockNumber": "0x5895b7",
        "from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
        "gas": "0xf4240",
        "gasPrice": "0x0",
        "hash": "0xf0b3001c584cd62ae4f2724caa046525befddea504e4e632425d807c2343fc53",
        "input": "0x015d8eb90000000000000000000000000000000000000000000000000000000001f263820000000000000000000000000000000000000000000000000000000064e44eb0000000000000000000000000000000000000000000000000000000015c7fdaba631531c858c35ea839b652938605f957caed3a279e6aaedf974c50958778514400000000000000000000000000000000000000000000000000000000000000010000000000000000000000001fd6a75cc72f39147756a663f3ef1fc95ef89495000000000000000000000000000000000000000000000000000000000000083400000000000000000000000000000000000000000000000000000000000f4240",
        "nonce": "0x5895b6",
        "to": "0x4200000000000000000000000000000000000015",
        "transactionIndex": "0x0",
        "value": "0x0",
        "type": "0x7e",
        "v": "0x0",
        "r": "0x0",
        "s": "0x0",
        "sourceHash": "0xd7c58a0b4e7cdce4829eb67632b463bdbc6412823a2cc4ec0b9f69bbafd00967",
        "mint": "0x0"
      },
      {
        "blockHash": "0x1e49abbf70b159f6c153fd6e98c94c7acb671ebf88b889265dbedf8a2e43587b",
        "blockNumber": "0x5895b7",
        "from": "0xbab998a9f69dad740d00e03208806d2c4f174d8e",
        "gas": "0x14efb",
        "gasPrice": "0x9502f908",
        "maxFeePerGas": "0x9502f910",
        "maxPriorityFeePerGas": "0x9502f900",
        "hash": "0xf3a5218eb5a7165918b56a11618b0334a41c0c82ae1c4ce617d365a3bd0f524d",
        "input": "0x1249c58b",
        "nonce": "0x2ba0",
        "to": "0x5aee67f8dc2d9a5537d4b64057b52da31d37516b",
        "transactionIndex": "0x1",
        "value": "0x0",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x15eb",
        "v": "0x1",
        "r": "0x35597d23ec4b4084b6bb8a568a3e708171a98531506da9476e0a8d368b4e37f4",
        "s": "0x7aa65b456f4e5a048bd577af9741b1b763d98da94ef77e3f988d4ec9c515ffe6"
      },
      {
        "blockHash": "0x1e49abbf70b159f6c153fd6e98c94c7acb671ebf88b889265dbedf8a2e43587b",
        "blockNumber": "0x5895b7",
        "from": "0xc8d3d3aada093d3cb9719c00f3b3865144a24d62",
        "gas": "0x14efb",
        "gasPrice": "0x9502f908",
        "maxFeePerGas": "0x9502f910",
        "maxPriorityFeePerGas": "0x9502f900",
        "hash": "0x3fdcf6071bc262a6fabde657ae70860619e9ffa48b1daa705e6106a3d69263eb",
        "input": "0x1249c58b",
        "nonce": "0x13f9",
        "to": "0x5aee67f8dc2d9a5537d4b64057b52da31d37516b",
        "transactionIndex": "0x2",
        "value": "0x0",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x15eb",
        "v": "0x0",
        "r": "0x33364a70369021f45800377ae245b5c38eb99b921aa34a0f4cd1646be1bfe2aa",
        "s": "0x3f548b13ad30add20fb5bf0c11de9e28677465b2502cac87ebb232a551e5d928"
      },
      {
        "blockHash": "0x1e49abbf70b159f6c153fd6e98c94c7acb671ebf88b889265dbedf8a2e43587b",
        "blockNumber": "0x5895b7",
        "from": "0x7357cbe443624ddfd6f30a293fbcb2af8c285952",
        "gas": "0x22724",
        "gasPrice": "0x59682f08",
        "maxFeePerGas": "0x59682f09",
        "maxPriorityFeePerGas": "0x59682f00",
        "hash": "0x6d9ae14f0b12d5ace1caf1b91e2ed1550a39b90dfcdf31b67120f181bd46d5ec",
        "input": "0x32b7006d000000000000000000000000f46896fbef6478eaccfb1c815915daa7e6f87b22000000000000000000000000000000000000000000000000000009184e72a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0x1fe",
        "to": "0x4200000000000000000000000000000000000010",
        "transactionIndex": "0x3",
        "value": "0x0",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x15eb",
        "v": "0x1",
        "r": "0x4cd047a84e48a0f3d024326575f5ef08a43c069fc4c8732ab1a4f992a0a0bf3a",
        "s": "0x1e00f97893b099e4de761c165135816e1f8302705b528b7f25dd83de0d5202cf"
      },
      {
        "blockHash": "0x1e49abbf70b159f6c153fd6e98c94c7acb671ebf88b889265dbedf8a2e43587b",
        "blockNumber": "0x5895b7",
        "from": "0x4421455c156ebdf6f7e3077384b0dc6963ef4869",
        "gas": "0x22724",
        "gasPrice": "0x59682f08",
        "maxFeePerGas": "0x59682f09",
        "maxPriorityFeePerGas": "0x59682f00",
        "hash": "0x51b6f2561b36c5c2ba367fbde7b4bfa2d7d1a097104685286ad5a6e85bedbaf7",
        "input": "0x32b7006d000000000000000000000000845e27b8a4ad1fe3dc0b41b900dc8c1bb45141c300000000000000000000000000000000000000000000000006f05b59d3b20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0xdbb",
        "to": "0x4200000000000000000000000000000000000010",
        "transactionIndex": "0x4",
        "value": "0x0",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x15eb",
        "v": "0x1",
        "r": "0xcb02a4034dac5a8ecb9686000f5795d556c010d7f937db7c3f016ee01c947618",
        "s": "0x6a4107b6b55f4206fb5b2f459a7e1ea052c25d53a789ba040cda228302a5b5e1"
      }
    ],
    "transactionsRoot": "0x862c45b3e3571c8727517efc652618d81dca516c4c33e4f49bf2cea5affd6b92",
    "uncles": []
  }
}
alfaori1977 commented 1 year ago

UPDATE:

I've re-sync from Snapshot https://docs.bnbchain.org/opbnb-docs/docs/tutorials/running-node-with-snapshot Using this Snapshot: https://tf-nodereal-prod-opbnb-testnet-snapshot-s3-ap.s3.ap-northeast-1.amazonaws.com/geth-20231102.tar.gz

But still the same result... Cannot surpass the 43243 block offset barrier...

I'm lost now. Could you help me?

alfaori1977 commented 12 months ago

In the event that the chain is forked due to a hard fork, it is recommended to reset the blockchain and synchronize it with the latest version of the program:

  1. Clear the data directory in OP Geth
  2. Update the opbnb to latest version: git clone -b v0.2.1 git@github.com:bnb-chain/opbnb.git
  3. Update the op-geth to latest version: git clone -b v0.2.0 git@github.com:bnb-chain/op-geth.git
  4. Follow the instructions here to re-sync the testnet: https://docs.bnbchain.org/opbnb-docs/docs/tutorials/running-a-testnet-node . Just note that make sure to use the latest version of opbnb and op-geth, and use the new version genesis.json and rollup.json

Please let me know if you have any questions or encounter any problems.

OUTCOME: Same result.

welkin22 commented 11 months ago

Hello @alfaori1977, please refer to our updated help documentation at this link for the steps to try again. Here are some important points to note:

  1. Before starting a new node, make sure to clear old data.
  2. Use the latest version of the code. To check your code version, use the following method:
$ op-node -v
op-node version v0.0.0-515ebd51-1698742099

$ op-geth version
Geth
Version: 0.1.0-unstable
Git Commit: f8871fc80dbf2aa0178b504e76c20c21b890c6d5
Git Commit Date: 20231026
Upstream Version: 1.11.5-stable
Architecture: arm64
Go Version: go1.20.2
Operating System: darwin
GOPATH=
  1. If you're using docker, we recommend starting the node from this repository.
  2. Our latest code has hard-coded the content of rollup.json into the code. You can directly use --network=opBNBTestnet when starting op-node instead of --rollup.config=./rollup.json to avoid problems caused by inconsistent content of the rollup.json file.

Let me know if you need further assistance.

welkin22 commented 10 months ago

Due to the inactivity of this issue's discussion, it is now closed.