Get value for array of integer and boolean types in solidity mapper (#30)

* Implement getting value for array type.

* Add subtypes in solidit mapper readme.

Co-authored-by: nikugogoi <95nikass@gmail.com>
This commit is contained in:
Ashwin Phatak
2021-06-03 15:03:39 +05:30
committed by GitHub
co-authored by nikugogoi
parent 00eb129536
commit 23f9a9db41
7 changed files with 198 additions and 77 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ export const getStorageAt: GetStorageAt = async ({ blockHash, contract, slot })
// TODO: Fix use of blockHash as hex string in getStorageAt.
// Using blockHash in getStorageAt throws error.
// https://github.com/ethers-io/ethers.js/pull/1550#issuecomment-841746994
// Using latest tag for temporary fix.
// Using latest tag for temporary fix in test scenario.
blockHash = 'latest';
const value = await ethers.provider.getStorageAt(contract, slot, blockHash);