Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata hash extractor #212

Merged
merged 4 commits into from
Aug 16, 2024
Merged

Metadata hash extractor #212

merged 4 commits into from
Aug 16, 2024

Conversation

gvladika
Copy link
Contributor

Add script that gets Hardhat and Foundry metadata hashses for selected contracts

ie.

❯ yarn hardhat run scripts/printMetadataHashes.ts
yarn run v1.22.19
warning package.json: License should be a valid SPDX license expression
$ hardhat run scripts/printMetadataHashes.ts
No need to generate any newer typings.
HARDHAT:
Inbox: 1220b7485c2de1f6dc3591e34e6caaa5c0e85db502f63ee4a2e1395b319d664a
Outbox: 12202e450a5acd14411d8e2b53eeb592dd06b55b7f63c68edc1a4a9ade28f56e
SequencerInbox: 12204f8f021822cf7176fea38232b408aef0ea4bb11955495cb6a95ac3949760
Bridge: 1220ba7a1cededf660a42a7377a73bb0d14a4397581fcbb24bebdd45d63810c2
ERC20Inbox: 122049d58bdcb0b372ec561909ccbdc8a8698ab4fd67328e4915702624165ea8
Add script that gets metadata hashses for selected contracts
ERC20Outbox: 1220f184c5915a9b00508c8f065f27c0db0022f5b81993633901b875bea47b88
SequencerInbox: 12204f8f021822cf7176fea38232b408aef0ea4bb11955495cb6a95ac3949760
ERC20Bridge: 1220f587e602015bef05909a3dc4d3f302450c6b00ea429653353e9c6a202972
RollupProxy: 12201b31c429a0e4c8b02c3e9ecc213345054112368bf2c3821ae941dd87167c
RollupAdminLogic: 12200cccacba20823fc9fd4317eedf3bde7cd34298b6c44e0524c6fd7c432500
RollupUserLogic: 1220163235316aa07543121cd3c56a9496cf1f9bbef6c006a218feb9ada2564c
ChallengeManager: 1220b4c1d6d5dd4fa305937ef1b868b0f129d6ac3cf3252a6d1652939c5d1431

FOUNDRY:
Inbox: 1220b2236fa1c71d503c2249d1ba68300e80a852a2cb61d2c5f5f9a502756765
Outbox: 1220ef1ef338d107f1f0ca8ce025302890a96bfc0d119951505f80479d40304e
SequencerInbox: 1220715892ad19c929ea4ff302535ed1346c288e1ba1171ed0bb31af4d55e6c9
Bridge: 1220cf8a2df9168c7d5af713d037a7a686dc8face22911e8979f91a80e8c1560
ERC20Inbox: 1220a86e06167a12a30777dfe45d75df681623b79e9f9a16354753ac8a3e8733
ERC20Outbox: 1220bddba45bc243a3f3fbb3abb06a6438b7e679d030632696332305c3d0957d
SequencerInbox: 1220715892ad19c929ea4ff302535ed1346c288e1ba1171ed0bb31af4d55e6c9
ERC20Bridge: 12204de6c5de92ad43eb67bffc52cab35d3bfe43bdbe1c92a87b47c52c4219fe
RollupProxy: 12203c63fe44897f48b54b48cd0122022da24e3d826a7094477bee4b141a3719
RollupAdminLogic: 12206e4b14f0ba1867838a380d5a96840b0bad0f8f8432684fcb768d34adfa96
RollupUserLogic: 122006286e4932e73a20a8fd87110c086184ed247dd089921e395ef286daa96c
ChallengeManager: 122016dbae74f1e8194cb2f0122feb8899b1c3268ecd7af3f7e5b5ae4b90b899
✨  Done in 1.66s.

@cla-bot cla-bot bot added the s label Jul 12, 2024
@gvladika gvladika marked this pull request as ready for review July 12, 2024 14:14
Copy link
Member

@gzeoneth gzeoneth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should also make sure workdir is clean, and build before printing out

@gzeoneth gzeoneth merged commit 79a206d into develop Aug 16, 2024
12 checks passed
@gzeoneth gzeoneth deleted the get-metadata branch August 16, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants