-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Launch tests and prod proposals #14
Conversation
09e55bb
to
b354695
Compare
test/Integration.t.sol
Outdated
uint256[] internal _minterKeys; | ||
uint256[] internal _validatorKeys; | ||
|
||
uint256[][2] internal _initialBalances; | ||
address[][2] internal _initialAccounts = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should live in a TestUtils file if we want to reuse it across tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, there are only 3 tests. But if we made more off mainnet, then this file would become an IntergrationtestBase
, and tests would be moved elsewhere. These are fixtures, not utils.
|
||
function _encodeSetMintDelay(uint256 mintDelay_) internal pure returns (bytes memory) { | ||
return abi.encodeWithSelector(IStandardGovernor.setKey.selector, _MINT_DELAY, mintDelay_); | ||
function _encodeAdd(bytes32 list_, address account_) internal pure returns (bytes memory) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These helper functions should live in a TestUtils file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, but there is no TestUtils
file yet, and this file itself might become a TestBase as the tests are moved elsewhere.
bb88b1d
to
9a2efb4
Compare
9a2efb4
to
0c3d0ee
Compare
05dbb87
to
1631dd7
Compare
1631dd7
to
b490314
Compare
No description provided.