Use explicit imports (#4399)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
This commit is contained in:
Francisco
2023-06-29 17:12:26 -03:00
committed by GitHub
parent d6a8b2ccd7
commit 874c2d3c02
176 changed files with 428 additions and 379 deletions

View File

@ -5,8 +5,8 @@ const { OPTS } = require('./Checkpoints.opts.js');
const header = `\
pragma solidity ^0.8.19;
import "../math/Math.sol";
import "../math/SafeCast.sol";
import {Math} from "../math/Math.sol";
import {SafeCast} from "../math/SafeCast.sol";
/**
* @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";
const errors = `\
/**
* @dev A value was attempted to be inserted on a past checkpoint.
* @dev A value was attempted to be inserted on a past checkpoint.
*/
error CheckpointUnorderedInsertion();
`;