Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure on Call input decoding #3194

Closed
evaporei opened this issue Jan 26, 2022 · 1 comment · Fixed by #3219
Closed

Failure on Call input decoding #3194

evaporei opened this issue Jan 26, 2022 · 1 comment · Fixed by #3219
Assignees
Labels
bug Something isn't working chains/ethereum

Comments

@evaporei
Copy link
Contributor

evaporei commented Jan 26, 2022

Before the mappings run we decode the call.input data parameters, and that's failing for a few subgraphs.

Example:

Subgraph failed with non-deterministic error: failed to process trigger: block #9212748 (0x2ca0…024f), transaction 4e6b6ba98b5249874882099903a988d23e50d2746cbccab9ae25e020106e69b5: Generating function inputs for the call Function { name: "issueBounty", inputs: [Param { name: "_issuer", kind: Address, internal_type: None }, Param { name: "_deadline", kind: Uint(256), internal_type: None }, Param { name: "_data", kind: String, internal_type: None }, Param { name: "_fulfillmentAmount", kind: Uint(256), internal_type: None }, Param { name: "_arbiter", kind: Address, internal_type: None }, Param { name: "_paysTokens", kind: Bool, internal_type: None }, Param { name: "_tokenContract", kind: Address, internal_type: None }], outputs: [Param { name: "", kind: Uint(256), internal_type: None }], constant: false, state_mutability: NonPayable } failed, raw input: 788acd7e00000000000001010101010101010101010101104080040080800000010000000001000000000000000000000000000000000000000000000000000100000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc0000000004000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000002000028001: Invalid data, retry_delay_s: 1800, attempt: 81

Source code:

"Generating function inputs for the call {:?} failed, raw input: {}",

Isolated gist: https://gist.github.com/otaviopace/05a6fc20af6ca267d932cffaf4e0bd98

@evaporei evaporei self-assigned this Jan 26, 2022
@evaporei evaporei added bug Something isn't working chains/ethereum labels Jan 26, 2022
@jakerockland
Copy link

Thank you very much for filing this for our visibility @otaviopace 🙏 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chains/ethereum
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants