- 15 Feb, 2021 1 commit
-
-
Sergey Pepyakin authored
* Update shared-memory to new version & refactor This two are combined in a single commit because the new version of shared-memory doesn't provide the used functionality anymore. Therefore in order to update the version of this crate we implement the functionality that we need by ourselves, providing a cleaner API along the way. * Significantly decrease the required memory for a workspace For some reason it was allocating an entire GiB of memory. I suspect this has something to do with the current memory size limit of a PVF execution environment (the prior name suggests that). However, we don't need so much memory anywhere near that amount. In fact, we could reduce the allocated size even more, but that maybe for the next time. * Unlink shmem just after opening That will make sure that we don't leak the shmem accidentally. * Do not compile workspace mod for androind and wasm * Address some review comments * Fix the test runner * Fix missed +1 for the attached flag * Use .expect rather than .unwrap * Add a rustdoc for the workspace module * fixup! Use .expect rather than .unwrap * Add some doc comments to pub members * Warn on error removing shm_unlink * Change the alignment implementation * Fix the comment nit
-
- 29 Jan, 2021 1 commit
-
-
thiolliere authored
* upgrade codec and bitvec * "Update Substrate" Co-authored-by: parity-processbot <>
-
- 26 Jan, 2021 2 commits
-
-
Fedor Sakharov authored
* Add memory-lru cache to runtime-api * Add cache.rs * Adds MallocSizeOf * Review nits * Add a cached requests metric * More review nits * Some more review nits
-
Martin Pugh authored
* bump version in prep for release * bump substrate * bump substrate
-
- 15 Jan, 2021 1 commit
-
-
asynchronous rob authored
* Switch to Wasmtime for parachain execution * Fix the signature for halt's validate_block * wasmtime feature enabled from cli * Adds missing feature Co-authored-by:
Sergei Shulepov <sergei@parity.io> Co-authored-by:
Bastian Köcher <git@kchr.de>
-
- 11 Jan, 2021 1 commit
-
-
thiolliere authored
-
- 06 Jan, 2021 1 commit
-
-
Andronik Ordian authored
* upgrade a few dependencies * "Update Substrate" Co-authored-by: parity-processbot <>
-
- 07 Dec, 2020 1 commit
-
-
Martin Pugh authored
* Bump version from v0.8.26 to v0.8.27 * bump substrate
-
- 17 Nov, 2020 1 commit
-
-
Andronik Ordian authored
* update tiny-keccak to 0.2 * update deps except bitvec and shared_memory * fix some warning after futures upgrade * remove useless package rename caused by bug in cargo-upgrade * revert parity-util-mem * * remove unused import * cargo update * remove all renames on parity-scale-codec * remove the leftovers * remove unused dep
-
- 31 Oct, 2020 1 commit
-
-
Bastian Köcher authored
* start working on building the real overseer Unfortunately, this fails to compile right now due to an upstream failure to compile which is probably brought on by a recent upgrade to rustc v1.47. * fill in AllSubsystems internal constructors * replace fn make_metrics with Metrics::attempt_to_register * update to account for #1740 * remove Metrics::register, rename Metrics::attempt_to_register * add 'static bounds to real_overseer type params * pass authority_discovery and network_service to real_overseer It's not straightforwardly obvious that this is the best way to handle the case when there is no authority discovery service, but it seems to be the best option available at the moment. * select a proper database configuration for the availability store db * use subdirectory for av-store database path * apply Basti's patch which avoids needing to parameterize everything on Block * simplify path extraction * get all tests to compile * Fix Prometheus double-registry error for debugging purposes, added this to node/subsystem-util/src/lib.rs:472-476: ```rust Some(registry) => Self::try_register(registry).map_err(|err| { eprintln!("PrometheusError calling {}::register: {:?}", std::any::type_name::<Self>(), err); err }), ``` That pointed out where the registration was failing, which led to this fix. The test still doesn't pass, but it now fails in a new and different way! * authorities must have authority discovery, but not necessarily overseer handlers * fix broken SpawnedSubsystem impls detailed logging determined that using the `Box::new` style of future generation, the `self.run` method was never being called, leading to dropped receivers / closed senders for those subsystems, causing the overseer to shut down immediately. This is not the final fix needed to get things working properly, but it's a good start. * use prometheus properly Prometheus lets us register simple counters, which aren't very interesting. It also allows us to register CounterVecs, which are. With a CounterVec, you can provide a set of labels, which can later be used to filter the counts. We were using them wrong, though. This pattern was repeated in a variety of places in the code: ```rust // panics with an cardinality mismatch let my_counter = register(CounterVec::new(opts, &["succeeded", "failed"])?, registry)?; my_counter.with_label_values(&["succeeded"]).inc() ``` The problem is that the labels provided in the constructor are not the set of legal values which can be annotated, but a set of individual label names which can have individual, arbitrary values. This commit fixes that. * get av-store subsystem to actually run properly and not die on first signal * typo fix: incomming -> incoming * don't disable authority discovery in test nodes * Fix rococo-v1 missing session keys * Update node/core/av-store/Cargo.toml * try dummying out av-store on non-full-nodes * overseer and subsystems are required only for full nodes * Reduce the amount of warnings on browser target * Fix two more warnings * InclusionInherent should actually have an Inherent module on rococo * Ancestry: don't return genesis' parent hash * Update Cargo.lock * fix broken test * update test script: specify chainspec as script argument * Apply suggestions from code review Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Update node/service/src/lib.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * node/service/src/lib: Return error via ? operator * post-merge blues * add is_collator flag * prevent occasional av-store test panic * simplify fix; expand application * run authority_discovery in Role::Discover when collating * distinguish between proposer closed channel errors * add IsCollator enum, remove is_collator CLI flag * improve formatting * remove nop loop * Fix some stuff * Adds test parachain adder collator * Add sudo to Rococo, change session length to 30 seconds and some renaming * Update to the latest changes on master * Some fixes * Fix compilation * Update parachain/test-parachains/adder/collator/src/lib.rs Co-authored-by:
Sergei Shulepov <sergei@parity.io> * Review comments * Downgrade transaction version * Fixes * MOARE * Register notification protocols * utils: remove unused error * av-store: more resilient to some errors * address review nits * address more review nits Co-authored-by:
Peter Goodspeed-Niklaus <peter.r.goodspeedniklaus@gmail.com> Co-authored-by:
Andronik Ordian <write@reusable.software> Co-authored-by:
Fedor Sakharov <fedor.sakharov@gmail.com> Co-authored-by:
Robert Habermeier <robert@Roberts-MBP.lan1> Co-authored-by:
Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com> Co-authored-by:
Max Inden <mail@max-inden.de> Co-authored-by:
Sergey Shulepov <s.pepyakin@gmail.com> Co-authored-by:
Sergei Shulepov <sergei@parity.io>
-
- 28 Oct, 2020 1 commit
-
-
Bernhard Schuster authored
* get rid of glue wrapper error type * cargo update -p sp-io * cargo update -p sp-io * "Update Substrate" Co-authored-by:
Andronik Ordian <write@reusable.software> Co-authored-by: parity-processbot <>
-
- 27 Oct, 2020 2 commits
-
-
s3krit authored
* bump version & substrate * update release checklist md
-
Bernhard Schuster authored
-
- 05 Oct, 2020 1 commit
-
-
Gavin Wood authored
* Bump version * Update RELEASE.md Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com>
-
- 16 Sep, 2020 2 commits
-
-
Bastian Köcher authored
* Prepare Polkadot to be used by Cumulus This begins to make Polkadot usable from Cumulus. * Remove old test * Reset some changes * More reverts * MOARE * Don't use `unimplemented!`
-
Pierre Krieger authored
-
- 26 Aug, 2020 1 commit
-
-
s3krit authored
* bump version to v0.8.23 * bump substrate
-
- 29 Jul, 2020 1 commit
-
-
Gavin Wood authored
* Sort cleanups * Bump versions
-
- 28 Jul, 2020 1 commit
-
-
Bastian Köcher authored
* Update scale codec to latest version to fix bug in future rustc version Companion of: https://github.com/paritytech/substrate/pull/6746 * 'Update substrate' Co-authored-by: parity-processbot <>
-
- 26 Jul, 2020 1 commit
-
-
Bastian Köcher authored
* Companion for #6726 * Spaces * 'Update substrate' Co-authored-by: parity-processbot <>
-
- 22 Jul, 2020 1 commit
-
-
Gavin Wood authored
* Bump Substrate * Bump
-
- 21 Jul, 2020 1 commit
-
-
Gavin Wood authored
* Enable transfers Also quash any conviction from Referendum Zero; Sudo was always going to have been removed so lock-voting doesn't make sense in this case. * Add test for migration; remove superfluous comment. * Fixes * Bump * Weekly elections
-
- 20 Jul, 2020 2 commits
-
-
Gavin Wood authored
* Remove Sudo NOTE: To ensure minimal index changes to pre-existing pallet deployments, this is done with a "swap_remove" style; the previous last pallet (Purchase), which is hitherto unused, has been shifted into the old index of Sudo. * Remove CC1 designation. * Fixes * Bump * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes
-
Gavin Wood authored
-
- 14 Jul, 2020 1 commit
-
-
Gavin Wood authored
-
- 03 Jul, 2020 1 commit
-
-
Gavin Wood authored
* Switch branch * Return chain ops parts in new_chain_ops * Remove where param from new_chain_ops * Add task manager to new_chain_ops return * Revert branch switch * Revert "Revert branch switch" This reverts commit 7c7900c0. * network/test/src/lib: Adjust network worker polling Companion for https://github.com/paritytech/substrate/pull/6552 . * Fix adder parachain * Fix collator tests * Revert branch switch * Bump everything - Remove old migration code - Reduce deposit requried for westend * Reapply fixes * Bump locl * Fix for #6550 * Fix message Co-authored-by:
Ashley Ruglys <ashley.ruglys@gmail.com> Co-authored-by:
Max Inden <mail@max-inden.de>
-
- 01 Jul, 2020 1 commit
-
-
Bastian Köcher authored
* Downward messages, the front-end. * Move types around to make them accessible from Parachains * Fix compilation * Fix branch * Make it compile for Cumulus * Update the branch names * Add default generic parameter * Implement `Partialeq` * Move upward messages into the `ValidationResult` * Support disabling of the runtime api * Update branch * Adds support for handling downward messages * Implement sending XCMP messages as up/downward messages * service: update to latest ServiceBuilder changes * Make it compile * Initial commit Forked at: b2c9c149 Parent branch: origin/master * Update substrate branch to cecton-update-polkadot-substrate * Update substrate & polkadot to cumulus-branch * Reset branch * Update primitives/src/parachain.rs Co-authored-by:
Robert Habermeier <rphmeier@gmail.com> * Update runtime/common/src/parachains.rs Co-authored-by:
Robert Habermeier <rphmeier@gmail.com> * Update runtime/common/src/parachains.rs Co-authored-by:
Robert Habermeier <rphmeier@gmail.com> * Minor fixes * Fix wasm build Co-authored-by:
Gav Wood <gavin@parity.io> Co-authored-by:
André Silva <andre.beat@gmail.com> Co-authored-by:
Cecile Tonglet <cecile.tonglet@cecton.com> Co-authored-by:
Robert Habermeier <rphmeier@gmail.com>
-
- 26 Jun, 2020 1 commit
-
-
Gavin Wood authored
* Companion for #6503 * Remove old filtering * Bump tx version * Bump version * Bump
-
- 23 Jun, 2020 1 commit
-
-
Gavin Wood authored
* Update staking reward curve for pre-parachain situation. * Bump runtime. * Bump versions
-
- 19 Jun, 2020 1 commit
-
-
Gavin Wood authored
-
- 17 Jun, 2020 1 commit
-
-
Gavin Wood authored
* Rename old labels. * Bump runtimes * Bump versions * Bump lock
-
- 16 Jun, 2020 1 commit
-
-
Gavin Wood authored
-
- 12 Jun, 2020 2 commits
-
-
Gav Wood authored
-
Gavin Wood authored
* Bump versions, tweak deposit costs. * Version * Lock * Make test work ok when numbers are not round. * Bump Substrate * Lock
-
- 10 Jun, 2020 1 commit
-
-
Gavin Wood authored
* Bump Substrate again. * update kusama runtmie for ensure origin * update polkadot runtime for ensure origin * fix imports * root only available for runtime benchmarks * Fix lock file * Bump Substrate * Update lock * Remove questionable feature-gating. Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com>
-
- 09 Jun, 2020 2 commits
-
-
Gavin Wood authored
-
Gavin Wood authored
* Bump versions. * Update lock
-
- 08 Jun, 2020 2 commits
-
-
Gavin Wood authored
-
Gavin Wood authored
* Fix for new Substrate * Fix * Remove Utility constraint in NonTransfer * Bump * Fixes * Allow limited utilities in proxy filters. * Fix * Add SudoBalances proxy restrictions
-
- 04 Jun, 2020 1 commit
-
-
Gavin Wood authored
* Introduce generalised proxies to polkadot * Introduce proxy to westend * Add proxy to Kusama. * Fix
-