tuweni / org.apache.tuweni.evm / HostContext / getRepositoryStorage

getRepositoryStorage

abstract suspend fun getRepositoryStorage(address: Address, keyBytes: Bytes): Bytes32 (source)

Get repository storage function.

This function is used by a VM to query the given account storage entry.

Parameters

address - The address of the account.

key - The index of the account's storage entry.

Return
The storage value at the given storage key or null bytes if the account does not exist.