- May 26, 2021
-
-
Kian Paimani authored
* add an absolute measure of election score on-chain as a parameter * make it storage item * line width * some nits * Apply suggestions from code review Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]> * make a few more things pub Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]>
-
MOZGIII authored
-
- May 25, 2021
-
-
Alexander Theißen authored
* Fix output of wrongly outputted error The "Tombstoned a contract that is below the subsistence threshold: {:?}" was triggered when too few balance was provided. It was a false alarm. * Fix return of wrong code_len * Split up `NotCallable` into more fine grained errors * Fix typos in docs Co-authored-by: Keith Yeung <[email protected]> * RentNotPayed -> RentNotPaid * Fix typo: payed -> paid It is OK to change the in-storage field name because: 1. The SCALE encoding is not based on names only on position. 2. The struct is not public (only to the crate). Co-authored-by: Keith Yeung <[email protected]>
-
Denis_P authored
* CI: fix node-template packaging * add explicit deps versions
-
Denis_P authored
* CI: revert me * fix stderr * CI: revert me * typo * more stderr fixes * Revert "CI: revert me" This reverts commit 5f47effc4965fa5c0c2a6ed92e434a6adb6b1dce. * Revert "CI: revert me" This reverts commit 7f785660c797b703dd36272cbe313056dd7a1858.
-
Frederik Schulz authored
* Removes unnecessary blank impl for Backend This commit removes a from my perspective unneccessary implementation for &T which implement Backend. The current implementation exists (again from my perspective) solely to satisfy a methods &mut self parameters (i.e. allows to satisfy this for an & reference via using &mut &Backend). As all implementors use a RefCell with borrow_mut() where actually calling the mentioned &mut self method and then forwad to the {} implementation of either TrieBackend or ProvingBackend, the current &mut self seems to be not needed. * Fixed tests client
-
Kian Paimani authored
* make remote-ext work with ws and safe RPCs * Update docs. * Update utils/frame/remote-externalities/Cargo.toml Co-authored-by: Niklas Adolfsson <[email protected]> * Fix test * Update lock file * Update utils/frame/remote-externalities/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Fix build again. * revert lifetime stuff Co-authored-by: Niklas Adolfsson <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Bastian Köcher authored
This introduces a new field `code_substitute` into the chain spec. This can be used to substitute the on-chain wasm starting from a given block until there is another wasm on chain (determined through the `spec_version`). This can be used to fix broken on chain wasm runtimes.
-
Pierre Krieger authored
* Make sure nodes don't hammer each other even when reserved * Make the ban random
-
- May 24, 2021
-
-
Gavin Wood authored
-
- May 23, 2021
-
-
Tim Gestson authored
* Remove now unneeded empty hooks and calls * fix pallet_ui tests
-
- May 22, 2021
-
-
Bastian Köcher authored
* Aura: Expose function to build the verifier * Use best block to initialize the authorities cache * Use best block when determining the slot duration * Remove `AuraBlockImport` * Some cleanups * Fix build error
-
André Silva authored
* grandpa: check for missing data when iterating through authority set changes * grandpa-warp-sync: handle missing data
-
- May 21, 2021
-
-
Parth authored
-
Alexander Theißen authored
-
thiolliere authored
* fix bounded vec doc and unsafe * fix btree map and set and tests * introduce weak_bounded_vec and StorageTryAppend * fix tests and reorganize tests * improve doc * add doc * Update frame/support/src/storage/weak_bounded_vec.rs Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> * fix inner doc Co-authored-by: Peter Goodspeed-Niklaus <[email protected]>
-
Andreas Doerr authored
* fix ecdsa_sign_prehashed() doc * document both instances
-
ferrell-code authored
* the great migration * benchmarks to work * unnecessary T: Config * Update frame/multisig/src/lib.rs Co-authored-by: Keith Yeung <[email protected]> * Update frame/multisig/src/lib.rs Co-authored-by: Keith Yeung <[email protected]> * Update frame/multisig/src/lib.rs Co-authored-by: Keith Yeung <[email protected]> * Update frame/multisig/src/lib.rs Co-authored-by: Keith Yeung <[email protected]> * Update frame/multisig/src/lib.rs * line width * get to compile Co-authored-by: Keith Yeung <[email protected]> Co-authored-by: Guillaume Thiolliere <[email protected]>
-
- May 20, 2021
-
-
Alexander Theißen authored
-
Keith Yeung authored
* Make #[pallet::hooks] optional * Make #[pallet::call] optional * Remove unused imports * Update UI test expectations * Update UI test expectations * Remove unnecessary HooksDef::empty method * Remove unnecessary CallDef::empty method * Clarify what would happen when no call or hooks are specified in a pallet
-
arshamparity authored
* add trigger for monitoring job in cloud-infra repository * remove substrate-alerting-rules.env file for artifact:reports:dotenv * add allow failure to trigger-cloud-infra-monitoring job * remove strategy=depend from the trigger pipeline Co-authored-by: Arsham <[email protected]>
-
Alexander Theißen authored
* Move public functions up in rent.rs * Added RentStatus * Fix test name for consistency Co-authored-by: Michael Müller <[email protected]> * Mark rent functions as unstable * Add unstable interfaces to README * Fix doc typos Co-authored-by: Andrew Jones <[email protected]> * Use DefaultNoBound * Simplify calc_share(1) * Don't output empty debug messages * Make `seal_debug_message` unstable Co-authored-by: Michael Müller <[email protected]> Co-authored-by: Andrew Jones <[email protected]>
-
Xiliang Chen authored
-
Pierre Krieger authored
* Update the Grafana dashboards * Remove the panels on top
-
- May 19, 2021
-
-
thiolliere authored
* fix and test * fmt
-
thiolliere authored
* improve span for call * fix stderr file paths
-
Bastian Köcher authored
The macro should assume less about the scope where it is being used in. In this case it is about not assuming that the crate where the macro is called in provides a `std` feature.
-
Bastian Köcher authored
* Make wasmtime the default when the feature is enabled * Update client/cli/src/arg_enums.rs Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Kian Paimani <[email protected]>
-
thiolliere authored
* implement named generic for storages * fix error message on unexpected name for generic
-
- May 18, 2021
-
-
Andreas Doerr authored
* Pair::sign_prehashed() * add CryptoStore::ecdsa_sign_prehashed() * add test for testing keystore * address review comments
-
Kian Paimani authored
* Initial version, well tested, should work fine. * Add one last log line * Update frame/election-provider-multi-phase/src/unsigned.rs Co-authored-by: Gavin Wood <[email protected]> * Update frame/election-provider-multi-phase/src/unsigned.rs Co-authored-by: Guillaume Thiolliere <[email protected]> * Update frame/election-provider-multi-phase/src/unsigned.rs Co-authored-by: Guillaume Thiolliere <[email protected]> * Fix a few more things * fix build * rewrite the whole thing with a proper lock * clean * clean some nits * Add unit tests. * Update primitives/runtime/src/offchain/storage_lock.rs Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * Fix test * Fix tests Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Sergey Pepyakin authored
-
stanly-johnson authored
* migrate to pallet! * fixes * fix genesis * code review fixes * Update frame/scheduler/src/lib.rs Co-authored-by: Keith Yeung <[email protected]> * Update frame/scheduler/src/lib.rs Co-authored-by: Keith Yeung <[email protected]> * Update frame/scheduler/src/lib.rs Co-authored-by: Keith Yeung <[email protected]> * Update frame/scheduler/src/lib.rs Co-authored-by: Keith Yeung <[email protected]> * Update frame/scheduler/src/lib.rs Co-authored-by: Keith Yeung <[email protected]> * fix metadata Co-authored-by: Keith Yeung <[email protected]>
-
Andreas Doerr authored
* Fix clippy issues for crate sp-core * Update primitives/core/benches/bench.rs Co-authored-by: Bastian Köcher <[email protected]> * Update primitives/core/src/ed25519.rs Co-authored-by: Bastian Köcher <[email protected]> * Remove clippy attributes * Missed a clippy attribute * remove clippy attributes for bechmarks as well Co-authored-by: Bastian Köcher <[email protected]>
-
- May 17, 2021
-
-
KingFishDev authored
-
thiolliere authored
* implement max_values + storages info * some formatting + doc * rename StoragesInfo -> PalletStorageInfo * merge both StorageInfoTrait and PalletStorageInfo I think it is more future proof. In the future some storage could make use of multiple prefix. Like one to store how much value has been inserted, etc... * Update frame/support/procedural/src/storage/parse.rs Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> * Update frame/support/procedural/src/storage/storage_struct.rs Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> * Fix max_size using hasher information hasher now expose `max_len` which allows to computes their maximum len. For hasher without concatenation, it is the size of the hash part, for hasher with concatenation, it is the size of the hash part + max encoded len of the key. * fix tests * fix ui tests Co-authored-by: Peter Goodspeed-Niklaus <[email protected]>
-
Frederik Schulz authored
* Extends ChildStateBackend and ChildStateAPI with ReadProofs The following changes integrate the existing `read_child_proof` from the `ProofProvider` into the ChildStateBackend, so that a read proof can be generated from a full client via an rpc call. * Cleanup formatting
-
Keith Yeung authored
* Use StorageNMap for Approvals in assets pallet * Use EncodeLike on HashKeyPrefix trait bounds * Add comments clarifying AccountId roles * Properly document the keys in the Approvals storage * Fix line width
-
- May 15, 2021
-
-
Ayush Mishra authored
-
Pierre Krieger authored
* Add names to offchain worker threads * Compilation
-