Skip to content
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: upgrade to polkadot 0.9.38 #984

Merged
merged 4 commits into from
Apr 26, 2023
Merged

chore: upgrade to polkadot 0.9.38 #984

merged 4 commits into from
Apr 26, 2023

Conversation

sander2
Copy link
Member

@sander2 sander2 commented Mar 27, 2023

Most of the changes in this upgrade are due to the xcm v3 upgrade. Tested XCM with chopsticks.

See:

This PR supersedes #960 since we want to have this on the interlay repo for upcoming weight fixes

pub DotPerSecond: (AssetId, u128) = (MultiLocation::parent().into(), dot_per_second());
pub CanonicalizedIntrPerSecond: (AssetId, u128) = (
pub DotPerSecond: (AssetId, u128, u128) = (MultiLocation::parent().into(), dot_per_second(),
0, // todo: determine how much to charge per mb of proof
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this something we should do before merging @sander2?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep 0 for now to avoid breaking integrations with partners - the 0.9.38 is risky enough by itself with all its changes. We can revisit in the future. Acala also has it set to 0 fwiw

parachain/runtime/interlay/src/xcm_config.rs Outdated Show resolved Hide resolved
Comment on lines +182 to +185
RuntimeCall::Issue(..) | RuntimeCall::Replace(..) | RuntimeCall::Redeem(..) | RuntimeCall::BTCRelay(..) => {
// disallow anything to do with btc transactions since btc tx may be unbounded
false
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should remember to change this once the weight refactoring is complete.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It still wouldn't meet requirement #3 as I understand it (Have a defined proof size weight, e.g. no unbounded vecs in call parameters.)

parachain/runtime/kintsugi/src/xcm_config.rs Show resolved Hide resolved
@gregdhill gregdhill merged commit 2fe949e into master Apr 26, 2023
2 checks passed
@gregdhill gregdhill deleted the chore/polkadot-0.9.38 branch April 26, 2023 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants