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 uint48


Strategy 2 - Passing minConfirmations as string:
_req.add("minConfirmations", Strings.toString(spec.minConfirmations)); // NB: I do use OZ Strings library


However, 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!
Description
Attempting to set
ethtxminConfirmationsviacborparseoutput makes the jobrun error with:No matter whether I send it as
uint256orstring, the error is the same.Strategy 1 - Passing
minConfirmationsasuint256:Strategy 2 - Passing
minConfirmationsasstring:However,
gasLimitcan be passed asuint256and set viacborparseoutput: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 awebhookjob though (I remember breaking an old node version attempting to make anethtxviawebhookjob).Thanks!