Skip to content

Contract function call fails #21

Closed
@iherger

Description

@iherger

The following call fails with an error on Alchemy (but seems to work fine on Infura):
Contract: 0x280ba3da0b8b3601c19870e5db9126a62449dcdc
Function: calcGav
Block: 7648899
(other contracts in other blocks may be affected as well)

The handler code is: https://github.com/melonproject/melon-subgraph/blob/master/src/mappings/PriceSource.ts#L106

The error message from Alchemy is
Trying again after eth_call RPC call failed (attempt #140) with result Err(CallError(ErrorMessage { msg: "RPC error: Error { code: ServerError(-32015), message: \"VM execution error.\", data: Some(String(\"Reverted 0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000125072696365206973206e6f742076616c69640000000000000000000000000000\")) }" })), block_hash: 0xb5896d5973cd0f85084e2be924a3af08e36c39e5259579e52f00c15cb1b97317, block_number: 7648899, updates: 657

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions