Commit 6797902
authored
core/state: move UpdateContractCode before the trie hash is computed (#27853)
Context: The UpdateContractCode method was introduced for the state storage commitment
schemes that include the whole code for their commitment computation. It must therefore be called
before the root hash is computed at the end of IntermediateRoot.
This should have no impact on the MPT since, in this context, the method is a no-op.1 parent 10d9f93 commit 6797902
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
549 | 552 | | |
550 | 553 | | |
551 | 554 | | |
| |||
1189 | 1192 | | |
1190 | 1193 | | |
1191 | 1194 | | |
1192 | | - | |
1193 | 1195 | | |
1194 | 1196 | | |
1195 | 1197 | | |
| |||
0 commit comments