@Override
  public Map<Address, PathBasedValue<Bytes>> getCodeChanges() {
    return code;
  }
Locks the layer so no new changes can be added;
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/trie/pathbased/common/trielog/TrieLogLayer.java