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:
@ -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();
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user