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');
5
5
const header = `\
6
6
pragma solidity ^0.8.19;
7
7
8
- import "../math/Math.sol";
9
- import "../math/SafeCast.sol";
8
+ import {Math} from "../math/Math.sol";
9
+ import {SafeCast} from "../math/SafeCast.sol";
10
10
11
11
/**
12
12
* @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";
21
21
22
22
const errors = `\
23
23
/**
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.
25
25
*/
26
26
error CheckpointUnorderedInsertion();
27
27
` ;
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ const { OPTS } = require('./Checkpoints.opts.js');
6
6
const header = `\
7
7
pragma solidity ^0.8.19;
8
8
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";
12
12
` ;
13
13
14
14
/* eslint-disable max-len */
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const TYPES = [
12
12
const header = `\
13
13
pragma solidity ^0.8.19;
14
14
15
- import "./EnumerableSet.sol";
15
+ import {EnumerableSet} from "./EnumerableSet.sol";
16
16
17
17
/**
18
18
* @dev Library for managing an enumerable variant of Solidity's
You can’t perform that action at this time.
0 commit comments