From d27d9e17a4a098ede9a88bcbd7e3c99c92c380b3 Mon Sep 17 00:00:00 2001 From: Pandit Dhamdhere <85685981+panditdhamdhere@users.noreply.github.com> Date: Mon, 30 Dec 2024 12:17:57 +0530 Subject: [PATCH] Update compiled-class-hash.adoc (#1462) Remove the redundant word --- .../pages/smart-contracts/compiled-class-hash.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Starknet/modules/architecture-and-concepts/pages/smart-contracts/compiled-class-hash.adoc b/components/Starknet/modules/architecture-and-concepts/pages/smart-contracts/compiled-class-hash.adoc index 0658626339..c6ba543f69 100644 --- a/components/Starknet/modules/architecture-and-concepts/pages/smart-contracts/compiled-class-hash.adoc +++ b/components/Starknet/modules/architecture-and-concepts/pages/smart-contracts/compiled-class-hash.adoc @@ -12,7 +12,7 @@ For developers, the hash is an important part of the contract declaration proces The state commitment uses the Sierra code that results when compiling Cairo classes. Sierra acts as an intermediate representation between Cairo and Casm. Provers, however, operate solely with Casm. -In order to avoid recompiling, from Sierra to Casm, each block in which the class is deployed, the state commitment gets the information it needs about the corresponding Casm from the the information contained in the compiled class hash. +In order to avoid recompiling, from Sierra to Casm, each block in which the class is deployed, the state commitment gets the information it needs about the corresponding Casm from the information contained in the compiled class hash. When declaring a contract, the party administering the contract endorses the compiled class hash, procured using an SDK, as an integral component of the xref:network-architecture/transactions.adoc#declare_v2[`DECLARE`] transaction. Following the inclusion of the transaction in a block, the compiled class hash integrates into the state commitment. @@ -38,4 +38,4 @@ When a new contract is declared on Starknet, the compiled class hash plays a piv Prospectively, as Sierra-to-Casm compilation integrates into the Starknet OS, the value might undergo updates via proof of the Sierra-to-Casm compiler execution. Such verification demonstrates that compiling the same class with an updated compiler version yields a fresh compiled class hash. -The compiled class hash is a basic element in Starknet’s architecture, enabling efficient state commitment and ensuring the integrity and uniqueness of compiled classes. \ No newline at end of file +The compiled class hash is a basic element in Starknet’s architecture, enabling efficient state commitment and ensuring the integrity and uniqueness of compiled classes.