diff --git a/_data/navigation.js b/_data/navigation.js index e42ae40b1d2..5185c3ab780 100644 --- a/_data/navigation.js +++ b/_data/navigation.js @@ -587,6 +587,14 @@ module.exports = { title: 'Sum', url: '/docs/jobs/task-types/sum/', }, + { + title: 'Less Than', + url: '/docs/jobs/task-types/lessthan/', + }, + { + title: 'Length', + url: '/docs/jobs/task-types/length/', + }, { title: 'Hex Decode', url: '/docs/jobs/task-types/hexdecode/', diff --git a/docs/chainlink-nodes/node-versions.md b/docs/chainlink-nodes/node-versions.md index 159200450b0..cf579d42881 100644 --- a/docs/chainlink-nodes/node-versions.md +++ b/docs/chainlink-nodes/node-versions.md @@ -12,6 +12,27 @@ metadata: You can find a list of release notes for Chainlink nodes in the [smartcontractkit GitHub repository](https://github.com/smartcontractkit/chainlink/releases). Docker images are available in the [Chainlink Docker hub](https://hub.docker.com/r/smartcontract/chainlink/tags). + +## Changes in v1.9.0 nodes + +**[v1.9.0 release notes](https://github.com/smartcontractkit/chainlink/releases/tag/v1.9.0)** + +- Added the [`length` task](/docs/jobs/task-types/length/) and the [`lessthan` task](/docs/jobs/task-types/lessthan/) for jobs. +- Added the `gasUnlimited` parameter to the [`ethcall` task](/docs/jobs/task-types/eth-call/). +- The **Keys** page in Operator UI includes several admin commands that were previously available only by using the `keys eth chain` commands: + - Ability to abandon all current transactions: This is the same as the `abandon` CLI command. Previously it was necessary to edit the database directly to abandon transactions. This command makes it easier to resolve issues that require transactions to be abandoned. + - Ability to enable/disable a key for a specific chain: This allows you to control keys on a per-chain basis. + - Ability to manually set the nonce for a key. This gives you a way to set the next nonce for a specific key in the UI, which can be useful for debugging. + +## Changes in v1.8.1 nodes + +**[v1.8.1 release notes](https://github.com/smartcontractkit/chainlink/releases/tag/v1.8.1)** + +- Added several improvements for Arbitrum Nitro including a multi-dimensional gas model, with dynamic gas pricing and limits. + - The new default estimator for Arbitrum networks uses the suggested gas price up to `ETH_MAX_GAS_PRICE_WEI` with a 1000 gwei default value and an estimated gas limit up to `ETH_GAS_LIMIT_MAX` with a 1,000,000,000 default. + - Remove the `GAS_ESTIMATOR_MODE` environment variable to use the new defaults. +- `ETH_GAS_LIMIT_MAX` to puts a maximum on the gas limit returned by the Arbitrum estimator. + ## Changes in v1.8.0 nodes **[v1.8.0 release notes](https://github.com/smartcontractkit/chainlink/releases/tag/v1.8.0)** diff --git a/docs/chainlink-nodes/oracle-jobs/task-types/task_eth_call.md b/docs/chainlink-nodes/oracle-jobs/task-types/task_eth_call.md index e82390a210a..d4bb997f9e2 100644 --- a/docs/chainlink-nodes/oracle-jobs/task-types/task_eth_call.md +++ b/docs/chainlink-nodes/oracle-jobs/task-types/task_eth_call.md @@ -13,6 +13,11 @@ Makes a non-mutating contract call to the specified contract with the specified - `contract`: the address of the contract to call. - `data`: the data to attach to the call (including the function selector). - `gas`: the amount of gas to attach to the transaction. +- `from`: The from address with which the call should be made. Defaults to zero address. +- `gasPrice`: The gasPrice for the call. Defaults to zero. +- `gasTipCap`: The gasTipCap (EIP-1559) for the call. Defaults to zero. +- `gasFeeCap`: The gasFeeCap (EIP-1559) for the call. Defaults to zero. +- `gasUnlimited`: A boolean indicating if unlimited gas should be provided for the call. If set to true, do not pass the `gas` parameter. **Outputs** diff --git a/docs/chainlink-nodes/oracle-jobs/task-types/task_length.md b/docs/chainlink-nodes/oracle-jobs/task-types/task_length.md new file mode 100644 index 00000000000..a3bb7a08dd6 --- /dev/null +++ b/docs/chainlink-nodes/oracle-jobs/task-types/task_length.md @@ -0,0 +1,27 @@ +--- +layout: nodes.liquid +section: nodeOperator +date: Last Modified +title: "Length Task" +permalink: "docs/jobs/task-types/length/" +--- + +Returns the length of a byte array or string. + +**Parameters** + +- `input`: Byte array, or string to get the length for. + +**Outputs** + +The length of the byte array or string. + +**Note**: For strings containing multi-byte unicode characters, the output is the length in bytes and not number of characters. + +**Example** + +```jpv2 +my_length_task [type="length" input="xyz"] +``` + +Given the input string "xyz", the task will return 3, length of the string. diff --git a/docs/chainlink-nodes/oracle-jobs/task-types/task_lessthan.md b/docs/chainlink-nodes/oracle-jobs/task-types/task_lessthan.md new file mode 100644 index 00000000000..681633428ba --- /dev/null +++ b/docs/chainlink-nodes/oracle-jobs/task-types/task_lessthan.md @@ -0,0 +1,34 @@ +--- +layout: nodes.liquid +section: nodeOperator +date: Last Modified +title: "Less Than Task" +permalink: "docs/jobs/task-types/lessthan/" +--- + +Returns a boolean, result of computing `left` < `right`. + +**Parameters** + +- `left`: the left hand side of comparison. Possible values: + - number + - stringified number + - bytes-ified number + - `$(variable)` +- `right`: the right hand side of comparison. Possible values: + - number + - stringified number + - bytes-ified number + - `$(variable)` + +**Outputs** + +The result of less than comparison. + +**Example** + +```jpv2 +my_lessthan_task [type="lessthan" left="3" right="10"] +``` + +the task will return true which is the result of `3 < 10`