Skip to content

Commit

Permalink
Using callouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
stoobie committed Feb 29, 2024
1 parent 23dc858 commit 789d9e7
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ Consider the following onchain data that was extracted from L1:
558404273560404778508455254030458021013656352466216690688595011803280448032 <7>
]
----
<1> The first element, `1`, is the number of contracts whose state was updated.
<2> The second element, `2019172390095051323869047481075102003731246132997057518965927979101413600827`, is the address of the first, and only, contract whose state changed.
<3> The third element, `18446744073709551617`, which is 2^64^+1, encodes the following:
<1> The number of contracts whose state was updated.
<2> The address of the first, and only, contract whose state changed.
<3> `18446744073709551617`, which is 2^64^+1, encodes the following:
* The class information flag is `0`, that is, the contract was not deployed or replaced just now, so you shouldn't treat the next word as the class hash.
* The new nonce is `1`.
* One storage cell was updated.
<4> The next two elements, `100` and `200`, encode the storage update, where the value of key `100` is set to `200`.
<5> the new declare section: `1` includes a single xref:Network_Architecture/transactions.adoc#declare_v2[declare v2] transaction in this state update.
<4> These two elements, `100` and `200`, encode the storage update, where the value of key `100` is set to `200`.
<5> The new declare section: `1` includes a single xref:Network_Architecture/transactions.adoc#declare_v2[declare v2] transaction in this state update.
<6> Encoding of xref:../Smart_Contracts/class-hash.adoc[the class hash].
<7> Encoding of the compiled class hash of the declared class.

Expand Down

0 comments on commit 789d9e7

Please sign in to comment.