Skip to content

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

@sander2 sander2 force-pushed the chore/polkadot-0.9.38 branch from a27c7bf to b4fb898 Compare April 14, 2023 16:20
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

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.)

@gregdhill gregdhill merged commit 2fe949e into master Apr 26, 2023
@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.

3 participants