@Override
  public int hashCode() {
    return Objects.hash(blockHeader, shouldWorldStateUpdateHead, blockHash, stateRoot);
  }
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