public Builder withWorldStateArchive(final WorldStateArchive worldStateArchive) {
      this.worldStateArchive = worldStateArchive;
      return this;
    }
Sets the {@link WorldStateArchive} for the {@link ProtocolContext}.

@param worldStateArchive the world state archive to be used in the protocol context.
@return the builder instance for chaining.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/ProtocolContext.java