- Feb 24, 2022
-
-
wigy authored
* Upgraded dependencies * Adapting code to scale v3 * Empty commit to trigger CI * Triggering CI * Fixing UI test * Remove superfluous dev-dep added by #9228 * Cryout for CI
-
Pierre Krieger authored
* No longer generate specs with consensus_engine field * #[allow(unused)]
-
Koute authored
-
- Feb 23, 2022
-
-
Oliver Tale-Yazdi authored
* Factor DB weights out into their own files Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Review fixes Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix CI Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Weights in own mod Signed-off-by: Oliver Tale-Yazdi <[email protected]>
-
Davide Galassi authored
* Clean obsolete BABE weight data * Take out test assertion from check closure * Optimize metadata access using `HeaderMetadata` trait * Apply suggestions from code review * Introduce finalize and import pre-commit synchronous actions * Do not hold locks between internal methods calls * Remove unused generic bound * Apply suggestions from code review * Register BABE's pre-commit actions on `block_import` instead of `start_babe` * PreCommit actions should be `Fn` instead of `FnMut` * More robust safenet in case of malformed finality notifications Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: André Silva <[email protected]>
-
Davide Galassi authored
* Replace libsecp256k1 with k256 in beefy-mmr * Port of FRAME `contracts` benchmarking from `libsecp256k1` to `k256` * Newtype to allow `Pcg32` rng usage with `k256` in contracts benchmarks * Use `sp-io::crypto` to generate dummy keys in `contracts` bechmarks * More compact code * Cargo fmt * Build `sp-keystore` only for dev profile * Move public key generation back to the `map`
-
- Feb 22, 2022
-
-
André Silva authored
* consensus-slots: cleanup the SlotDuration config * fix tests * address review comments
-
Zeke Mostov authored
-
Bastian Köcher authored
* state-machine: Move all functionality from trie backend to the essence This is required for some future changes of me and it also makes more sense to have all the functionality inside the essence. Besides that it changes the child root cache to directly cache the hash. * Update primitives/state-machine/src/trie_backend_essence.rs Co-authored-by: cheme <[email protected]> * FMT Co-authored-by: cheme <[email protected]>
-
Gavin Wood authored
* Rename Uniques Error::Unknown to something more sensible * Typos * Typos * fmt Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix tests Signed-off-by: Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]>
-
Alexander Theißen authored
* Allow stack height metering to be disabled * cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs * cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs Co-authored-by: Parity Bot <[email protected]>
-
Niklas Adolfsson authored
-
- Feb 21, 2022
-
-
Bastian Köcher authored
This function is useful for tests. It will enable `TRACE` logging and also uses the libtest aware writer.
-
Zeke Mostov authored
-
- Feb 20, 2022
-
-
Bastian Köcher authored
Parachains have currently a total proposing time of 500ms, so it this currently always prints `0`. While actually the value is not `0` ;)
-
- Feb 19, 2022
-
-
Gavin Wood authored
* Introduce iters into BoundedVec * Fix * Remove unneeded funcs * Update frame/support/src/storage/bounded_vec.rs * Update frame/support/src/storage/bounded_vec.rs Co-authored-by: Bastian Köcher <[email protected]>
-
- Feb 18, 2022
-
-
Koute authored
* Simplify `num_connected_peers` * Track requested peer counts * Revert "Track requested peer counts" This reverts commit 9f1c8704353df6afc17ed7e9f4ab8d8e29466ae4. * Remove `substrate_sub_libp2p_peerset_num_requested` metric * Remove two unused functions that I forgot to get rid of in previous commit
-
Nazar Mokrynskyi authored
-
- Feb 17, 2022
-
-
Bastian Köcher authored
-
Arkadiy Paronyan authored
* Track allowed requests for state/warp sync * Added missing allowed_requests resets * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * fmt Co-authored-by: Bastian Köcher <[email protected]>
-
- Feb 16, 2022
-
-
Bastian Köcher authored
Improves the logging by switching to `tracing` for a better log output. Besides that, it also adds a trace for the function being executed.
-
Shawn Tabrizi authored
* add test * Assorted refactorings * complete test * saturating math * final check * use `default` Co-authored-by: Gav Wood <[email protected]>
-
Alexander Theißen authored
-
Kian Paimani authored
* refactor election score * Test for ord * remove reference * vec -> slice * change iter to iter_by_significance * improve doc * fix typo * add explanation about [u128; 3] * consolidate threshold and epsilon * random fixes * rename * remove Into * make iter_by_sig private * remove vec * Fix tests
-
zjb0807 authored
-
Dmitry Kashitsyn authored
-
Qinxuan Chen authored
* sp-core-hashing: use sha3 instead of tiny-keccak Signed-off-by: koushiro <[email protected]> * use blake2 instead of blake2-rfc Signed-off-by: koushiro <[email protected]> * improve som hashing of sp-core and sp-api-proc-macro Signed-off-by: koushiro <[email protected]> * Some nits Signed-off-by: koushiro <[email protected]> * cargo fmt Signed-off-by: koushiro <[email protected]>
-
Koute authored
-
- Feb 15, 2022
-
-
Pierre Krieger authored
* Mark sync_state_genSyncSpec JSON-RPC as safe * Note that parameter is unused * Ideally I'd wait for compilation to be finished before pushing, but it's really taking a long time * Remove deny_unsafe parameter * Remove unused dependency
-
Davide Galassi authored
Compressed ECDSA keys requires to have 0x02 or 0x03 as their first byte in order to allow public key recovery. Nevertheless the test was working because of the `unwrap_or_default()` at the end of the conversion routine (i.e. the invalid keys were converted to an empty vector).
-
Alexander Samusev authored
-
Koute authored
-
Alexander Theißen authored
* Fix call weights * Fix instantiate benchmark * cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs * Remove stale and superflous comments * `decrement_refcount` should be infallible * Don't hardcode increment_refcount, decrement_refcount * Rename CopyIn/CopyOut * Fix warning in tests Co-authored-by: Parity Bot <[email protected]>
-
- Feb 14, 2022
-
-
Bastian Köcher authored
* wasm-builder: Support latest nightly With latest nightly, aka rust version 1.60+ namespaced features are added. This changes the handling of optional dependencies. We currently have features that enable optional dependencies when `std` is enabled. This was before no problem, but now the wasm-builder detects them as enabled. To support the transition period until 1.60 is released as stable, this pr adds an heuristic to not enable these optional crates in the wasm build when they are enabled in the `std` feature. This heuristic fails when someones enables these optional dependencies from the outside as well as via the `std` feature, however we hope that no one is doing this at the moment. When namespaced features are enabled, these dependencies needs to be enabled using `dep:dependency-name` to solve this properly. https://doc.rust-lang.org/cargo/reference/unstable.html#namespaced-features * Remove accidentally added features
-
Bastian Köcher authored
* Remove `u32_trait` This trait only existed because there wasn't any const generic support at time of creation. However, we now have support for it :) * FMT
-
Bastian Köcher authored
* subkey: Support `--version` cli command * FMT
🤦
-
- Feb 13, 2022
-
-
S E R A Y A authored
-
- Feb 11, 2022
-
-
Arkadiy Paronyan authored
* Don't create DB leaves when syncing historic blocks * Changed leaves check and added test * fmt
-
André Silva authored
* build-script-utils: allow reading the git commit hash from env var * build-script-utils: make the env var name substrate specific
-
Tarekk Mohamed Abdalla authored
-