private SortedMap<UInt256, Proof<Bytes>> getStorageProofs(
      final Hash accountHash,
      final PmtStateTrieAccountValue account,
      final List<UInt256> accountStorageKeys) {
    final MerkleTrie<Bytes32, Bytes> storageTrie =
        newAccountStorageTrie(accountHash, account.getStorageRoot());
    final NavigableMap<UInt256, Proof<Bytes>> storageProofs =
        new TreeMap<>(Comparator.comparing(Bytes32::toHexString));
    accountStorageKeys.forEach(
        key -> storageProofs.put(key, storageTrie.getValueWithProof(Hash.hash(key))));
    return storageProofs;
  }
The WorldStateProofProvider class is responsible for providing proofs for world state entries. It
interacts with the underlying storage and trie data structures to generate proofs.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/proof/WorldStateProofProvider.java