Skip to content

Commit

Permalink
Precise the pedersen hash construction for contract trie. (#1214)
Browse files Browse the repository at this point in the history
* Update starknet-state.adoc

Precise the correct way the pedersen function is used for the leaf in the contract trie root.

* Update components/Starknet/modules/architecture_and_concepts/pages/Network_Architecture/starknet-state.adoc

---------

Co-authored-by: Steve Goodman <39279277+stoobie@users.noreply.github.com>
  • Loading branch information
feltroidprime and stoobie authored Apr 7, 2024
1 parent ea1a708 commit 0336597
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,14 @@ The information stored in the leaf is as follows:
[,,subs="quotes"]
----
_h_~Ped~(
class_hash,
storage_root,
nonce,
0
_h_~Ped~(
_h_~Ped~(
class_hash,
storage_root
),
nonce
),
0
)
----

Expand Down

0 comments on commit 0336597

Please sign in to comment.