Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Prepare for Polkadot launch and Substrate 2.0 freeze #4961

Closed
24 tasks done
gavofyork opened this issue Feb 18, 2020 · 3 comments
Closed
24 tasks done

Prepare for Polkadot launch and Substrate 2.0 freeze #4961

gavofyork opened this issue Feb 18, 2020 · 3 comments
Assignees
Labels
J1-meta A specific issue for grouping tasks or bugs of a specific category.
Milestone

Comments

@gavofyork
Copy link
Member

gavofyork commented Feb 18, 2020

On the Substrate side:

On the Polkadot side:

@gavofyork gavofyork added the J1-meta A specific issue for grouping tasks or bugs of a specific category. label Feb 18, 2020
@gavofyork gavofyork added this to the 2.0 milestone Feb 18, 2020
@gnunicorn gnunicorn self-assigned this Feb 18, 2020
@kianenigma
Copy link
Contributor

IMO this is also worth fixing #2494

@shawntabrizi shawntabrizi self-assigned this Feb 24, 2020
@gavofyork
Copy link
Member Author

That's very much on-trivial and there may be no good solution. Until we have a solution that works with staking being off-chain, then I would leave it.

@JoshOrndorff
Copy link
Contributor

Create sufficiently accurate weight formula, based solely on call data (not on state!), refactoring dispatches as necessary.

A few months ago I came up with this pattern where the weight of a call seems like it shold depend on state. The caller passes the expected value of the state, the weight is calculated based on that expected value, and the call ensures that the passed value is accurate.

https://github.com/substrate-developer-hub/recipes/blob/fc4c625addf43cb5088a73f6f0559db24fc2bd95/pallets/weights/src/lib.rs#L144-L149

@gavofyork gavofyork changed the title Prepare for Polkadot launch and Sustrate 2.0 freeze Prepare for Polkadot launch and Substrate 2.0 freeze Apr 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
J1-meta A specific issue for grouping tasks or bugs of a specific category.
Projects
None yet
Development

No branches or pull requests

5 participants