-
Notifications
You must be signed in to change notification settings - Fork 17
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
MIP-X10 #441
MIP-X10 #441
Conversation
@anajuliabit @ElliotFriedman If I try to generate calldata locally via I get the following error for Moonbeam xcDOT:
If I remove the mxcDOT entry from the json, I am able to generate the calldata without issues. Could you please advise? |
proposals/mips/mip-x09/x09.json
Outdated
{ | ||
"collateralFactor": -1, | ||
"irm": "", | ||
"market": "mxcDOT", |
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.
because this uses a precompile, interacting with it causes problems. normally when we interact with contracts like that, we etch over them using the etch utils 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.
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
@rsrizvi explanation is now part of the PR in docs https://github.com/moonwell-fi/moonwell-contracts-v2/pull/442/files#diff-80361b7ff2120bbca2235b8af6d1a800068557380d3619497694b0f91bcc4c99 |
TLDR is we aren't changing any of the proposal code that you wrote, just etching over precompile contracts on Moonbeam so the proposal doesn't fail due to a faulty simulation that reverts whenever it calls the GLMR, USDC, or xcDOT contracts. |
proposals/mips/mip-x09/x09.json
Outdated
"10": { | ||
"markets": [ | ||
{ | ||
"collateralFactor": 0.1e18, |
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.
confirming we are dropping CF for wBTC on Optimism to 10%
proposals/mips/mip-x09/x09.json
Outdated
{ | ||
"collateralFactor": -1, | ||
"irm": "", | ||
"market": "mxcDOT", |
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.
Co-authored-by: Elliot <34463580+ElliotFriedman@users.noreply.github.com>
@ElliotFriedman Please merge your referenced PR, then I will pull master, push, and also regenerate the calldata |
etch in market update
MIP-X10
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
|
|
No description provided.