Tezlink Bootstrapped RPC
What
Expose the bootstrapped monitor RPC in Tezlink and implement it using L2 block information.
How
- Imported and registered the
bootstrappedmonitor service fromTezos_shell_services. - Implemented the
bootstrappedfunction in the Tezlink backend using the latest block number. - Converted Ethereum block timestamp and hash to Tezos-compatible formats.
- Added a Tezt test
test_tezlink_bootstrappedvalidating that the returned block hash and timestamp match the most recent L2 block. - Updated the describe endpoint output to include the new RPC.
Manually testing the MR
Run the test suite and verify that test_tezlink_bootstrapped passes:
make octez-evm-node && dune exec etherlink/tezt/tests/main.exe -- /threshold_encryption /dal latest multichain_enabled tezlink bootstrapped rpc
Edited by Brahima Dibassi