-
Notifications
You must be signed in to change notification settings - Fork 0
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
GoodDollar Fork Tests #530
GoodDollar Fork Tests #530
Conversation
we need this in the fork tests
come sing along to the alphabet song
7931c72
to
04f0942
Compare
its logic has instead been fully integrated into the good dollar fork 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.
contract changes look good, tests will be reviewed together with other changes in the final PR
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.
LGTM, I did have an intermittent test fail on the rateFeedDependencies_haltDependantTrading
test however I'd assume that's related to state of the chain when forking.
@chapati23 To confirm if this potential erroring is an issue however I can't deliberately cause the error to happen so I would assume it's a natural behaviour of the on chain logic
7704a9b chore: reserve storage gap in new contracts 040b7fe GoodDollar Fork Tests (#530) 2ee14b4 Feat(454): Exchange provider tests (#529) 578747c test: add BancorExchangeProvider pricing tests (#532) fcd3d02 feat: improve tests around the expansion controller (#533) d3a31fa Streamline comments and errors (#528) ec64f0a fix: ☦ pray to the lords of echidna 13d3a98 fix: add back forge install to the CI step c236009 fix: echidna tests c50a198 feat: add Broker liquidity check (#523) 914ba7d Address Slither Issues in GoodDollar/Bancor Contracts (#526) 8bcf3fd Feat/change gdollar modifiers (#524) 379a511 feat: make validate() internal bcbd9aa chore: added "yarn todo" task to log out open todos in the code 0631c60 refactor: renamed SafeERC20 to SafeERC20MintableBurnable 2800297 feat: simplified SafeERC20 e858391 feat: extend open zeppelin's IERC20 instead of duplicating it 196f6be chore: fixed linter and compiler warnings 096efe2 test: fix fork integration test e5308d9 feat: add GoodDollar contracts + tests 3135626 feat: update Broker + TradingLimits to 0.8 and make G$ changes
Description
require
s toBancorExchangeProvider.executeSwap()
to guard against potential underflows.solhint.test.json
into./test/.solhint.json
so the VS Code solidity extension can pick it up (rn it's using the main config also for tests which results in lots of annoying red squiggles that are non-issues)How to review
git checkout chore/gooddollar-fork-tests
yarn fork-test:celo-mainnet
, they should be green (alfajores is broken due to L2 changes unrelated to this PR)