diff --git a/contracts/scripts/ci/prompt-difference.md b/contracts/scripts/ci/prompt-difference.md index e1bc477cbb8..f87a8750e11 100644 --- a/contracts/scripts/ci/prompt-difference.md +++ b/contracts/scripts/ci/prompt-difference.md @@ -14,6 +14,6 @@ For each issue include original description text from the report together with s Group the issues by their type, which is defined as Heading 2 (##). Output your response starting from**New Issues** in escaped, markdown text that can be sent as http body to API. Do not wrap output in code blocks. -Extract the name of the file from the first line of the report and title the new report with it in a following way: "# Slither diff report for: " +Extract the name of the file from the first line of the report and title the new report with it in a following way: "# Slither's new issues in: " Format **New Issues** as Heading 2 using double sharp characters (##). Otherwise, do not include any another preamble and postamble to your answer. diff --git a/contracts/src/v0.8/automation/v2_3/AutomationUtils2_3New.sol b/contracts/src/v0.8/automation/v2_3/AutomationUtils2_3New.sol new file mode 100644 index 00000000000..59081b7f19b --- /dev/null +++ b/contracts/src/v0.8/automation/v2_3/AutomationUtils2_3New.sol @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: BUSL-1.1 +pragma solidity 0.8.19; + +import {AutomationRegistryBase2_3} from "./AutomationRegistryBase2_3.sol"; + +/** + * @notice this file exposes structs that are otherwise internal to the automation registry + * doing this allows those structs to be encoded and decoded with type safety in offchain code + * and tests because generated wrappers are made available + */ + +contract AutomationUtils2_3 { + /** + * @dev this uses the v2.3 Report, which uses linkUSD instead of linkNative (as in v2.2 and prior). This should be used only in typescript tests. + */ + function _report(AutomationRegistryBase2_3.Report memory) external {} // 0xe65d6546 +}