- Nov 12, 2020
-
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Pierre Krieger authored
Because of the asynchronous nature of the behaviour <-> handler communications, it is possible to receive notifications while in the Closing state
-
- Nov 11, 2020
-
-
Pierre Krieger authored
-
Wei Tang authored
* Export app-crypto specific keystore functions * Also add back the insert function * Switch KeystoreContainer to an enum * Only export the bare minimal for LocalKeystore and fix service compile * fix: should return Arc * Add docs stating that functions only available in local keystore * Remove insert and generate functions * fix: generate function should be available in test * Add keypair function to trait * Revert "Add keypair function to trait" This reverts commit ad921b09. * Add note for local_keystore function in service
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Jon Häggblad authored
* babe: backoff authoring blocks when finality lags * babe: move backoff authoring params to default constructor * babe: deduplicate the test a bit * babe: set backoff constants in service * babe: use better names for backoff authoring block parameters * babe: remove last unwrap * babe: slight style tweak * babe: fix comment * slots: move backoff block authorship logic to SimpleSlotWorker * aura: append SlotInfo in on_slot * slots: use the correct types for parameters * slots: fix review comments * aura: add missing backoff authoring blocks parameters * slots: add comments for default values * slots: add additional checks in test * slots: update implementation for new master * slots: revert the change to SlotInfo * Fix review comments * slots: rework unit tests for backing off claiming slots * slots: add test for asymptotic behaviour for slot claims * slots: address review comments * slots: add test for max_interval * slots: add assertion for intervals between between claimed slots * slots: remove rustfmt directive * slots: another attempt at explaining authoring_rate * slots: up unfinalized_slack to 50 by default * slots: add tests for time to reach max_interval * slots: fix typo in comments * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * slots: additional tweaks to comments and info calls * slots: rename to BackoffAuthoringOnFinalizedHeadLagging * slots: make the backing off strategy generic * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * slots: implement backoff trait for () for simplicity * slots: move logging inside backing off function to make it more specific * aura: add missing function parameter Co-authored-by: Bastian Köcher <[email protected]>
-
Bastian Köcher authored
The genesis header doesn't have the BABE pre-digest and we insert `0` as slot number. The slot lenience calculation will return the maximum in this situation. Besides returning the maximum which is not bad at all, it also prints some a debug message that can be confusing in the first moment. To prevent printing this debug message, we now just return early when we see that the parent block is the genesis block.
-
- Nov 10, 2020
-
-
Antoine Le Calvez authored
Arguments for IndexAssigned and IndexFrozen were inverted in comments.
-
- Nov 09, 2020
-
-
thiolliere authored
-
Caio authored
-
Alexander Theißen authored
* pallet_contracts: Inline benchmark helper that is only used once * Move all max_* Schedule items into a new struct * Limit the number of globals a module can declare * The current limits are too high for wasmi to even execute * Limit the amount of parameters any wasm function is allowed to have * Limit the size the BrTable's immediate value * Add instruction benchmarks * Add new benchmarks to the schedule and make use of it * Add Benchmark Results generated by the bench bot * Add proc macro that implements `Debug` for `Schedule` * Add missing imports necessary for no_std build * Make the WeightDebug macro available for no_std In this case a dummy implementation is derived in order to not blow up the code size akin to the RuntimeDebug macro. * Rework instr_memory_grow benchmark to use only the maximum amount of pages allowed * Add maximum amount of memory when benching (seal_)call/instantiate * cargo run --release --features ru...
-
Bastian Köcher authored
-
- Nov 08, 2020
-
-
Shinsaku Ashizawa authored
* describe pallet evm * add license * write readme into lib.rs * change some sentence Co-authored-by: Wei Tang <[email protected]> * update implementation status Co-authored-by: Wei Tang <[email protected]> * update readme according to review * Update frame/evm/src/lib.rs * fix line length Co-authored-by: Wei Tang <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Nov 05, 2020
-
-
Bastian Köcher authored
* Make the maximum block size configurable This pr makes the maximum block size configurable. The maximum block size is used after proposing a new block to check if the new block is not exceeding the maximum. * Update primitives/consensus/common/src/evaluation.rs Co-authored-by: André Silva <[email protected]> * Added comment Co-authored-by: André Silva <[email protected]>
-
Denis_P authored
* change (CI): markdown link checker * Fix some invalid doc links (re-run of cargo-unleash gen-readme w/ fixes). * Fix some invalid doc links * Fix some invalid doc links * Fix some links * Fix some links * Apply @bkchr suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * Fix more links * Fix more links * typo * Fix more links * Fix more links * Ignore valid link .. check wrongly sees it as invalid * Fix style issue * Fix style issue * change (CI): update style guide link * change (lib): suggestions Co-authored-by: Dan Forbes <[email protected]> Co-authored-by: Steve Degosserie <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Alexander Theißen authored
-
André Silva authored
* grandpa: store the authority id that is used for voting per round * grandpa: fix tests
-
Pierre Krieger authored
-
- Nov 04, 2020
-
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Web3 Philosopher authored
* parent ba8e8122 author Seun Lanlege <[email protected]> 1599568164 +0100 committer Seun Lanlege <[email protected]> 1604321289 +0100 gpgsig -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEECvQ02MnjnssnSbjr3HzzEhjN254FAl+gAAkACgkQ3HzzEhjN 254soAv+KO5JA0HXSe0R0XS5TnwA3IxYsW+UvdF5dXFeC3jFdGTMvor818uoBePD dxzYEsUK6gjsNcM9+hpFhoy5JnUrUPInd2BZ7pmZiDuXmYJrHi0s7K5qL0EYDoe0 m1egPNNyRR125ozJ24M+09c3OQsi3bvTx1TJaV9Aov8hK4So8UmlJTHWpkLw97ku HuTre2IPSFbV4GwJE40V+KNuDVHxaKL7zrInYScqbr6/hOTqBCvFn4ib3CjpF5HG zDAA5S2PrcbL9NQOothVcVB/TZr3IkhglCFqEjVyCX80IL0JkNZkw8jAh0B8uqXx Ug/c1/Mssa8F1jLZMmW45Cway60txqVbcWntPJAymGJbrRErOO/++oUrV0u1C65u LW7gXAaIJWQTX9KnX0SEyejNod7ubZktBz7n5WfkJAPIzdw5wtJalhLa673YTgQ9 zyTPKiWjJj2myCq1AYrJvlK8hSsIBqbBFcUf1zX4SzZWKS+5mtp51o4gfVzcCRPd z/6/iPbB =g5tx -----END PGP SIGNATURE----- BabeConsensusDataProvider works with existing chains Co-authored-by: Bastian Köcher ...
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Pierre Krieger authored
-
- Nov 03, 2020
-
-
Marko authored
-
Caio authored
* Remove development TODO from public doc comment * Update frame/system/src/offchain.rs Co-authored-by: Bastian Köcher <[email protected]>
-
Ayush Mishra authored
Co-authored-by: Ayush Kumar Mishra <[email protected]>
-
Shawn Tabrizi authored
* Fix on_runtime_upgrade weight recording * fix naming * Update lib.rs * fix line width * fix line width again
-
Alexander Popiak authored
* add doc comment to node template MILLISECS_PER_BLOCK * add broken link comment * update Babe block time link Co-authored-by: André Silva <[email protected]> Co-authored-by: André Silva <[email protected]>
-
Pierre Krieger authored
-
thiolliere authored
Introduce storage types, to builds abstraction on storage (to be used in pallet attribute macro) (#7278) * introduce storage types * fix line width * improve doc * typo * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * remove redundant function * some more doc improvment * disallow: some value on empty with option query tests are update to still test default value is used when it is supposed to be used. Co-authored-by: Bastian Köcher <[email protected]>
-
Shawn Tabrizi authored
* Always remove validator bfore creating new ones * remove comment * update tests and docs
-
Pierre Krieger authored
Co-authored-by: Roman Borschel <[email protected]>
-
- Nov 02, 2020
-
-
Pierre Krieger authored
-