Since it takes ages to build the nitro images we can use the integration image.
In nitro-testnode:
Add a bash script (so it can be run locally) that runs something like ./test-node.bash --espresso --latest-espresso-image --tokenbridge --init --validate, send an L2 to transaction and make sure the transaction is mined and finalized by the validator.
Make sure the staker is confirming nodes on L1: something like cast call --rpc-url http://localhost:8545 0x9E7027f19AE93681f5A2cb2d87841a7e1E3Cdbe7 'latestConfirmed()(uint256)' where the address is the rollup address on L1.
Since it takes ages to build the nitro images we can use the
integration
image.In
nitro-testnode
:./test-node.bash --espresso --latest-espresso-image --tokenbridge --init --validate
, send an L2 to transaction and make sure the transaction is mined and finalized by the validator.cast call --rpc-url http://localhost:8545 0x9E7027f19AE93681f5A2cb2d87841a7e1E3Cdbe7 'latestConfirmed()(uint256)'
where the address is the rollup address on L1.