From 03365974e2ffef0bd1f444a44f6eb1861976bec7 Mon Sep 17 00:00:00 2001 From: feltroid Prime <96737978+feltroidprime@users.noreply.github.com> Date: Sun, 7 Apr 2024 14:32:20 +0200 Subject: [PATCH] Precise the pedersen hash construction for contract trie. (#1214) * 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> --- .../pages/Network_Architecture/starknet-state.adoc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/components/Starknet/modules/architecture_and_concepts/pages/Network_Architecture/starknet-state.adoc b/components/Starknet/modules/architecture_and_concepts/pages/Network_Architecture/starknet-state.adoc index 476f2fef41..ca97e1d7aa 100644 --- a/components/Starknet/modules/architecture_and_concepts/pages/Network_Architecture/starknet-state.adoc +++ b/components/Starknet/modules/architecture_and_concepts/pages/Network_Architecture/starknet-state.adoc @@ -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 ) ----