eth_getStorageAt return "sql: no rows in result set" but geth return correct data #64

Closed
opened 2021-04-21 13:47:14 +00:00 by ramilexe · 2 comments
ramilexe commented 2021-04-21 13:47:14 +00:00 (Migrated from github.com)

Test case: https://github.com/vulcanize/ipld-eth-server/pull/53/files#diff-8118e44ac15fb5ab2e2ece2ab52fd23062a10b5cc9c55ee5b3620a1242cff27cR289

geth returns the correct value but ipld-eth-server returns error: sql: no rows in result set

Test case: https://github.com/vulcanize/ipld-eth-server/pull/53/files#diff-8118e44ac15fb5ab2e2ece2ab52fd23062a10b5cc9c55ee5b3620a1242cff27cR289 * deploy ERC20 smart contract: https://github.com/vulcanize/ipld-eth-server/blob/8ac6d48772d037c22793535e9ff5db0b1e5435e9/test/contract/contracts/GLDToken.sol * query storage at slot 0x2 (totalSupply) https://github.com/OpenZeppelin/openzeppelin-contracts/blob/243adff49ce1700e0ecb99fe522fb16cff1d1ddc/contracts/token/ERC20/ERC20.sol#L38 geth returns the correct value but ipld-eth-server returns error: `sql: no rows in result set`
ramilexe commented 2021-04-21 19:10:56 +00:00 (Migrated from github.com)

fixed in commit cef4b1ddc6

fixed in commit https://github.com/vulcanize/ipld-eth-server/pull/53/commits/cef4b1ddc6693ef95eae1410a9ee9c7b7e066dbb
ramilexe commented 2021-04-29 13:35:53 +00:00 (Migrated from github.com)
fixed in PR https://github.com/vulcanize/ipld-eth-server/pull/53
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/ipld-eth-server#64
No description provided.