protected Hash unsafeRootHashUpdate(
      final BlockHeader blockHeader,
      final PathBasedWorldStateKeyValueStorage.Updater stateUpdater) {
    // calling calculateRootHash in order to update the state
    calculateRootHash(isStorageFrozen ? Optional.empty() : Optional.of(stateUpdater), accumulator);
    return blockHeader.getStateRoot();
  }
Reset the worldState to this block header

@param blockHeader block to use
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/trie/pathbased/common/worldview/PathBasedWorldState.java