• Guillaume Ballet's avatar
    core/state: move UpdateContractCode before the trie hash is computed (#27853) · 67979022
    Guillaume Ballet authored
    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.
    67979022
statedb.go 48.4 KB