mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 22:56:43 +00:00
core/state: polish
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
f595cb6653
commit
74cc372dec
1 changed files with 4 additions and 3 deletions
|
|
@ -55,9 +55,10 @@ type accountUpdate struct {
|
||||||
// The map key refers to the **HASH** of the raw storage slot key.
|
// The map key refers to the **HASH** of the raw storage slot key.
|
||||||
storages map[common.Hash][]byte
|
storages map[common.Hash][]byte
|
||||||
|
|
||||||
// storagesOrigin store the original values of mutated slots in prefix-zero-trimmed RLP format.
|
// storagesOrigin store the original values of mutated slots in
|
||||||
// if `rawStorageKey` is true, the map key refers to the **RAW** storage slot key,
|
// prefix-zero-trimmed RLP format.
|
||||||
// else the **HASH** of the raw storage slot key.
|
// - the map key refers to the **RAW** slot key if `rawStorageKey` is true
|
||||||
|
// - the map key refers to the **HASH** of slot key if `rawStorageKey` is false
|
||||||
storagesOrigin map[common.Hash][]byte
|
storagesOrigin map[common.Hash][]byte
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue