public List<Bytes> getStorageProofRelatedNodes(
      final Bytes32 storageRoot, final Bytes32 accountHash, final Bytes32 slotHash) {
    final Proof<Bytes> storageProof =
        newAccountStorageTrie(Hash.wrap(accountHash), storageRoot).getValueWithProof(slotHash);
    return storageProof.getProofRelatedNodes();
  }
Retrieves the proof-related nodes for a storage slot in the specified account storage trie.

@param storageRoot The root hash of the account storage trie.
@param accountHash The hash of the account.
@param slotHash The hash of the storage slot.
@return A list of proof-related nodes for the storage slot.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/proof/WorldStateProofProvider.java