Skip to content

Commit

Permalink
chore: update class hash in genesis config (keep-starknet-strange#1079)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushtom authored Sep 16, 2023
1 parent 5e24aba commit f98d425
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Next release

- chore: add real class hash values for genesis config
- feat: unification of the DA interface
- feat: use resolver 2 for cargo in the workspace
- upgrade: restructure code for rust latest version
Expand Down
27 changes: 22 additions & 5 deletions configs/genesis-assets/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,29 @@
"version": 1
}
],
["0x1000", { "path": "cairo-contracts/test.json", "version": 0 }],
["0x10000", { "path": "cairo-contracts/ERC20.json", "version": 0 }],
["0x20000", { "path": "cairo-contracts/ERC20.json", "version": 0 }],
["0x80000", { "path": "cairo-contracts/ERC721.json", "version": 0 }],
[
"0x90000",
"0x05a2b92d9a36509a3d651e7df99144a4ad8301e2caf42465ee6ab0451ae91882",
{
"path": "cairo-contracts/test.json",
"version": 0
}
],
[
"0x0372ee6669dc86563007245ed7343d5180b96221ce28f44408cff2898038dbd4",
{
"path": "cairo-contracts/ERC20.json",
"version": 0
}
],
[
"0x077cc28ed3c661419fda16bf120fb81f1f8f28617f5543b05a86d63b0926bbf4",
{
"path": "cairo-contracts/ERC721.json",
"version": 0
}
],
[
"0x07b3e05f48f0c69e4a65ce5e076a66271a527aff2c34ce1083ec6e1526997a69",
{
"path": "cairo-contracts/UniversalDeployer.json",
"version": 0
Expand Down
9 changes: 4 additions & 5 deletions docs/genesis.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,10 @@ The below defines all hardcoded values set in the geneses:
| 0x07db5c2c2676c2a5bfc892ee4f596b49514e3056a0eee8ad125870b4fb1dd909 | Braavos account call aggregator class hash |
| 0x3131fa018d520a037686ce3efddeab8f28895662f019ca3ca18a626650f7d1e | Proxy class hash |
| 0x006280083f8c2a2db9f737320d5e3029b380e0e820fe24b8d312a6a34fdba0cd | Openzeppelin account class hash |
| 0x1000 | Test contract class hash |
| 0x10000 | ERC20 class hash |
| 0x20000 | ERC20 class hash |
| 0x80000 | ERC721 class hash |
| 0x90000 | Universal deployer class hash |
| 0x05a2b92d9a36509a3d651e7df99144a4ad8301e2caf42465ee6ab0451ae91882 | Test contract class hash |
| 0x0372ee6669dc86563007245ed7343d5180b96221ce28f44408cff2898038dbd4 | ERC20 class hash |
| 0x077cc28ed3c661419fda16bf120fb81f1f8f28617f5543b05a86d63b0926bbf4 | ERC721 class hash |
| 0x04569ffd48c2a3d455437c16dc843801fb896b1af845bc8bc7ba83ebc4358b7f | Universal deployer class hash |

<!-- markdownlint-disable MD013 -->

Expand Down

0 comments on commit f98d425

Please sign in to comment.