- Nov 01, 2023
-
-
Ankan authored
helps https://github.com/paritytech/polkadot-sdk/issues/439. closes https://github.com/paritytech/polkadot-sdk/issues/473. PR link in the older substrate repository: https://github.com/paritytech/substrate/pull/13498. # Context Rewards payout is processed today in a single block and limited to `MaxNominatorRewardedPerValidator`. This number is currently 512 on both Kusama and Polkadot. This PR tries to scale the nominators payout to an unlimited count in a multi-block fashion. Exposures are stored in pages, with each page capped to a certain number (`MaxExposurePageSize`). Starting out, this number would be the same as `MaxNominatorRewardedPerValidator`, but eventually, this number can be lowered through new runtime upgrades to limit the rewardeable nominators per dispatched call instruction. The changes in the PR are backward compatible. ## How payouts would work like after this change Staking exposes two calls, 1) the existing `payout_stakers` and 2) `payout_stakers_by_page`. ### payout_stakers This remains backward compatible with no signature change. If for a given era a validator has multiple pages, they can call `payout_stakers` multiple times. The pages are executed in an ascending sequence and the runtime takes care of preventing double claims. ### payout_stakers_by_page Very similar to `payout_stakers` but also accepts an extra param `page_index`. An account can choose to payout rewards only for an explicitly passed `page_index`. **Lets look at an example scenario** Given an active validator on Kusama had 1100 nominators, `MaxExposurePageSize` set to 512 for Era e. In order to pay out rewards to all nominators, the caller would need to call `payout_stakers` 3 times. - `payout_stakers(origin, stash, e)` => will pay the first 512 nominators. - `payout_stakers(origin, stash, e)` => will pay the second set of 512 nominators. - `payout_stakers(origin, stash, e)` => will pay the last set of 76 nominators. ... - `payout_stakers(origin, stash, e)` => calling it the 4th time would return an error `InvalidPage`. The above calls can also be replaced by `payout_stakers_by_page` and passing a `page_index` explicitly. ## Commission note Validator commission is paid out in chunks across all the pages where each commission chunk is proportional to the total stake of the current page. This implies higher the total stake of a page, higher will be the commission. If all the pages of a validator's single era are paid out, the sum of commission paid to the validator across all pages should be equal to what the commission would have been if we had a non-paged exposure. ### Migration Note Strictly speaking, we did not need to bump our storage version since there is no migration of storage in this PR. But it is still useful to mark a storage upgrade for the following reasons: - New storage items are introduced in this PR while some older storage items are deprecated. - For the next `HistoryDepth` eras, the exposure would be incrementally migrated to its corresponding paged storage item. - Runtimes using staking pallet would strictly need to wait at least `HistoryDepth` eras with current upgraded version (14) for the migration to complete. At some era `E` such that `E > era_at_which_V14_gets_into_effect + HistoryDepth`, we will upgrade to version X which will remove the deprecated storage items. In other words, it is a strict requirement that E<sub>x</sub> - E<sub>14</sub> > `HistoryDepth`, where E<sub>x</sub> = Era at which deprecated storages are removed from runtime, E<sub>14</sub> = Era at which runtime is upgraded to version 14. - For Polkadot and Kusama, there is a [tracker ticket](https://github.com/paritytech/polkadot-sdk/issues/433) to clean up the deprecated storage items. ### Storage Changes #### Added - ErasStakersOverview - ClaimedRewards - ErasStakersPaged #### Deprecated The following can be cleaned up after 84 eras which is tracked [here](https://github.com/paritytech/polkadot-sdk/issues/433). - ErasStakers. - ErasStakersClipped. - StakingLedger.claimed_rewards, renamed to StakingLedger.legacy_claimed_rewards. ### Config Changes - Renamed MaxNominatorRewardedPerValidator to MaxExposurePageSize. ### TODO - [x] Tracker ticket for cleaning up the old code after 84 eras. - [x] Add companion. - [x] Redo benchmarks before merge. - [x] Add Changelog for pallet_staking. - [x] Pallet should be configurable to enable/disable paged rewards. - [x] Commission payouts are distributed across pages. - [x] Review documentation thoroughly. - [x] Rename `MaxNominatorRewardedPerValidator` -> `MaxExposurePageSize`. - [x] NMap for `ErasStakersPaged`. - [x] Deprecate ErasStakers. - [x] Integrity tests. ### Followup issues [Runtime api for deprecated ErasStakers storage item](https://github.com/paritytech/polkadot-sdk/issues/426 ) --------- Co-authored-by:
Javier Viola <[email protected]> Co-authored-by:
Ross Bulat <[email protected]> Co-authored-by: command-bot <>
-
- Oct 15, 2023
-
-
Gonçalo Pestana authored
This PR refactors the staking ledger logic to encapsulate all reads and mutations of `Ledger`, `Bonded`, `Payee` and stake locks within the `StakingLedger` struct implementation. With these changes, all the reads and mutations to the `Ledger`, `Payee` and `Bonded` storage map should be done through the methods exposed by StakingLedger to ensure the data and lock consistency of the operations. The new introduced methods that mutate and read Ledger are: - `ledger.update()`: inserts/updates a staking ledger in storage; updates staking locks accordingly (and ledger.bond(), which is synthatic sugar for ledger.update()) - `ledger.kill()`: removes all Bonded and StakingLedger related data for a given ledger; updates staking locks accordingly; `StakingLedger::get(account)`: queries both the `Bonded` and `Ledger` storages and returns a `Option<StakingLedger>`. The pallet impl exposes fn ledger(account) as synthatic sugar for `StakingLedger::get(account)`. Retrieving a ledger with `StakingLedger::get()` can be done by providing either a stash or controller account. The input must be wrapped in a `StakingAccount` variant (Stash or Controller) which is treated accordingly. This simplifies the caller API but will eventually be deprecated once we completely get rid of the controller account in staking. However, this refactor will help with the work necessary when completely removing the controller. Other goals: - No logical changes have been introduced in this PR; - No breaking changes or updates in wallets required; - No new storage items or need to perform storage migrations; - Centralise the changes to bonds and ledger updates to simplify the OnStakingUpdate updates to the target list (related to https://github.com/paritytech/polkadot-sdk/issues/443) Note: it would be great to prevent or at least raise a warning if `Ledger<T>`, `Payee<T>` and `Bonded<T>` storage types are accessed outside the `StakingLedger` implementation. This PR should not get blocked by that feature, but there's a tracking issue here https://github.com/paritytech/polkadot-sdk/issues/149 Related and step towards https://github.com/paritytech/polkadot-sdk/issues/443
-
- Sep 18, 2023
-
-
Ross Bulat authored
Addresses https://github.com/paritytech/polkadot-sdk/issues/129. Returns `Self:payee()` from `make_payout` in a tuple alongside an imbalance & adds it to `Rewarded` event.
-
- Aug 31, 2023
-
-
juangirini authored
* restructure dispatch macro related exports * moved Dispatchable to lib.rs * fix .gitignore final newline * ".git/.scripts/commands/fmt/fmt.sh" * fix rustdocs * wip --------- Co-authored-by:
Liam Aharon <[email protected]> Co-authored-by: command-bot <> Co-authored-by:
ordian <[email protected]>
-
- Aug 10, 2023
-
-
Gonçalo Pestana authored
* Implements dynamic nominations per nominator * Adds SnapshotBounds and ElectionSizeTracker * Changes the ElectionDataProvider interface to receive ElectionBounds as input * Implements get_npos_voters with ElectionBounds * Implements get_npos_targets with ElectionBounds * Adds comments * tests * Truncates nomninations that exceed nominations quota; Old tests passing * Uses DataProviderBounds and ElectionBounds (to continue) * Finishes conversions - tests passing * Refactor staking in babe mocks * Replaces MaxElectableTargets and MaxElectingVoters with ElectionBounds; Adds more tests * Fixes nits; node compiling * bechmarks * removes nomination_quota extrinsic to request the nomination quota * Lazy quota check, ie. at nominate time only * remove non-working test (for now) * tests lazy nominations quota when quota is lower than current number of nominated targets * Adds runtime API and custom RPC call for clients to query the nominations quota for a given balance * removes old rpc * Cosmetic touches * All mocks working * Fixes benchmarking mocks * nits * more tests * renames trait methods * nit * ".git/.scripts/commands/fmt/fmt.sh" * Fix V2 PoV benchmarking (#13485) * Bump default 'additional_trie_layers' to two The default here only works for extremely small runtimes, which have no more than 16 storage prefices. This is changed to a "sane" default of 2, which is save for runtimes with up to 4096 storage prefices (eg StorageValue). Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update tests and test weights Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix PoV weights Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_balances * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_message_queue * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_glutton * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_glutton * Fix sanity check >0 would also do as a check, but let's try this. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by: command-bot <> * Move BEEFY code to consensus (#13484) * Move beefy primitives to consensus dir * Move beefy gadget to client consensus folder * Rename beefy crates * chore: move genesis block builder to chain-spec crate. (#13427) * chore: move genesis block builder to block builder crate. * add missing file * chore: move genesis block builder to sc-chain-spec * Update client/chain-spec/src/genesis.rs Co-authored-by:
Bastian Köcher <[email protected]> * Update test-utils/runtime/src/genesismap.rs Co-authored-by:
Bastian Köcher <[email protected]> * Update test-utils/runtime/client/src/lib.rs * fix warnings * fix warnings --------- Co-authored-by:
Bastian Köcher <[email protected]> * Speed up storage iteration from within the runtime (#13479) * Speed up storage iteration from within the runtime * Move the cached iterator into an `Option` * Use `RefCell` in no_std * Simplify the code slightly * Use `Option::replace` * Update doc comment for `next_storage_key_slow` * Make unbounded channels size warning exact (part 1) (#13490) * Replace `futures-channel` with `async-channel` in `out_events` * Apply suggestions from code review Co-authored-by:
Koute <[email protected]> * Also print the backtrace of `send()` call * Switch from `backtrace` crate to `std::backtrace` * Remove outdated `backtrace` dependency * Remove `backtrace` from `Cargo.lock` --------- Co-authored-by:
Koute <[email protected]> * Removal of Prometheus alerting rules deployment in cloud-infra (#13499) * sp-consensus: remove unused error variants (#13495) * Expose `ChargedAmount` (#13488) * Expose `ChargedAmount` * Fix imports * sc-consensus-beefy: fix metrics: use correct names (#13494) Signed-off-by:
acatangiu <[email protected]> * clippy fix * removes NominationsQuotaExceeded event * Update frame/staking/src/lib.rs Co-authored-by:
Ross Bulat <[email protected]> * adds back the npos_max_iter * remove duplicate imports added after merge * fmt * Adds comment in public struct; Refactors CountBound and SizeCount to struct * addresses various pr comments * PR comment reviews * Fixes on-chain election bounds and related code * EPM checks the size of the voter list returned by the data provider * cosmetic changes * updates e2e tests mock * Adds more tests for size tracker and refactors code * Adds back only_iterates_max_2_times_max_allowed_len test * Refactor * removes unecessary dependency * empty commit -- restart all stuck CI jobs * restarts ci jobs * Renames ElectionBounds -> Bounds in benchmarking mocks et al * updates mocks * Update frame/election-provider-support/src/lib.rs Co-authored-by:
Kian Paimani <[email protected]> * Update frame/staking/src/pallet/impls.rs Co-authored-by:
Kian Paimani <[email protected]> * Update frame/election-provider-support/src/lib.rs Co-authored-by:
Kian Paimani <[email protected]> * Update frame/staking/src/tests.rs Co-authored-by:
Kian Paimani <[email protected]> * more checks in api_nominations_quota in tests * Improves docs * fixes e2e tests * Uses size_hint rather than mem::size_of in size tracker; Refactor size tracker to own module * nits from reviews * Refactors bounds to own module; improves docs * More tests and docs * fixes docs * Fixes benchmarks * Fixes rust docs * fixes bags-list remote-ext-tests * Simplify bound checks in create_snapshot_external * Adds target size check in get_npos_targets * ".git/.scripts/commands/fmt/fmt.sh" * restart ci * rust doc fixes and cosmetic nits * rollback upgrade on parity-scale-codec version (unecessary) * reset cargo lock, no need to update it --------- Signed-off-by:
Oliver Tale-Yazdi <[email protected]> Signed-off-by:
acatangiu <[email protected]> Co-authored-by: command-bot <> Co-authored-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by:
Davide Galassi <[email protected]> Co-authored-by:
yjh <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]> Co-authored-by:
Koute <[email protected]> Co-authored-by:
Dmitry Markin <[email protected]> Co-authored-by:
Anthony Lazam <[email protected]> Co-authored-by:
André Silva <[email protected]> Co-authored-by:
Piotr Mikołajczyk <[email protected]> Co-authored-by:
Adrian Catangiu <[email protected]> Co-authored-by:
Ross Bulat <[email protected]> Co-authored-by:
Kian Paimani <[email protected]>
-
- Jul 24, 2023
-
-
Gonçalo Pestana authored
Co-authored-by: parity-processbot <>
-
Gonçalo Pestana authored
Co-authored-by: parity-processbot <>
-
- Jul 18, 2023
-
-
Oliver Tale-Yazdi authored
* Run integrity_test in RO externalities Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * frame-support: Export RO externalities Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix bench tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update docs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Rename to __private Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Run in TestExternalities Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix other pallets Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update docs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fixes Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update frame/support/src/dispatch.rs Co-authored-by:
Muharem Ismailov <[email protected]> * Fixup merge Signed-off-by:
Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <> Co-authored-by:
Muharem Ismailov <[email protected]>
-
- Jul 13, 2023
-
-
gupnik authored
Moves `Block` to `frame_system` instead of `construct_runtime` and removes `Header` and `BlockNumber` (#14437) * Initial setup * Adds node block * Uses UncheckedExtrinsic and removes Where section * Updates frame_system to use Block * Adds deprecation warning * Fixes pallet-timestamp * Removes Header and BlockNumber * Addresses review comments * Addresses review comments * Adds comment about compiler bug * Removes where clause * Refactors code * Fixes errors in cargo check * Fixes errors in cargo check * Fixes warnings in cargo check * Formatting * Fixes construct_runtime tests * Uses import instead of full path for BlockNumber * Uses import instead of full path for Header * Formatting * Fixes construct_runtime tests * Fixes imports in benchmarks * Formatting * Fixes construct_runtime tests * Formatting * Minor updates * Fixes construct_runtime ui tests * Fixes construct_runtime ui tests with 1.70 * Fixes docs * Fixes docs * Adds u128 mock block type * Fixes split example * fixes for cumulus * ".git/.scripts/commands/fmt/fmt.sh" * Updates new tests * Fixes fully-qualified path in few places * Formatting * Update frame/examples/default-config/src/lib.rs Co-authored-by:
Juan <[email protected]> * Update frame/support/procedural/src/construct_runtime/mod.rs Co-authored-by:
Juan <[email protected]> * ".git/.scripts/commands/fmt/fmt.sh" * Addresses some review comments * Fixes build * ".git/.scripts/commands/fmt/fmt.sh" * Update frame/democracy/src/lib.rs Co-authored-by:
Oliver Tale-Yazdi <[email protected]> * Update frame/democracy/src/lib.rs Co-authored-by:
Oliver Tale-Yazdi <[email protected]> * Update frame/support/procedural/src/construct_runtime/mod.rs Co-authored-by:
Oliver Tale-Yazdi <[email protected]> * Update frame/support/procedural/src/construct_runtime/mod.rs Co-authored-by:
Oliver Tale-Yazdi <[email protected]> * Addresses review comments * Updates trait bounds * Minor fix * ".git/.scripts/commands/fmt/fmt.sh" * Removes unnecessary bound * ".git/.scripts/commands/fmt/fmt.sh" * Updates test * Fixes build * Adds a bound for header * ".git/.scripts/commands/fmt/fmt.sh" * Removes where block * Minor fix * Minor fix * Fixes tests * ".git/.scripts/commands/update-ui/update-ui.sh" 1.70 * Updates test * Update primitives/runtime/src/traits.rs Co-authored-by:
Bastian Köcher <[email protected]> * Update primitives/runtime/src/traits.rs Co-authored-by:
Bastian Köcher <[email protected]> * Updates doc * Updates doc --------- Co-authored-by: command-bot <> Co-authored-by:
Juan <[email protected]> Co-authored-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]>
-
- Jul 12, 2023
-
-
Michal Kucharczyk authored
* frame::support: GenesisConfig types for Runtime enabled * frame::support: macro generating GenesisBuild::build for RuntimeGenesisConfig * frame: ambiguity BuildStorage vs GenesisBuild fixed * fix * RuntimeGenesisBuild added * Revert "frame: ambiguity BuildStorage vs GenesisBuild fixed" This reverts commit 950f3d019d0e21c55a739c44cc19cdabd3ff0293. * Revert "fix" This reverts commit a2f76dd24e9a16cf9230d45825ed28787211118b. * Revert "RuntimeGenesisBuild added" This reverts commit 3c131b618138ced29c01ab8d15d8c6410c9e128b. * Revert "Revert "frame: ambiguity BuildStorage vs GenesisBuild fixed"" This reverts commit 2b1ecd467231eddec69f8d328039ba48a380da3d. * Revert "Revert "fix"" This reverts commit fd7fa629adf579d83e30e6ae9fd162637fc45e30. * Code review suggestions * frame: BuildGenesisConfig added, BuildGenesis deprecated * frame: some pallets updated with BuildGenesisConfig * constuct_runtime: support for BuildGenesisConfig * frame::support: genesis_build macro supports BuildGenesisConfig * frame: BuildGenesisConfig added, BuildGenesis deprecated * Cargo.lock update * test-runtime: fixes * Revert "fix" This reverts commit a2f76dd24e9a16cf9230d45825ed28787211118b. * Revert "frame: ambiguity BuildStorage vs GenesisBuild fixed" This reverts commit 950f3d019d0e21c55a739c44cc19cdabd3ff0293. * self review * doc fixed * ui tests fixed * fmt * tests fixed * genesis_build macrto fixed for non-generic GenesisConfig * BuildGenesisConfig constraints added * warning fixed * some duplication removed * fmt * fix * doc tests fix * doc fix * cleanup: remove BuildModuleGenesisStorage * self review comments * fix * Update frame/treasury/src/tests.rs Co-authored-by:
Sebastian Kunert <[email protected]> * Update frame/support/src/traits/hooks.rs Co-authored-by:
Sebastian Kunert <[email protected]> * doc fix: GenesisBuild exposed * ".git/.scripts/commands/fmt/fmt.sh" * frame: more serde(skip) + cleanup * Update frame/support/src/traits/hooks.rs Co-authored-by:
Davide Galassi <[email protected]> * frame: phantom fields moved to the end of structs * chain-spec: Default::default cleanup * test-runtime: phantom at the end * merge master fixes * fix * fix * fix * fix * fix (facepalm) * Update frame/support/procedural/src/pallet/expand/genesis_build.rs Co-authored-by:
Bastian Köcher <[email protected]> * fmt * fix * fix --------- Co-authored-by: parity-processbot <> Co-authored-by:
Sebastian Kunert <[email protected]> Co-authored-by:
Davide Galassi <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]>
-
- Jul 09, 2023
-
-
Kian Paimani authored
* remove 'OnStakerSlash', replace with 'OnStakingEvents' * fix other features in pallets * small fixes * fix docs * fix docs * fix docs * Update primitives/staking/src/lib.rs Co-authored-by:
Gonçalo Pestana <[email protected]> --------- Co-authored-by:
Gonçalo Pestana <[email protected]>
-
- May 27, 2023
-
-
Gonçalo Pestana authored
Improves documentation on `num_slashing_spans` when calling `withdraw_unbounded` in Staking. (#14185) * gpestana/11714-num_slashing_spans_docs * Update frame/staking/src/pallet/mod.rs Co-authored-by:
Kian Paimani <[email protected]> * All calls that take num_slashing_span as parameters refer to comments on it --------- Co-authored-by:
Kian Paimani <[email protected]>
-
- May 23, 2023
-
-
Squirrel authored
* unneeded mut * remove needless borrows
-
Sergej Sakac authored
* Try-state: DispatchResult as return type * try_state for the rest of the pallets * pre_upgrade * post_upgrade * try_runtime_upgrade * fixes * bags-list fix * fix * update test * warning fix * ... * final fixes
🤞 * warning.. * frame-support * warnings * Update frame/staking/src/migrations.rs Co-authored-by:Liam Aharon <[email protected]> * fix * fix warning * nit fix * merge fixes * small fix * should be good now * missed these ones * introduce TryRuntimeError and TryRuntimeResult * fixes * fix * removed TryRuntimeResult & made some fixes * fix testsg * tests passing * unnecessary imports * Update frame/assets/src/migration.rs Co-authored-by:
Keith Yeung <[email protected]> --------- Co-authored-by:
Liam Aharon <[email protected]> Co-authored-by:
Keith Yeung <[email protected]>
-
- May 20, 2023
-
-
Michal Kucharczyk authored
* frame: Default for GenesisConfig in no_std `Default` for `GenesisConfig` will be required for no_std in no native runtime world. It must be possible to instantiate default GenesisConfig for pallets and runtime. * ".git/.scripts/commands/fmt/fmt.sh" * hash69 in no_std reverted * derive(DefaultNoBound) for GenesisConfig used when possible * treasury: derive(Default) * Cargo.lock update * genesis_config: compiler error improved When std feature is not enabled for pallet, the GenesisConfig will be defined, but serde::{Serialize,Deserialize} traits will not be implemented. The compiler error indicates the reason of latter errors. This is temporary and serde traits will be enabled with together with `serde` support in frame. --------- Co-authored-by: command-bot <>
-
- May 16, 2023
-
-
Suraj Kumar authored
* remove deprecated remove_prefix to clear era_info * add debug assertions to check that the returned cursor is None * add a variable to hold the cursor * ".git/.scripts/commands/fmt/fmt.sh" --------- Co-authored-by: command-bot <>
-
- May 15, 2023
-
-
Oliver Tale-Yazdi authored
Cumulus CI is stuck in https://github.com/paritytech/cumulus/pull/2574 , so companion check will be red. Changes_ - Controller not needed Signed-off-by:
Oliver Tale-Yazdi <[email protected]>
-
- May 11, 2023
-
-
Ross Bulat authored
* update set_controller * clone * bond uses `stash` * remove controller from bond(), chill_other test works * remove ctlr from testing_utils & dead ctlr -> dead payee * mvs controllers to stashes for 3 tests * migrate mock bond fns & fix 1 test * mvs controllers to stashes for 7 tests * mvs controllers to stashes for 9 tests * remove double_controlling_should_fail * remove double_staking_should_fail * mvs controllers to stashes for 10 tests * mvs controllers to stashes for 2 tests * remove payout_creates_controller * mvs controllers to stashes for 27 tests * remove println! * fix rewards_should_work * fix test_payout_stakers * fix bond benchmark * clone * rm unused import * rm unused var * rm controller from create_offender * fix GenesisConfig stakers * fix controllers in consensus pallets * fix unqiue controller in chain_spec * fmt * fix create_offender * fix set_controller benchmark * add TODO * create_unique_stash_controller * staking benchmarks working * fmt * fix args * rm println * import * import * fix fast unstake tests * fix staking-tests-e2e * fix root-offenses * fmt * differentiate controller to stash * bring back change_controller_works w. unique ctrl * bring back double_staking_should_fail * double_controlling_attempt_should_fail * bring back payout_creates_controller * add commnet to controller balances * + set_controller call description * fmt * rm clones * fmt * clippy fixes * fmt * update README * small fixes * use controller_to_be_deprecated * .comment * comment * bump zombienet version * ci --------- Co-authored-by: parity-processbot <> Co-authored-by:
Javier Viola <[email protected]>
-
- Apr 27, 2023
-
-
Kian Paimani authored
* improve staking interface methods * fix * fix * fix build * restart * fix --------- Co-authored-by: parity-processbot <>
-
- Apr 18, 2023
-
-
yjh authored
* chore(docs): improve some comments * Update client/network/common/src/sync/message.rs Co-authored-by:
Koute <[email protected]> * Update client/rpc-api/src/chain/mod.rs Co-authored-by:
Koute <[email protected]> * Update client/rpc/src/chain/mod.rs Co-authored-by:
Koute <[email protected]> * Update client/rpc/src/chain/mod.rs Co-authored-by:
Koute <[email protected]> * Update frame/staking/src/pallet/impls.rs Co-authored-by:
Koute <[email protected]> --------- Co-authored-by:
Koute <[email protected]>
-
- Apr 15, 2023
-
-
Roman Useinov authored
* [Fix] Remove redundant stash from Stake * fix tests
-
- Apr 11, 2023
-
-
Mira Ressel authored
-
- Mar 13, 2023
-
-
Vivek Pandya authored
* Remove use of trait Store from staking pallet * Remove use of trait Store from bounties pallet * Remove use of trait Store from collective pallet * Remove use of trait Store from babe pallet * Remove use of trait Store from assets pallet * Remove use of trait Store from grandpa pallet * Remove use of trait Store from balances pallet * Remove use of trait Store from authorship pallet * Remove use of trait Store from authority-discovery pallet * Remove use of trait Store from atomic-swap pallet * Remove use of trait Store from sudo pallet * Remove use of trait Store from scheduler pallet * Remove use of trait Store from scored-pool pallet * Remove use of trait Store from society pallet * Remove use of trait Store from lottery pallet * Remove use of trait Store from executive pallet * Remove use of trait Store from democracy pallet * Remove use of trait Store from elections-phragmen pallet * Remove use of trait Store from indices pallet * Remove use of trait Store from identity pallet * Remove use of trait Store from multisig pallet * Remove use of trait Store from merkle-mountain-range pallet * Remove use of trait Store from im-online pallet * Remove use of trait Store from membership pallet * Remove use of trait Store from nicks pallet * Remove use of trait Store from session pallet * Remove use of trait Store from transaction-payment pallet * Remove use of trait Store from utility pallet * Remove use of trait Store from child-bounties pallet * Remove use of trait Store from nis pallet * Remove use of trait Store from nfts pallet * Remove use of trait Store from conviction-voting pallet * Remove use of trait Store from treasury pallet * Remove use of trait Store from vesting pallet * Remove use of trait Store from preimage pallet * Remove use of trait Store from uniques pallet * Remove use of trait Store from ranked-collective pallet * Remove use of trait Store from beefy-mmr pallet * Remove use of trait Store from referenda pallet * Remove use of trait Store from whitelist pallet * Remove use of trait Store from alliance pallet * Remove use of trait Store from nomination-pools pallet * Remove use of trait Store from state-trie-migration pallet * Remove use of trait Store from message-queue pallet * Remove use of trait Store from root-offences pallet * Remove use of trait Store from root-testing pallet * Remove use of trait Store from timestamps pallet * Remove use of trait Store from system pallet * Remove use of trait Store from offences pallet * Remove use of trait Store from recovery pallet * Remove use of trait Store from node-authorization pallet * Remove use of trait Store from proxy pallet * Remove use of trait Store from benchmarking pallet * Remove use of trait Store from bags-list pallet * Add deprecated warning in store_trait * Change warning message * Run cargo fmt * Fix warning and update tests * Remove unnecessary allow deprecated * Remove use of trait Store * Fix mismatch in expected output * Minor update to warning message for deprecation of generate_store with Store trait attribute * Fixes as per review comments * Fixes as per review suggestions * Remove use of Store trait from core-fellowship pallet * Fix type in store_trait.rs * Fixes as pre review comment
-
- Mar 02, 2023
-
-
Oliver Tale-Yazdi authored
* Deprecate Weight::from_{ref_time, proof_size} Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update templates Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use from_parts Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use from_parts Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Dont revert comment
🤦 Signed-off-by:Oliver Tale-Yazdi <[email protected]> * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_balances * Update weight files Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * More fixes Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Adapt to Master changes Signed-off-by:
Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by: command-bot <>
-
- Feb 21, 2023
-
-
Vivek Pandya authored
* Change copyright year to 2023 from 2022 * Fix incorrect update of copyright year * Remove years from copy right header * Fix remaining files * Fix typo in a header and remove update-copyright.sh
-
Gonçalo Pestana authored
* Adds StakingAPI_nominations_quota and NominationPoolsApi_balanceToPoint and NominationPoolsApi_pointsToBalance runtime APIs * Adds balance param to api_nominations_quota * Update frame/nomination-pools/src/lib.rs Co-authored-by:
Anton <[email protected]> * Update frame/nomination-pools/src/lib.rs Co-authored-by:
Anton <[email protected]> * Addresses comments - returns zero instead of error in runtime api * Update frame/staking/runtime-api/src/lib.rs Co-authored-by:
Kian Paimani <[email protected]> * Update frame/staking/runtime-api/src/lib.rs Co-authored-by:
Kian Paimani <[email protected]> * Addresses PR comments * Update frame/nomination-pools/runtime-api/Cargo.toml Co-authored-by:
Kian Paimani <[email protected]> * Fixes points_to_balance logic; adds tests * test comment fix * Update frame/nomination-pools/runtime-api/src/lib.rs Co-authored-by:
Kian Paimani <[email protected]> * Update frame/nomination-pools/runtime-api/src/lib.rs Co-authored-by:
Kian Paimani <[email protected]> * Fix block pruning (#13323) * Referendum proposal's metadata (#12568) * referenda metadata * todo comment * remove TODO, update rustdocs * referenda clear_metadata origin signed or root * referenda metadata unit tests * drop schema type for referenda metadata * remove metadata type * referenda metadata benches * note different preimages * metadata for democracy pallet * metadata democracy pallet tests and benches * fix cargo clippy * update docs * ".git/.scripts/bench-bot.sh" pallet dev pallet_democracy * ".git/.scripts/bench-bot.sh" pallet dev pallet_referenda * Update the doc frame/democracy/src/lib.rs Co-authored-by:
Roman Useinov <[email protected]> * Update the doc frame/democracy/src/lib.rs Co-authored-by:
Anthony Alaribe <[email protected]> * reference instead clone for take Co-authored-by:
Anthony Alaribe <[email protected]> * error rename BadMetadata to PreimageNotExist * clear metadata within internal_cancel_referendum fn * remove redundant clone * collapse metadata api into one set_metadata method * fmt * review fixes * not request preimage on set_metadata * rename events and update docs * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_democracy * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_referenda * rename reset_metadata to transfer_metadata --------- Co-authored-by: command-bot <> Co-authored-by:
Roman Useinov <[email protected]> Co-authored-by:
Anthony Alaribe <[email protected]> * Improve test coverage of the `Notifications` protocol (#13033) * Add handler and upgrade tests * Add tests for `behaviour.rs` * Apply review comments * Update dependencies * Apply suggestions from code review Co-authored-by:
Dmitry Markin <[email protected]> * Apply review comments * Fix clippy * Update mockall * Apply review comment --------- Co-authored-by:
Dmitry Markin <[email protected]> * refactors runtime API logic to own pallet impl block * removes unrelated changes * Fixes cargo doc comments lint * fixes node cargo * fixes comment * restart ci * restart ci * restart ci --------- Co-authored-by:
Anton <[email protected]> Co-authored-by:
Kian Paimani <[email protected]> Co-authored-by: parity-processbot <> Co-authored-by:
Arkadiy Paronyan <[email protected]> Co-authored-by:
Muharem Ismailov <[email protected]> Co-authored-by:
Roman Useinov <[email protected]> Co-authored-by:
Anthony Alaribe <[email protected]> Co-authored-by:
Aaro Altonen <[email protected]> Co-authored-by:
Dmitry Markin <[email protected]>
-
- Feb 14, 2023
-
-
Vivek Pandya authored
* cleanup <weight></weight> from docs comments * Changes to address review commnets * Fix CI cargo test --docs --------- Co-authored-by: parity-processbot <>
-
- Feb 09, 2023
-
-
Roman Useinov authored
* [Fix] Try-state feature-gated for BagsList * fix comment * fix try_state remote-tests * feature-gate try-state remote test for bags-list * remove try-state from a migration * more SortedListProvider fixes * more fixes * more fixes to allow do_try_state usage in other crates * do-try-state for fuzz * more fixes * more fixes * remove feature-flag * do-try-state * fix review comments * Update frame/bags-list/src/mock.rs Co-authored-by:
Anton <[email protected]> --------- Co-authored-by: parity-processbot <> Co-authored-by:
Anton <[email protected]>
-
- Jan 29, 2023
-
-
Bastian Köcher authored
The code was added without any clear usage. The inherent for example is not benchmarked and not used.
-
- Jan 09, 2023
-
-
Gonçalo Pestana authored
* EPM and staking events improvement * Uses RawOrigin in ElectionCompute event * Refactors new phase events to PhaseTransition event * PhaseTransitioned and remove RawOrigin from event * Adds helpers for epm phase transition and staking force new * addresses review comments * nit: removes unecessary clone * fixes benchmarks Co-authored-by: parity-processbot <>
-
Ankan authored
-
- Jan 03, 2023
-
-
Ankan authored
* delete releases * use standard pallet storage version * migrate to standard storage version for staking * not compiling * keep old releases enum around for decoding * fix releases * rename old releases * retriggering ci * fix migration comments * doc update Co-authored-by: parity-processbot <>
-
- Dec 26, 2022
-
-
Ankan authored
* staking admin can set min commission * ".git/.scripts/bench-bot.sh" pallet dev pallet_staking * fmt * fix for pr comments Co-authored-by: command-bot <>
-
- Dec 23, 2022
-
-
Kian Paimani authored
* Fix fast-unstake for accounts with slashing * ".git/.scripts/fmt.sh" 1 * fmt * fix * fix weight tracking * Adds tests for withdraw_unbonded with slashing * Removes tests for withdraw_unbonded with slashing * ".git/.scripts/fmt.sh" * Adds slash spans calculation test for withdraw_unbonded Co-authored-by: command-bot <> Co-authored-by:
gpestana <[email protected]>
-
- Dec 15, 2022
-
-
Gonçalo Pestana authored
* Prevents max unbonding chunk slots from being filled when unbonding in the staking pallet * hardcode num_slashing to unlock chunks automatically * refactor withdraw logic to do_withdraw; idiomatic rust improvements * a * callable unbond() to return a DispatchWithPostInfo to dynamically update the consumed weight * refunds overpaid fees when unbond with withdraw * fetches real slashing spans before withdrawal call * nits * addresses PR comments * Adds more testing * fixes doc comments * Fixes weight refunding logic for fn unbond * generalizes to return used weight or dispatch error * Update frame/staking/src/pallet/mod.rs Co-authored-by:
Kian Paimani <[email protected]> * Update frame/staking/src/pallet/mod.rs Co-authored-by:
Kian Paimani <[email protected]> * Addresses PR comments * Add comment to speculative num spans * adds missing add_slashing_spans in withdraw_unbonded_kill benchmarks * ".git/.scripts/bench-bot.sh" pallet dev pallet_staking * fix publish Co-authored-by:
Kian Paimani <[email protected]> Co-authored-by: command-bot <>
-
- Dec 14, 2022
-
-
Kian Paimani authored
* fix online/offline confusion * unified cache file * multi-threaded babyyy * checkpoint for niklas * compiles * all tests pass with --test-threads 1 * child-tree scrape is also multi-threaded now. * better thread splitting * some suggestions (#12532) * some suggestions * tokio multithread * move unused dependencies * snapshot command * fix rem * a bit of cleanup * support optional checks * fix * OCW command migrated to wasm-only, as an example * state-version management fully in remote-ext * almost everything move to wasm executor, some CLI flags reduced * follow-chain works as well * Master.into() * everything builds now * concurrent insertion and download for remote builds * minor fix * fix a bug * checkpoint * some updates * fmt * review comments * fmt * fix * fmt * update * fmt * rename * fix the damn UI tests * fmt * remoe the thread abstraction for the time being * cleanup * fix CI * fmt * fix * fix a few more things * tweak log levels * better error handling * address grumbles: use futures::mpsc * review comments * fmt * Apply suggestions from code review Co-authored-by:
Bastian Köcher <[email protected]> * Update utils/frame/try-runtime/cli/src/lib.rs Co-authored-by:
Bastian Köcher <[email protected]> * better api version stuff * some doc update * a whole lot of docs * fmt * fix all docs * fmt * rpc rebase: Try-runtime Revamp and Facelift (#12921) * Introduce sensible weight constants (#12868) * Introduce sensible weight constants * cargo fmt * Remove unused import * Add missing import * ".git/.scripts/bench-bot.sh" pallet dev pallet_lottery Co-authored-by: command-bot <> * Checkout to the branch HEAD explicitly in `build-linux-substrate` (#12876) * cli: Improve pruning documentation (#12819) * cli: Improve pruning documentation Signed-off-by:
Alexandru Vasile <[email protected]> * cli: Keep `finalized` notation and remove `canonical` one * cli: Fix cargo doc * cli: `PruningModeClap` IR enum Signed-off-by:
Alexandru Vasile <[email protected]> * cli: Convert PruningModeClap into pruning modes Signed-off-by:
Alexandru Vasile <[email protected]> * cli: Use `PruningModeClap` Signed-off-by:
Alexandru Vasile <[email protected]> * cli: Rename to `DatabasePruningMode` Signed-off-by:
Alexandru Vasile <[email protected]> * cli: Implement `FromStr` instead of `clap::ValueEnum` Signed-off-by:
Alexandru Vasile <[email protected]> * Update client/cli/src/params/pruning_params.rs Co-authored-by:
Bastian Köcher <[email protected]> * Fix clippy Signed-off-by:
Alexandru Vasile <[email protected]> * cli: Add option documentation back Signed-off-by:
Alexandru Vasile <[email protected]> * Apply suggestions from code review Signed-off-by:
Alexandru Vasile <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]> * Revert "Move LockableCurrency trait to fungibles::Lockable and deprecate LockableCurrency (#12798)" (#12882) This reverts commit 9a014d1e. * Don't indefinitely block on shutting down Tokio (#12885) * Don't indefinitely on shutting down Tokio Now we wait in maximum 60 seconds before we shutdown the node. Tasks are may be leaked and leading to some data corruption. * Drink less
🤔 * General Message Queue Pallet (#12485) * The message queue * Make fully generic * Refactor * Docs * Refactor * Use iter not slice * Per-origin queues * Multi-queue processing * Introduce MaxReady * Remove MaxReady in favour of ready ring * Cleanups * ReadyRing and tests * Stale page reaping * from_components -> from_parts Signed-off-by:Oliver Tale-Yazdi <[email protected]> * Move WeightCounter to sp_weights Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add MockedWeightInfo Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Deploy to kitchensink Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use WeightCounter Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Small fixes and logging Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add service_page Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Typo Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Move service_page below service_queue Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add service_message Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use correct weight function Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Overweight execution * Refactor * Missing file * Fix WeightCounter usage in scheduler Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix peek_index Take into account that decoding from a mutable slice modifies it. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add tests and bench service_page_item Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add debug_info Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add no-progress check to service_queues Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add more benches Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Bound from_message and try_append_message Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add PageReaped event Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Rename BookStateOf and BookStateFor Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update tests and remove logging Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove redundant per-message origins; add footprint() and sweep_queue() * Move testing stuff to mock.rs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add integration test Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix no-progress check Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix debug_info Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fixup merge and tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix footprint tracking * Introduce * Formatting * OverweightEnqueued event, auto-servicing config item * Update tests and benchmarks Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Clippy Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Provide change handler * Add missing BookStateFor::insert and call QueueChangeHandler Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Docs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update benchmarks and weights Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * More tests... Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use weight metering functions Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * weightInfo::process_message_payload is gone Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add defensive_saturating_accrue Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Rename WeightCounter to WeightMeter Ctr+Shift+H should do the trick. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Test on_initialize Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add module docs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove origin from MaxMessageLen The message origin is not encoded into the heap and does therefore not influence the max message length anymore. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add BoundedVec::as_slice Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Test Page::{from_message, try_append_message} Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fixup docs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Docs * Do nothing in sweep_queue if the queue does not exist ... otherwise it inserts default values into the storage. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Test ring (un)knitting Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Upgrade stress-test Change the test to not assume that all queued messages will be processed in the next block but split it over multiple. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * More tests... Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Beauty fixes Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * clippy Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Rename BoundedVec::as_slice to as_bounded_slice Conflicts with deref().as_slice() otherwise. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix imports Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove ReadyRing struct Was used for testing only. Instead use 'fn assert_ring' which also check the service head and backlinks. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Beauty fixes Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix stale page watermark Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Cleanup Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix test feature and clippy Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * QueueChanged handler is called correctly Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update benches Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Abstract testing functions Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * More tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Cleanup Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Clippy Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Simplify tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Make stuff compile Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Extend overweight execution benchmark Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove TODOs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Test service queue with faulty MessageProcessor Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update pallet ui tests to 1.65 Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * More docs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Review doc fixes Co-authored-by:
Robert Klotzner <[email protected]> Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add weight_limit to extrinsic weight of execute_overweight * Correctly return unused weight * Return actual weight consumed in do_execute_overweight * Review fixes Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Set version 7.0.0-dev Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Make it compile Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Switch message_size to u64 Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Switch message_count to u64 Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix benchmarks Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Make CI green Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Docs * Update tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * ".git/.scripts/bench-bot.sh" pallet dev pallet_message_queue * Dont mention README.md in the Cargo.toml Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove reference to readme Signed-off-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <> Co-authored-by:
Robert Klotzner <[email protected]> Co-authored-by:
Keith Yeung <[email protected]> * zombienet timings adjusted (#12890) * zombinet tests: add some timeout to allow net spin-up Sometimes tests are failing at first try, as the pods were not up yet. Adding timeout should allow the network to spin up properly. * initial timeout increased to 30s * Move import queue out of `sc-network` (#12764) * Move import queue out of `sc-network` Add supplementary asynchronous API for the import queue which means it can be run as an independent task and communicated with through the `ImportQueueService`. This commit removes removes block and justification imports from `sc-network` and provides `ChainSync` with a handle to import queue so it can import blocks and justifications. Polling of the import queue is moved complete out of `sc-network` and `sc_consensus::Link` is implemented for `ChainSyncInterfaceHandled` so the import queue can still influence the syncing process. * Fix tests * Apply review comments * Apply suggestions from code review Co-authored-by:
Bastian Köcher <[email protected]> * Update client/network/sync/src/lib.rs Co-authored-by:
Bastian Köcher <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]> * Trace response payload in default `jsonrpsee` middleware (#12886) * Trace result in default `jsonrpsee` middleware * `rpc_metrics::extra` Co-authored-by:
Bastian Köcher <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]> * Ensure that we inform all tasks to stop before starting the 60 seconds shutdown (#12897) * Ensure that we inform all tasks to stop before starting the 60 seconds shutdown The change of waiting in maximum 60 seconds for the node to shutdown actually introduced a bug. We were actually waiting always 60 seconds as we didn't informed our tasks to shutdown. The solution to this problem is to drop the task manager as this will then inform all tasks to end. It also adds tests to ensure that the behaviors work as expected. (This should already have been done in the first pr! :() * ".git/.scripts/fmt.sh" 1 Co-authored-by: command-bot <> * Safe desired targets call (#12826) * checked call for desired targets * fix compile * fmt * fix tests * cleaner with and_then * Fix typo (#12900) * ValidateUnsigned: Improve docs. (#12870) * ValidateUnsigned: Improve docs. * Review comments * rpc server with HTTP/WS on the same socket (#12663) * jsonrpsee v0.16 add backwards compatibility run old http server on http only * cargo fmt * update jsonrpsee 0.16.1 * less verbose cors log * fix nit in log: WS -> HTTP * revert needless changes in Cargo.lock * remove unused features in tower * fix nits; add client-core feature * jsonrpsee v0.16.2 * `pallet-message-queue`: Fix license (#12895) * Fix license Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add mock doc Signed-off-by:
Oliver Tale-Yazdi <[email protected]> Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use explicit call indices (#12891) * frame-system: explicit call index Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use explicit call indices Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * pallet-template: explicit call index Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * DNM: Temporarily require call_index Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Revert "DNM: Temporarily require call_index" This reverts commit c4934e312e12af72ca05a8029d7da753a9c99346. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Pin canonincalized block (#12902) * Remove implicit approval chilling upon slash. (#12420) * don't read slashing spans when taking election snapshot * update cargo.toml * bring back remote test * fix merge stuff * fix npos-voters function sig * remove as much redundant diff as you can * Update frame/staking/src/pallet/mod.rs Co-authored-by:
Andronik <[email protected]> * fix * Update frame/staking/src/pallet/impls.rs * update lock * fix all tests * review comments * fmt * fix offence bench * clippy * ".git/.scripts/bench-bot.sh" pallet dev pallet_staking Co-authored-by:
Andronik <[email protected]> Co-authored-by:
Ankan <[email protected]> Co-authored-by: command-bot <> * bounties calls docs fix (#12909) Co-authored-by: parity-processbot <> * pallet-contracts migration pre-upgrade fix for v8 (#12905) * Only run pre-v8 migration check for versions older than 8 * Logix fix * use custom environment for publishing crates (#12912) * [contracts] Add debug buffer limit + enforcement (#12845) * Add debug buffer limit + enforcement Add debug buffer limit + enforcement * use BoundedVec for the debug buffer * revert schedule (debug buf len limit not needed anymore) * return DispatchError * addressed review comments * frame/remote-externalities: Fix clippy Signed-off-by:
Alexandru Vasile <[email protected]> * frame/rpc: Add previous export Signed-off-by:
Alexandru Vasile <[email protected]> * Fixup some wrong dependencies (#12899) * Fixup some wrong dependencies Dev dependencies should not appear in the feature list. If features are required, they should be directly enabled for the `dev-dependency`. * More fixups * Fix fix * Remove deprecated feature * Make all work properly and nice!! * FMT * Fix formatting * add numerator and denominator to Rational128 Debug impl and increase precision of float representation (#12914) * Fix state-db pinning (#12927) * Pin all canonicalized blocks * Added a test * Docs * [ci] add job switcher (#12922) Signed-off-by:
Alexandru Vasile <[email protected]> Signed-off-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by:
Keith Yeung <[email protected]> Co-authored-by:
Vlad <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]> Co-authored-by:
Anthony Alaribe <[email protected]> Co-authored-by:
Gavin Wood <[email protected]> Co-authored-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by:
Robert Klotzner <[email protected]> Co-authored-by:
Michal Kucharczyk <[email protected]> Co-authored-by:
Aaro Altonen <[email protected]> Co-authored-by:
tgmichel <[email protected]> Co-authored-by:
Ankan <[email protected]> Co-authored-by:
Luke Schoen <[email protected]> Co-authored-by:
Niklas Adolfsson <[email protected]> Co-authored-by:
Arkadiy Paronyan <[email protected]> Co-authored-by:
Kian Paimani <[email protected]> Co-authored-by:
Andronik <[email protected]> Co-authored-by:
Ankan <[email protected]> Co-authored-by:
Muharem Ismailov <[email protected]> Co-authored-by:
Dino Pačandi <[email protected]> Co-authored-by:
João Paulo Silva de Souza <[email protected]> Co-authored-by:
Sasha Gryaznov <[email protected]> Co-authored-by:
Alexander Popiak <[email protected]> Co-authored-by:
Alexander Samusev <[email protected]> * Revert "rpc rebase: Try-runtime Revamp and Facelift (#12921)" This reverts commit 4ce770a9cb8daf1401529bda7d974b8c703f6b3e. * Lexnv/kiz revamp try runtime stuff (#12932) * Introduce sensible weight constants (#12868) * Introduce sensible weight constants * cargo fmt * Remove unused import * Add missing import * ".git/.scripts/bench-bot.sh" pallet dev pallet_lottery Co-authored-by: command-bot <> * Checkout to the branch HEAD explicitly in `build-linux-substrate` (#12876) * cli: Improve pruning documentation (#12819) * cli: Improve pruning documentation Signed-off-by:
Alexandru Vasile <[email protected]> * cli: Keep `finalized` notation and remove `canonical` one * cli: Fix cargo doc * cli: `PruningModeClap` IR enum Signed-off-by:
Alexandru Vasile <[email protected]> * cli: Convert PruningModeClap into pruning modes Signed-off-by:
Alexandru Vasile <[email protected]> * cli: Use `PruningModeClap` Signed-off-by:
Alexandru Vasile <[email protected]> * cli: Rename to `DatabasePruningMode` Signed-off-by:
Alexandru Vasile <[email protected]> * cli: Implement `FromStr` instead of `clap::ValueEnum` Signed-off-by:
Alexandru Vasile <[email protected]> * Update client/cli/src/params/pruning_params.rs Co-authored-by:
Bastian Köcher <[email protected]> * Fix clippy Signed-off-by:
Alexandru Vasile <[email protected]> * cli: Add option documentation back Signed-off-by:
Alexandru Vasile <[email protected]> * Apply suggestions from code review Signed-off-by:
Alexandru Vasile <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]> * Revert "Move LockableCurrency trait to fungibles::Lockable and deprecate LockableCurrency (#12798)" (#12882) This reverts commit 9a014d1e. * Don't indefinitely block on shutting down Tokio (#12885) * Don't indefinitely on shutting down Tokio Now we wait in maximum 60 seconds before we shutdown the node. Tasks are may be leaked and leading to some data corruption. * Drink less
🤔 * General Message Queue Pallet (#12485) * The message queue * Make fully generic * Refactor * Docs * Refactor * Use iter not slice * Per-origin queues * Multi-queue processing * Introduce MaxReady * Remove MaxReady in favour of ready ring * Cleanups * ReadyRing and tests * Stale page reaping * from_components -> from_parts Signed-off-by:Oliver Tale-Yazdi <[email protected]> * Move WeightCounter to sp_weights Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add MockedWeightInfo Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Deploy to kitchensink Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use WeightCounter Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Small fixes and logging Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add service_page Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Typo Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Move service_page below service_queue Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add service_message Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use correct weight function Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Overweight execution * Refactor * Missing file * Fix WeightCounter usage in scheduler Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix peek_index Take into account that decoding from a mutable slice modifies it. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add tests and bench service_page_item Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add debug_info Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add no-progress check to service_queues Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add more benches Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Bound from_message and try_append_message Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add PageReaped event Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Rename BookStateOf and BookStateFor Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update tests and remove logging Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove redundant per-message origins; add footprint() and sweep_queue() * Move testing stuff to mock.rs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add integration test Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix no-progress check Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix debug_info Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fixup merge and tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix footprint tracking * Introduce * Formatting * OverweightEnqueued event, auto-servicing config item * Update tests and benchmarks Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Clippy Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Provide change handler * Add missing BookStateFor::insert and call QueueChangeHandler Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Docs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update benchmarks and weights Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * More tests... Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use weight metering functions Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * weightInfo::process_message_payload is gone Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add defensive_saturating_accrue Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Rename WeightCounter to WeightMeter Ctr+Shift+H should do the trick. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Test on_initialize Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add module docs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove origin from MaxMessageLen The message origin is not encoded into the heap and does therefore not influence the max message length anymore. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add BoundedVec::as_slice Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Test Page::{from_message, try_append_message} Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fixup docs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Docs * Do nothing in sweep_queue if the queue does not exist ... otherwise it inserts default values into the storage. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Test ring (un)knitting Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Upgrade stress-test Change the test to not assume that all queued messages will be processed in the next block but split it over multiple. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * More tests... Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Beauty fixes Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * clippy Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Rename BoundedVec::as_slice to as_bounded_slice Conflicts with deref().as_slice() otherwise. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix imports Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove ReadyRing struct Was used for testing only. Instead use 'fn assert_ring' which also check the service head and backlinks. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Beauty fixes Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix stale page watermark Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Cleanup Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix test feature and clippy Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * QueueChanged handler is called correctly Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update benches Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Abstract testing functions Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * More tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Cleanup Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Clippy Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Simplify tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Make stuff compile Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Extend overweight execution benchmark Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove TODOs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Test service queue with faulty MessageProcessor Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update pallet ui tests to 1.65 Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * More docs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Review doc fixes Co-authored-by:
Robert Klotzner <[email protected]> Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add weight_limit to extrinsic weight of execute_overweight * Correctly return unused weight * Return actual weight consumed in do_execute_overweight * Review fixes Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Set version 7.0.0-dev Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Make it compile Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Switch message_size to u64 Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Switch message_count to u64 Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix benchmarks Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Make CI green Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Docs * Update tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * ".git/.scripts/bench-bot.sh" pallet dev pallet_message_queue * Dont mention README.md in the Cargo.toml Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove reference to readme Signed-off-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <> Co-authored-by:
Robert Klotzner <[email protected]> Co-authored-by:
Keith Yeung <[email protected]> * zombienet timings adjusted (#12890) * zombinet tests: add some timeout to allow net spin-up Sometimes tests are failing at first try, as the pods were not up yet. Adding timeout should allow the network to spin up properly. * initial timeout increased to 30s * Move import queue out of `sc-network` (#12764) * Move import queue out of `sc-network` Add supplementary asynchronous API for the import queue which means it can be run as an independent task and communicated with through the `ImportQueueService`. This commit removes removes block and justification imports from `sc-network` and provides `ChainSync` with a handle to import queue so it can import blocks and justifications. Polling of the import queue is moved complete out of `sc-network` and `sc_consensus::Link` is implemented for `ChainSyncInterfaceHandled` so the import queue can still influence the syncing process. * Fix tests * Apply review comments * Apply suggestions from code review Co-authored-by:
Bastian Köcher <[email protected]> * Update client/network/sync/src/lib.rs Co-authored-by:
Bastian Köcher <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]> * Trace response payload in default `jsonrpsee` middleware (#12886) * Trace result in default `jsonrpsee` middleware * `rpc_metrics::extra` Co-authored-by:
Bastian Köcher <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]> * Ensure that we inform all tasks to stop before starting the 60 seconds shutdown (#12897) * Ensure that we inform all tasks to stop before starting the 60 seconds shutdown The change of waiting in maximum 60 seconds for the node to shutdown actually introduced a bug. We were actually waiting always 60 seconds as we didn't informed our tasks to shutdown. The solution to this problem is to drop the task manager as this will then inform all tasks to end. It also adds tests to ensure that the behaviors work as expected. (This should already have been done in the first pr! :() * ".git/.scripts/fmt.sh" 1 Co-authored-by: command-bot <> * Safe desired targets call (#12826) * checked call for desired targets * fix compile * fmt * fix tests * cleaner with and_then * Fix typo (#12900) * ValidateUnsigned: Improve docs. (#12870) * ValidateUnsigned: Improve docs. * Review comments * rpc server with HTTP/WS on the same socket (#12663) * jsonrpsee v0.16 add backwards compatibility run old http server on http only * cargo fmt * update jsonrpsee 0.16.1 * less verbose cors log * fix nit in log: WS -> HTTP * revert needless changes in Cargo.lock * remove unused features in tower * fix nits; add client-core feature * jsonrpsee v0.16.2 * `pallet-message-queue`: Fix license (#12895) * Fix license Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add mock doc Signed-off-by:
Oliver Tale-Yazdi <[email protected]> Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use explicit call indices (#12891) * frame-system: explicit call index Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use explicit call indices Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * pallet-template: explicit call index Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * DNM: Temporarily require call_index Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Revert "DNM: Temporarily require call_index" This reverts commit c4934e312e12af72ca05a8029d7da753a9c99346. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Pin canonincalized block (#12902) * Remove implicit approval chilling upon slash. (#12420) * don't read slashing spans when taking election snapshot * update cargo.toml * bring back remote test * fix merge stuff * fix npos-voters function sig * remove as much redundant diff as you can * Update frame/staking/src/pallet/mod.rs Co-authored-by:
Andronik <[email protected]> * fix * Update frame/staking/src/pallet/impls.rs * update lock * fix all tests * review comments * fmt * fix offence bench * clippy * ".git/.scripts/bench-bot.sh" pallet dev pallet_staking Co-authored-by:
Andronik <[email protected]> Co-authored-by:
Ankan <[email protected]> Co-authored-by: command-bot <> * bounties calls docs fix (#12909) Co-authored-by: parity-processbot <> * pallet-contracts migration pre-upgrade fix for v8 (#12905) * Only run pre-v8 migration check for versions older than 8 * Logix fix * use custom environment for publishing crates (#12912) * [contracts] Add debug buffer limit + enforcement (#12845) * Add debug buffer limit + enforcement Add debug buffer limit + enforcement * use BoundedVec for the debug buffer * revert schedule (debug buf len limit not needed anymore) * return DispatchError * addressed review comments * frame/remote-externalities: Fix clippy Signed-off-by:
Alexandru Vasile <[email protected]> * frame/rpc: Add previous export Signed-off-by:
Alexandru Vasile <[email protected]> * Fixup some wrong dependencies (#12899) * Fixup some wrong dependencies Dev dependencies should not appear in the feature list. If features are required, they should be directly enabled for the `dev-dependency`. * More fixups * Fix fix * Remove deprecated feature * Make all work properly and nice!! * FMT * Fix formatting * add numerator and denominator to Rational128 Debug impl and increase precision of float representation (#12914) * Fix state-db pinning (#12927) * Pin all canonicalized blocks * Added a test * Docs * [ci] add job switcher (#12922) * Use LOG_TARGET in consensus related crates (#12875) * Use shared LOG_TARGET in consensus related crates * Rename target from "afg" to "grandpa" Signed-off-by:
Alexandru Vasile <[email protected]> Signed-off-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by:
Keith Yeung <[email protected]> Co-authored-by:
Vlad <[email protected]> Co-authored-by:
Alexandru Vasile <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]> Co-authored-by:
Anthony Alaribe <[email protected]> Co-authored-by:
Gavin Wood <[email protected]> Co-authored-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by:
Robert Klotzner <[email protected]> Co-authored-by:
Michal Kucharczyk <[email protected]> Co-authored-by:
Aaro Altonen <[email protected]> Co-authored-by:
tgmichel <[email protected]> Co-authored-by:
Ankan <[email protected]> Co-authored-by:
Luke Schoen <[email protected]> Co-authored-by:
Niklas Adolfsson <[email protected]> Co-authored-by:
Arkadiy Paronyan <[email protected]> Co-authored-by:
Andronik <[email protected]> Co-authored-by:
Ankan <[email protected]> Co-authored-by:
Muharem Ismailov <[email protected]> Co-authored-by:
Dino Pačandi <[email protected]> Co-authored-by:
João Paulo Silva de Souza <[email protected]> Co-authored-by:
Sasha Gryaznov <[email protected]> Co-authored-by:
Alexandru Vasile <[email protected]> Co-authored-by:
Alexander Popiak <[email protected]> Co-authored-by:
Alexander Samusev <[email protected]> Co-authored-by:
Davide Galassi <[email protected]> * Revert "Lexnv/kiz revamp try runtime stuff (#12932)" This reverts commit 378cfb26d984bcde467781f07ef8ddb6998212cb. * fmt * update * fix publish Signed-off-by:
Alexandru Vasile <[email protected]> Signed-off-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by:
Niklas Adolfsson <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]> Co-authored-by:
Alexandru Vasile <[email protected]> Co-authored-by:
Keith Yeung <[email protected]> Co-authored-by:
Vlad <[email protected]> Co-authored-by:
Anthony Alaribe <[email protected]> Co-authored-by:
Gavin Wood <[email protected]> Co-authored-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by:
Robert Klotzner <[email protected]> Co-authored-by:
Michal Kucharczyk <[email protected]> Co-authored-by:
Aaro Altonen <[email protected]> Co-authored-by:
tgmichel <[email protected]> Co-authored-by:
Ankan <[email protected]> Co-authored-by:
Luke Schoen <[email protected]> Co-authored-by:
Arkadiy Paronyan <[email protected]> Co-authored-by:
Andronik <[email protected]> Co-authored-by:
Ankan <[email protected]> Co-authored-by:
Muharem Ismailov <[email protected]> Co-authored-by:
Dino Pačandi <[email protected]> Co-authored-by:
João Paulo Silva de Souza <[email protected]> Co-authored-by:
Sasha Gryaznov <[email protected]> Co-authored-by:
Alexander Popiak <[email protected]> Co-authored-by:
Alexander Samusev <[email protected]> Co-authored-by:
Alexandru Vasile <[email protected]> Co-authored-by:
Davide Galassi <[email protected]>
-
Gonçalo Pestana authored
* Staking: store last min-active-bond on-chain Storing the `min-active-bond` onchain helps the UIs with minimal on-chain costs. Closes https://github.com/paritytech/substrate/issues/12746 * Avoid relying on sorting to set the * Addresses PR comments
-
- Dec 13, 2022
-
-
Bastian Köcher authored
* Fixup some wrong dependencies Dev dependencies should not appear in the feature list. If features are required, they should be directly enabled for the `dev-dependency`. * More fixups * Fix fix * Remove deprecated feature * Make all work properly and nice!! * FMT * Fix formatting
-
- Dec 12, 2022
-
-
Kian Paimani authored
* don't read slashing spans when taking election snapshot * update cargo.toml * bring back remote test * fix merge stuff * fix npos-voters function sig * remove as much redundant diff as you can * Update frame/staking/src/pallet/mod.rs Co-authored-by:
Andronik <[email protected]> * fix * Update frame/staking/src/pallet/impls.rs * update lock * fix all tests * review comments * fmt * fix offence bench * clippy * ".git/.scripts/bench-bot.sh" pallet dev pallet_staking Co-authored-by:
Andronik <[email protected]> Co-authored-by:
Ankan <[email protected]> Co-authored-by: command-bot <>
-
Oliver Tale-Yazdi authored
* frame-system: explicit call index Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use explicit call indices Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * pallet-template: explicit call index Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * DNM: Temporarily require call_index Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Revert "DNM: Temporarily require call_index" This reverts commit c4934e312e12af72ca05a8029d7da753a9c99346. Signed-off-by:
Oliver Tale-Yazdi <[email protected]>
-