If you are on-call, you may need run the block history integrity checks for a new chain in the Superchain. The steps to complete these requests are outlined below.
If the current BHICs do not include the chain that you want to run the checks for, you will need to make a pull request to the security tools repo.
The process of adding a new chain can be complicated if the chain you’re adding lies outside of standard deploy processes. We will describe the happy path below (I (@Blaine Malone) can assist the first time we need to perform the BHIC for a new chain so feel free to ping me):
<chain-id>
e.g. pnpm check-block-history-integrity <chain-id>
. Work your way through the errors in the logs if there are any. Once the command runs fully without any errors, you’ll need to look at the log output in order to know what addresses/commits etc to add to the PR. There are more comments in the PR above that addresses these points.main
branch, continue to the How to Manually Run the Block History Integrity Checks section below.
security-tools
. This functionality lives in superchain-registry
. Before you can fill out the email template on the next step, you must confirm that the genesis checks have already been completed in the superchain-registry
. Right now, it is expected that these genesis checks have already been performed before requesting to run BHIC for a chain.superchain-registry
: https://drive.google.com/drive/u/0/folders/1XELLOh0UCERX5QWYZS0MiqwSx0J1ETr9<aside> 💡 Congrats, you successfully ran the Block History Integrity checks for a new chain. If you’ve any questions, or run into any issues, please reach out to @Blaine Malone on Slack.
</aside>