-
Notifications
You must be signed in to change notification settings - Fork 54
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
Mainnet spell 2025-02-21 #454
base: master
Are you sure you want to change the base?
Conversation
@@ -22,6 +22,7 @@ export FOUNDRY_LIBRARIES="lib/dss-exec-lib/src/DssExecLib.sol:DssExecLib:$DSS_EX | |||
export FOUNDRY_OPTIMIZER=false | |||
export FOUNDRY_OPTIMIZER_RUNS=200 | |||
export FOUNDRY_ROOT_CHAINID=1 | |||
export FOUNDRY_GAS_LIMIT=18446744073709551615 |
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.
NOTE: I've increased gas limit for the tests due to the error arising from testArbitrumTokenGatewayIntegration
function. More specifically, the error EvmError: MemoryOOG is thrown by arbitrumDomain.relayFromHost(false)
line in the test, when this env variable is not present. Chosen FOUNDRY_GAS_LIMIT
value is arbitrary and is simply twice bigger than the default value specified in the foundry docs. This adjustment should not affect execution of the spell on the mainnet.
src/DssSpell.sol
Outdated
|
||
// Exit fee to 0% | ||
DssExecLib.setValue(LOCKSTAKE_ENGINE, "fee", 0); | ||
// Note: Convert Usds to Dai |
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.
Doesn't make a huge difference, but you can use USDS_JOIN and avoid the conversion.
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.
Thx! addressed in 26d405a
Description
Spell crafted based on the relevant Executive Sheet.
Contribution Checklist
(PE-<TICKET_NUMBER>)
Checklist
officeHours
modifier override30 days
unless otherwise specified)ETH_GAS_LIMIT="XXX" ETH_GAS_PRICE="YYY" make deploy
mainnet
contract on etherscanmake archive-spell
ormake date="YYYY-MM-DD" archive-spell
to make an archive directory and copyDssSpell.sol
,DssSpell.t.sol
,DssSpell.t.base.sol
, andDssSpellCollateralOnboarding.sol
squash and merge
this PR