public Bytes getRoot() {
    return root;
  }
Returns the expected root hash of the Trie after all inputs have been entered.

@return The expected root hash of the Trie after all inputs have been entered.
ethereum/referencetests/src/reference-test/java/org/hyperledger/besu/ethereum/trie/TrieRefTestCaseSpec.java