-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
investigatingNeeds someone to take a deeper look. Has been viewed and someone will figure out the procedure.Needs someone to take a deeper look. Has been viewed and someone will figure out the procedure.
Description
Description
Attempting to set ethtx minConfirmations via cborparse output makes the jobrun error with:
"__typename": "JobRun",
"id": "110",
"allErrors": [
"minConfirmations: strconv.ParseUint: parsing "$(decode_cbor.minConfirmations)": invalid syntax: bad input for task"
],
"createdAt": "2022-05-25T13:15:26.136101Z",
"fatalErrors": [
"minConfirmations: strconv.ParseUint: parsing "$(decode_cbor.minConfirmations)": invalid syntax: bad input for task"
],No matter whether I send it as uint256 or string, the error is the same.
Strategy 1 - Passing minConfirmations as uint256:
_req.addUint("minConfirmations", uint256(spec.minConfirmations)); // NB: I do have a uint48Strategy 2 - Passing minConfirmations as string:
_req.add("minConfirmations", Strings.toString(spec.minConfirmations)); // NB: I do use OZ Strings libraryHowever, gasLimit can be passed as uint256 and set via cborparse output:
req.addUint("gasLimit", uint256(gasLimit));Basic Information
Reproduced with Chainlink Node v1.2.0 and v1.4.1
Environment Variables
Not relevant
Steps to Reproduce
The hard way is implementing a consumer contract that sends minConfirmations. I haven't tried it using a webhook job though (I remember breaking an old node version attempting to make an ethtx via webhook job).
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
investigatingNeeds someone to take a deeper look. Has been viewed and someone will figure out the procedure.Needs someone to take a deeper look. Has been viewed and someone will figure out the procedure.


