public static WorldStateQueryParams withStateRootAndBlockHashAndNoUpdateNodeHead(
      final Hash stateRoot, final Hash blockHash) {
    return newBuilder()
        .withStateRoot(stateRoot)
        .withBlockHash(blockHash)
        .withShouldWorldStateUpdateHead(false)
        .build();
  }
Creates an instance with a state root, block hash, and does not update the node head.

@param stateRoot the state root
@param blockHash the block hash
@return an instance of WorldStateQueryParams
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/trie/pathbased/common/provider/WorldStateQueryParams.java