File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
scripts/generate/templates Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ const { OPTS } = require('./Checkpoints.opts.js');
55const header = `\
66pragma solidity ^0.8.19;
77
8- import "../math/Math.sol";
9- import "../math/SafeCast.sol";
8+ import {Math} from "../math/Math.sol";
9+ import {SafeCast} from "../math/SafeCast.sol";
1010
1111/**
1212 * @dev This library defines the \`History\` struct, for checkpointing values as they change at different points in
@@ -21,7 +21,7 @@ import "../math/SafeCast.sol";
2121
2222const errors = `\
2323 /**
24- * @dev A value was attempted to be inserted on a past checkpoint.
24+ * @dev A value was attempted to be inserted on a past checkpoint.
2525 */
2626 error CheckpointUnorderedInsertion();
2727` ;
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ const { OPTS } = require('./Checkpoints.opts.js');
66const header = `\
77pragma solidity ^0.8.19;
88
9- import "forge-std/Test.sol";
10- import "../../../contracts/utils/math/SafeCast.sol";
11- import "../../../contracts/utils/structs/Checkpoints.sol";
9+ import {Test} from "forge-std/Test.sol";
10+ import {SafeCast} from "../../../contracts/utils/math/SafeCast.sol";
11+ import {Checkpoints} from "../../../contracts/utils/structs/Checkpoints.sol";
1212` ;
1313
1414/* eslint-disable max-len */
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const TYPES = [
1212const header = `\
1313pragma solidity ^0.8.19;
1414
15- import "./EnumerableSet.sol";
15+ import {EnumerableSet} from "./EnumerableSet.sol";
1616
1717/**
1818 * @dev Library for managing an enumerable variant of Solidity's
You can’t perform that action at this time.
0 commit comments