File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/content/docs/en/technology/sequencer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ An Ethereum Account Leaf Node consists of an Ethereum address and a state accoun
106
106
var address byte [20 ] // 20 bytes in big-endian
107
107
valHi := address[0 :16 ]
108
108
valLo := address[16 :20 ] * 2 ^96 // padding 12 bytes of 0 at the end
109
- nodeKey := h{256 }(valHi, valLo)
109
+ nodeKey := h{512 }(valHi, valLo)
110
110
```
111
111
112
112
A state account struct in the Scroll consists of the following fields (` Fr ` indicates the finite field and is a 254-bit value)
@@ -182,7 +182,7 @@ A Storage Leaf Node encodes a key-value pair where both key and value are `u256`
182
182
var storageKey byte [32 ] // 32 bytes in big-endian
183
183
valHi := storageKey[0 :16 ]
184
184
valLo := storageKey[16 :32 ]
185
- nodeKey := h{256 }(valHi, valLo)
185
+ nodeKey := h{512 }(valHi, valLo)
186
186
```
187
187
188
188
The storage value is a ` u256 ` value. The ` flag ` for the storage value is 1, shown below.
You can’t perform that action at this time.
0 commit comments