Skip to content

Commit

Permalink
feat(katana): allow choosing the class in the genesis file using name…
Browse files Browse the repository at this point in the history
… w/o affecting the actual class hash (#1975)

* resolving issue #1502

* run clippy

* create custom deserializer

* Fills up name_classes HashMap after hash classes computation

* stuff

---------

Co-authored-by: Ammar Arif <[email protected]>
  • Loading branch information
Yogalholic and kariy authored May 22, 2024
1 parent bec687b commit 9aa4301
Show file tree
Hide file tree
Showing 6 changed files with 394 additions and 177 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions crates/katana/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ cairo-lang-starknet.workspace = true
flate2.workspace = true
starknet_api.workspace = true

[dev-dependencies]
similar-asserts.workspace = true

[features]
default = [ "serde" ]
rpc = [ ]
Expand Down
Loading

0 comments on commit 9aa4301

Please sign in to comment.