This fixes #73. The issue here is that the code incorrectly uses receipt.contractAddress to check inboxAddress. The fix here will filter the txs with success status and tx.to == inboxAddress.
Test:
Run make devnet-up
Run cast bn safe -r http://localhost:9545 , and observe an increasing number
Run docker logs ops-bedrock-op-node-1, and observe the new batches are retrieved from L1 during derivation.
This fixes #73. The issue here is that the code incorrectly uses
receipt.contractAddress
to checkinboxAddress
. The fix here will filter the txs with success status andtx.to == inboxAddress
.Test:
make devnet-up
cast bn safe -r http://localhost:9545
, and observe an increasing numberdocker logs ops-bedrock-op-node-1
, and observe the new batches are retrieved from L1 during derivation.