- Apr 27, 2020
-
-
Nikolay Volf authored
* use append api to deposit events * use optimized append * one more optimization * fix bug * fix issues * address review
-
Cecile Tonglet authored
* Initial commit Forked at: 64ed36d0 Parent branch: origin/master * Add method with_default_block_announcer to ServiceBuilder
-
Arkadiy Paronyan authored
* Optimize pinning * Ref counting state backend * Style Co-Authored-By: Wei Tang <[email protected]> * Update Cargo.lock * Handle empty node Co-authored-by: Wei Tang <[email protected]>
-
Pierre Krieger authored
-
- Apr 26, 2020
-
-
Xiliang Chen authored
* fix fixed64 * improve * bump version
-
- Apr 25, 2020
-
-
Bastian Köcher authored
This adds support for registering custom runtime upgrade logic that can be implemented in the runtime directly instead of putting it into a module.
-
Xiliang Chen authored
* expose constants * bump version
-
Tomasz Drwięga authored
-
Joshy Orndorff authored
-
Shawn Tabrizi authored
* Introduce `BlockExectionWeight` and `ExtrinsicBaseWeight` * Add new traits everywhere * Missed one update * fix tests * Update `check_weight` logic * introduce `max_extrinsic_weight` function * fix + add tests * format nits * remove println * make test a bit more clear * Remove minimum weight * newlines left over from find/replace * Fix test, improve clarity * Fix executor tests * Extrinsic base weight same as old `MINIMUM_WEIGHT` * fix example test * Expose constants * Add test for full block with operational and normal * Initiate test environment with `BlockExecutionWeight` weight * format nit * Update frame/system/src/lib.rs Co-Authored-By: Kian Paimani <[email protected]> * Replace `TransactionBaseFee` with `ExtrinsicBaseWeight` (#5761) * Replace `TransactionBaseFee` with `ExtrinsicBaseFee` * Fix stuff * Fix and make tests better * Forgot to update this test * Fix priority number in test * Remove minimum weight from merge * Fix weight in contracts * remove `TransactionBaseFee` from contract tests * Let `register_extra_weight_unchecked` go past `MaximumBlockWeight` * address feedback Co-authored-by: Kian Paimani <[email protected]>
-
- Apr 24, 2020
-
-
André Silva authored
* babe: remove error fallbacks from threshold calculation * babe: fix indent * babe: fix domain * babe: fix compilation * babe: improve expect * babe: add one more note about p's limit
-
thiolliere authored
* weight formula for session except on_initialize * fix typo and set on_initialize to MaxWeight * Add note
-
s3krit authored
-
Max Inden authored
Instead of logging value-found-event-handling failures or value-put failures on error level, log them on debug level only additionally recording them via Prometheus. Motivation is that both events can happen in "normal" operations and thus clutter the logs.
-
Wei Tang authored
* babe: secondary blocks with VRF * Fix node runtime compile * Fix test-utils runtime interface * Fix babe tests * typo: v == 2 * babe: support online configuration upgrades * Fix rpc tests * Fix runtime version tests * Switch to use NextConfigDescriptor instead of changing runtime interface * Fix tests * epoch-changes: map function that allows converting with different epoch types * Add migration script for the epoch config change * Fix docs for PrimaryAndSecondaryVRFSlots * Add docs of `SecondaryVRF` in babe crate * babe-primitives: Secondary -> SecondaryPlain * babe-client: Secondary -> SecondaryPlain * Fix migration tests * test-utils-runtime: Secondary -> SecondaryPlain * Fix missing name change in test-utils-runtime * Fix migration: Epoch should be EpochV0 * Update client/consensus/babe/src/lib.rs Co-Authored-By: André Silva <[email protected]> * Fix new epochChanges version * Fix babe-primitives naming changes * Fix merge issues in babe-client Co-authored-by: André Silva <[email protected]> Co-authored-by: André Silva <[email protected]>
-
Alexander Popiak authored
* add old_registrar_count as param to estimate weight * cast count to Weight Co-Authored-By: Shawn Tabrizi <[email protected]> * add weight calculation for set_identity * remove superfluous weight comment * add detailed weight estimation for set_subs * adjust benchmarking code to the new API * add second parameter to set_subs benchmark * rename o to p * calculate weight based on benchmarks * use try_mutate for registrars * fix weight number typo * update weights for set_subs + add weights for clear_identity and request_judgement * improve naming and docs * add weight calculation for cancel_request * fix benchmark * fix tests * fix arithmetic overflow in balances triggered by tests * add weight calcluations for more dispatchables * add weight calculation for provide_judgement * mark param as unused * add MaxRegistrars associated type used for weight estimation * check that MaxRegistrars is not exceeded * add remaining weight calculations * use weight refunds to use more constants in weight estimation * adjust usage of clear_identity * refund request_judgement weights and remove param * refund weights for cancel_request and remove param * add remaining refunds and remove params * refund weight for set_subs and remove param * make comment more specific * add range note to benchmarking docs * fix inconsistencies before review * fix actual weight calculation for add_registrar * remove duplicate balance ops weights + refund on all dispatchables Co-authored-by: Shawn Tabrizi <[email protected]>
-
Bernhard Schuster authored
Co-Authored-By: Kian Paimani <[email protected]> Co-Authored-By: Tomasz Drwięga <[email protected]>
-
Pierre Krieger authored
-
Wei Tang authored
* babe: support online configuration upgrades * Switch to use NextConfigDescriptor instead of changing runtime interface * Fix tests * epoch-changes: map function that allows converting with different epoch types * Add migration script for the epoch config change * Fix migration tests * Fix migration: Epoch should be EpochV0 * Update client/consensus/babe/src/lib.rs Co-Authored-By: André Silva <[email protected]> * Fix new epochChanges version * Fix unused imports Co-authored-by: André Silva <[email protected]>
-
Nikolay Volf authored
-
Joseph Mark authored
-
Benjamin Kampmann authored
-
Pierre Krieger authored
* Use new block requests protocol * Tweak comment
-
Bastian Köcher authored
-
Alexander Popiak authored
Co-Authored-By: thiolliere <[email protected]>
-
emostov authored
* transition treasury to configurable moduleids * make election module id configurable * convert runtime and pallet to accept module id config elections-phragmen * add ModuleId to evm pallet * change society pallet to configurable module id * delete commented out module_id * delete commented out code and merge in upstream master * try and convert 4 whitespace to tab * fix remaining space to tab conversions * trivial cleaning * delete comment from elections-phragrems tests * trivial * Update frame/elections-phragmen/src/lib.rs * add docs for elections and elections phragmen * make has_lock test get moduleid dynamically * Apply suggestions from code review Co-Authored-By: Amar Singh <[email protected]> * make sure get is imported to evm Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Amar Singh <[email protected]> Co-authored-by: Benjamin Kampmann <[email protected]>
-
Shawn Tabrizi authored
-
Alexander Theißen authored
Co-Authored-By: Tomasz Drwięga <[email protected]> Co-Authored-By: Sergei Pepyakin <[email protected]>
-
- Apr 23, 2020
-
-
Chevdor authored
* Fix error message when providing an incorrect peer-id * Fix error message to cover all cases Co-authored-by: Pierre Krieger <[email protected]>
-
Alexander Popiak authored
-
Arkadiy Paronyan authored
-
Dan Forbes authored
-
Hoani Bryson authored
Co-Authored-By: thiolliere <[email protected]>
-
Nikolay Volf authored
-
Bastian Köcher authored
-
Ashley authored
-
Svyatoslav Nikolsky authored
-
Nikolay Volf authored
-
Benjamin Kampmann authored
-
Nikolay Volf authored
-