no blocks finalized after 21000 blocks
jcstein opened this issue · comments
when i query cast block finalized --rpc-url http://localhost:9545/
i still get 0 blocks finalized, meaning no txs are finalized. according to the OP docs: “If the transaction isn’t finalized or safe, it’s unsafe.”
Here is a gist with relevant logs. This can be reproduced on #20
Command to return only the block number (from OP team):
cast block finalized --field number --rpc-url http://localhost:9545
Example for Optimism testnet:
cast block finalized --field number --rpc-url https://rpc.ankr.com/optimism_testnet
This may be specific to the devnet setup for ethereum-optimism
, but not our setup.
This is due to the L1 not finalizing in the devnet. It is a POA chain. Goerli finalizes, so it would work as expected when deployed to Goerli.