substrate
substrate copied to clipboard
Substrate: The platform for blockchain innovators
Work on the `SafeMode` and `TxPause` pallets. Closes https://github.com/paritytech/substrate/issues/11626, related https://github.com/paritytech/substrate/issues/10033. Depends on https://github.com/paritytech/substrate/issues/13511 PS: Please rather review the concept instead of the code, since it is still subject to...
`benchmark pallet` currently stringifies the pallet path + instance path and uses that as output name. This does not work when the path contains `::`, since the resulting file path...
One of the best things about Rust is the balance between explicit and implicit things. See [here](https://blog.rust-lang.org/2017/03/02/lang-ergonomics.html) to get the mental framework here. One example I want to highlight is...
Fixes https://github.com/paritytech/substrate/issues/12295 @bkchr let me know if that's what you had in mind.
This PR adds the long-awaited storage size weight component to the `Weight` struct in `sp-weights`. Part of #12176.
Fixes #8436 This is a pallet that does one thing and one thing only: allow you to unstake from the staking system quickly IFF you are not exposed (i.e. not...
Re add the migration pre and post checks that was removed for PR https://github.com/paritytech/substrate/pull/12230. With @ruseinov's fix for sequential execution of migrate functions https://github.com/paritytech/substrate/pull/12319, we do not need to do...
Closes: #12184 - [x] Added an extra check for events at the end of each test. - [x] Replaced some `roll_to(25)` with `roll_to_unsigned` - [x] Replaced some `roll_to(15)` with `roll_to_signed`...
This replaces the outdated `wasm-gc` crate by the new `wasm-opt` crate for post processing of the runtime blob. The latter is a safe binding for the tried and true `binaryen`....
Polkadot companion: paritytech/polkadot#5729 Related: https://github.com/paritytech/substrate/issues/12070 Introduces a new utility type `Bounded` and two new traits `QueryPreimage` and `StorePreimage` which are meant to be used instead of the old (and probably...