-
Notifications
You must be signed in to change notification settings - Fork 607
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
chore: v16 e2e init image updates #5902
Conversation
Important Notice This PR includes modifications to the
Please let us know if you need any help. |
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.
Nice, utACK
ISTIBCDenom = "ibc/92BE0717F4678905E53F4E45B2DED18BC0CB97BF1F8B6A25AFEDF3D5A879B4D5" | ||
CMSTIBCDenom = "ibc/23CA6C8D1AB2145DD13EB1E089A2E3F960DC298B468CCE034E19E5A78B61136E" | ||
WBTCIBCDenom = "ibc/D1542AA8762DB13087D8364F3EA6509FD6F009A34F00426AF9E4F9FA85CBBF1F" | ||
DOTIBCDenom = "ibc/3FF92D26B407FD61AE95D975712A7C319CDE28DE4D80BDC9978D935932B991D7" | ||
CROIBCDenom = "ibc/E6931F78057F7CC5DA0FD6CEF82FF39373A6E0452BF1FD76910B93292CF356C1" | ||
AKTIBCDenom = "ibc/1480B8FD20AD5FCAE81EA87584D269547DD4D436843C1D20F15E00EB64743EF4" |
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.
Manually confirmed that each IBC denom corresponds to the correct denom name
tests/e2e/initialization/v17.go
Outdated
}, | ||
{ | ||
BaseAsset: CMSTIBCDenom, | ||
SpreadFactor: sdk.MustNewDecFromStr("0.0001"), // Normally 0.0002, but is not authorized |
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.
just out of curiosity and for context, what do you mean here by not authorized thus having 0.0001 spread factor?
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.
We have authorized spread factors as a param and 0.0002 is not one of them
upgradeBaseDenoms := fmt.Sprintf("%s%s,", DaiBalanceA, DaiDenom) | ||
n := len(AssetPairs) | ||
for i, assetPair := range AssetPairs { | ||
if assetPair.BaseAsset == "uion" { |
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.
why do we pass for uion?
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.
It is already registered in another step. If I removed it from that step and added it here, it would have been more difficult to unwind this change (this change is only needed for v17 and can be removed after)
Closes: #XXX
What is the purpose of the change
We are creating canonical CL pools for a list of gamm pools in the v17 upgrade handler. In order to test if these pools properly get created / linked / SFS, we must modify the v16 init image to create the pools (similar to how we have done it in the past for the stride pool and the v16 CL pool)
Testing and Verifying
Tested against the following PR
#5895
Documentation and Release Note
Unreleased
section ofCHANGELOG.md
?Where is the change documented?
x/{module}/README.md
)