mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-09 17:24:07 +00:00
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:
co-authored by
nikugogoi
parent
00eb129536
commit
23f9a9db41
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user