- Oct 02, 2020
-
-
Kian Paimani authored
* Mockup * Fix offchain election to respect the weight * Fix builds a bit * Update frame/staking/src/offchain_election.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Update frame/staking/src/offchain_election.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Make it build, binary search * Fix a number of grumbles * one more fix. * remove unwrap. * better alg. * Better alg again. * Final fixes * Fix * Rollback to normal * Final touches. * Better tests. * Update frame/staking/src/lib.rs Co-authored-by: Guillaume Thiolliere <[email protected]> * Proper maxExtWeight * Final fix * Final fix for the find_voter Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Guillaume Thiolliere <[email protected]>
-
Max Inden authored
fdlimit 0.2.1 contains a small patch allowing compilation on platforms where libc represents rlimits as u32.
-
- Oct 01, 2020
-
-
Wei Tang authored
-
Pierre Krieger authored
-
thiolliere authored
* fix executive test * add unallowed unsigned test * better to have also unsigned pre_dispatch check tested
-
Kerwin Zhu authored
-
Bastian Köcher authored
* Remove runtime registered extensions after execution This prevents a bug when an extension was registered in native, but the native execution aborted without removing the extension again. Now, when executing the wasm code the extension is still registered and it fails of being registered. So, the wasm execution fails as well. This can happen for example for the `VerificationExt`. * Make it better
-
Xiliang Chen authored
* expose add_proxy and remove_proxy * add getter * bump version * Update frame/proxy/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * add comments Co-authored-by: Bastian Köcher <[email protected]>
-
thiolliere authored
* fix weight for inner call with new origin * fix
-
Shawn Tabrizi authored
* Update treasury config to use propotion of council members * add `_5`
-
- Sep 30, 2020
-
-
Wei Tang authored
-
Shawn Tabrizi authored
* add additional checks * fix wasm trap * Wasm trap? * Clean up validators before running payout * fix line width
-
Denis_P authored
* change (CI): remove deprecated only/except clauses * change (CI): remove * change (CI): debug regex * change (CI): regex shouldn't be surrounded with quotes in `rules` * change (CI): no quotes in `rules` * change (CI): debug workflow * change (CI): almost equal * change (CI): splinters * change (CI): some details [chaos:basic] * change (CI): add manual substrate build on PRs * change (CI): mistake with publish-to-crates-io * change (CI): reapproach chaos-only; rename rules anchors [skip ci] * change (CI): add linux and mac to manual jobs for PRs [skip ci] * change (CI): remove `pre-v` tags rules [skip ci] * change (CI): add subkey for macos build as manual on PRs as well * change (CI): add glob to match every changed file in monitoring * test (CI): [chaos:basic]
-
André Silva authored
* client: fix multiple logger filters * client: add test for log filters setup
-
André Silva authored
-
Bastian Köcher authored
-
Max Inden authored
* .maintain/monitoring: Normalize alerting rules - Start alert names with their component and end with the describing adjective. - Describe alert duration in `message` with `for more than` across all alerts. * .maintain/monitoring: Fix alert tests
-
- Sep 29, 2020
-
-
Shawn Tabrizi authored
-
nasa8x authored
* Add ss58 address for GeekCash * Add ss58 address for GeekCash * Add ss58 address for GeekCash on ss58registry.json
-
Pierre Krieger authored
-
Max Inden authored
Stop sending legacy handshake payloads, i.e. length-prefixed protobuf payloads inside a length-prefixed noise frame. Receiving of such legacy handshakes is still supported, thus backwards compatibility is given.
-
- Sep 28, 2020
-
-
Sergey Pepyakin authored
Co-authored-by: Gav Wood <[email protected]>
-
- Sep 25, 2020
-
-
Lovesh Harchandani authored
public. `Public` and `Signature` tuple structs of ed25519 and sr25519 have the internal member public already. This change makes the interface similar. Signed-off-by: lovesh <[email protected]>
-
Alexander Popiak authored
* move the time delayed proxies migration into a separate function * add use statement * Update frame/proxy/src/lib.rs * bump proxy cargo version * update Cargo.lock * Update lib.rs * better format Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Gav Wood <[email protected]>
-
- Sep 24, 2020
-
-
Gavin Wood authored
* Introduce `cancel_proposal` Also fix proposal weight. * Support proposal cancellation from runtime. * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fix benchmarks * fix benchmark * whitelisted caller weights * fix build * Fixes * Fixes * Fixes * Fixes * Update frame/democracy/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Fixes * Fixes * Fixes * Fixes * Fixes * doc updates * new weights Co-authored-by: Shawn Tabrizi <[email protected]>
-
Pierre Krieger authored
-
Benjamin Kampmann authored
-
Caio authored
* Add doc for auto-generated code * Update utils/wasm-builder-runner/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]>
-
Edwin authored
-
Pierre Krieger authored
-
- Sep 23, 2020
-
-
Bastian Köcher authored
* Fix vanity command by taking the network into account * Delete empty line * Apply suggestions from code review Co-authored-by: Kian Paimani <[email protected]> * Change test * Stupid me Co-authored-by: Kian Paimani <[email protected]>
-
Shawn Tabrizi authored
* Generic WeightInfo, Output File Path * Make `WeightInfo` generic * Add support for header file * fix line width * add `--spaces` flag * Configurable trait and struct strings * make elections phragmen generic * Add date to generated file * Apply suggestions from code review Co-authored-by: Gavin Wood <[email protected]> * fixes * add settings metadata to output Co-authored-by: nikvolf <[email protected]> Co-authored-by: Gavin Wood <[email protected]>
-
Kian Paimani authored
* Revamp npos-elections and implement phragmms * Update primitives/npos-elections/src/phragmms.rs * Fix build * Some review grumbles * Add some stuff for remote testing * fix some of the grumbles. * Add remote testing stuff. * Cleanup * fix docs * Update primitives/arithmetic/src/rational.rs Co-authored-by: Dan Forbes <[email protected]> * Small config change * Better handling of approval_stake == 0 * Final touhces. * Clean fuzzer a bit * Clean fuzzer a bit * Update primitives/npos-elections/src/balancing.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Fix fuzzer. * Better api for normalize * Add noramlize_up * A large number of small fixes. * make it merge ready * Fix warns * bump * Fix fuzzers a bit. * Fix warns as well. * Fix more tests. Co-authored-by: Dan Forbes <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Sep 22, 2020
-
-
Benjamin Kampmann authored
Tagging the release of substrate 2.0 [ci: skip-checks]
-
Gavin Wood authored
* u32 Refcounts, plus migration * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes Co-authored-by: Shawn Tabrizi <[email protected]>
-
thiolliere authored
* implement index for pallet + some tests * add test and doc * remove deprecated and document behavior * update internal doc * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * address review * use index for all module, break construct_runtime * fix line length * implement migration helper funciton in scheduler * fix start at index 0 * Update frame/scheduler/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Update frame/support/procedural/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * bump frame-metadata crate * factorize * avoid some unwrap and remove nightly join * Update frame/support/src/event.rs Co-authored-by: Bastian Köcher <[email protected]> * fix test * add test and improve error message * factorize test * keep iterator, and use slice instead of vec * refactor to avoid to have expects * small refactor * Test something * Make sure we update the `Cargo.lock` * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * return 2 error * Apply suggestions from code review Co-authored-by: Alexander Popiak <[email protected]> * Update frame/scheduler/src/lib.rs Co-authored-by: Kian Paimani <[email protected]> * fix typo * Revert "fix typo" This reverts commit f2de8f2d. * Revert "Update frame/scheduler/src/lib.rs" This reverts commit 6feb4605 . Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Alexander Popiak <[email protected]> Co-authored-by: Kian Paimani <[email protected]>
-
Bastian Köcher authored
* Rename `ModuleToIndex` to `PalletRuntimeSetup` Besides the renaming it also adds support getting the name of a pallet as configured in the runtime. * Rename it to `PalletInfo` * Remove accidentally added files
-
Steve Degosserie authored
* Re-generate READMEs to fix doc links; set readme field in package manifests * Re-generate READMEs to fix doc links; set readme field in package manifests * Re-generate READMEs to fix doc links; set readme field in package manifests * Re-generate READMEs to fix doc links; set readme field in package manifests * Revert stuff that shouldn't have been committed * Revert stuff that shouldn't have been committed * Fix parent relative link generation * Manually remove this incorrect link for now.
-
Kian Paimani authored
* Update elections-phragmen weight to WeightInfo * Fix benchmark tests * Update weights * Update test * Update another thest :" * Weights from benchmarking machine ./substrate2/target/release/substrate benchmark --chain dev --steps 50 --repeat 20 --pallet pallet_elections_phragmen --extrinsic "*" --raw --execution=wasm --wasm-execution=compiled --output * Update weights from the benchmarking machine * Fix tests one last time Co-authored-by: Shawn Tabrizi <[email protected]>
-
Nikolay Volf authored
-