Skip to content

Commit

Permalink
try with new file as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Aug 13, 2024
1 parent b674d5a commit 0e40482
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/scripts/ci/prompt-difference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: <file_name>"
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: <file_name>"

Format **New Issues** as Heading 2 using double sharp characters (##). Otherwise, do not include any another preamble and postamble to your answer.
17 changes: 17 additions & 0 deletions contracts/src/v0.8/automation/v2_3/AutomationUtils2_3New.sol
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 0e40482

Please sign in to comment.