Skip to content

How to make ovm-allowances.json of op-migrate #22

Closed Answered by smartcontracts
theo-learner asked this question in Miscellaneous
Discussion options

You must be logged in to vote

ovm-allowances.json was generated by using a legacy (OVM 1.0) node to query for allowance events. The reason this file is needed is so that we could guarantee that all ETH balances were correctly migrated as part of the Bedrock migration. Guaranteeing this required that we confirmed that every storage slot within the OVM_ETH smart contract had been accounted for. Since this included allowances from the legacy OVM system, this meant that we also needed to generate a list of all allowances. The Bedrock migration script uses the combination of the ovm-addresses, evm-addresses, and ovm-allowances files to verify that all storage slots within the OVM_ETH contract are accounted for.

Generating …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@theo-learner
Comment options

@sbvegan
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by theo-learner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
miscellaneous Uncategorized developer questions, we'll figure it out together. discussion-metrics Used by Github Action to gather discussion metrics on the question and answer section.
3 participants