- Jul 21, 2019
-
-
Amar Singh authored
* add srml readme, nit on staking/lib.rs * increase impl version, not spec version * change back impl
-
- Jul 20, 2019
-
-
Gavin Wood authored
* Introduce network IDs for SS58 * Fix * Allow numeric overrides. * Improve docs * String rather than str * Comment out code that will become valid after other PR * Fix
-
Michael Müller authored
* Fix grammar and typo * Extend network service * Extend offchain API * Support creating unsigned UncheckedExtrinsic * Introduce srml/im-online * Bump impl and spec version * Fix web-wasm test * Apply suggestions from code review Remove parity-multiaddr dependency Co-Authored-By: Pierre Krieger <[email protected]> * Replace transmute with from_raw_parts * Replace PeerId.to_string() with .to_base58() Co-Authored-By: Pierre Krieger <[email protected]> * Update Cargo.lock * Bump impl and spec version (again) It was updated in master in the meantime. * Apply suggestions from code review Co-Authored-By: Sergei Pepyakin <[email protected]> * Address comments * Add public function is_online_in_current_session() * Bump spec_version * Fix doc tests * Improve comments * Remove superfluous line * Name parameters consistently * Implement comments * Switch From to TryFrom * Use Vec instead of HashSet * Fix tests * Revert me: local testing * Fix check if already sent during session We gossip each session, hence we need to check if already sent in this session (not era). * Fix typos * Consistent terminology * Revert "Revert me: local testing" This reverts commit 73fbc29ff3e5ed71d99436318260b4f007e837f4. * Introduce IsMember trait * Implement misc comments * Remove unused function * Fix test * Fix external_addresses being written * Fix test * Add necessary trait bound * Do not increment version * Update lib.rs
-
- Jul 19, 2019
-
-
Amar Singh authored
* added fee calculations; need some type conversions * cleaned up make_payment and other stuff * rename vars to compile * add WeightToFee type * clean test files after new type added to balances * fmting * fix balance configs in tests * more fixing mocks and tests * more comprehensive block weight limit test * fix compilation errors * more srml/executive tests && started fixing node/executor tests * new fee multiplier; still overflows :( * perbill at the end attempt; needs to be changed * clean fmting, rename some vars * new PoC implementation. * test weight_to_fee range and verify functionality * 12 of 15 tests in node executor are passing * 1 test failing; big_block imports are failing for wrong reasons * Update srml/executive/src/lib.rs Co-Authored-By: Kian Peymani <[email protected]> * Some cleanup. * consolidate tests in runtime impls * clean and condition executive for stateful fee range test * remove comments to self * Major cleanup. * More cleanup. * Fix lock files. * Fix build. * Update node-template/runtime/Cargo.toml Co-Authored-By: Gavin Wood <[email protected]> * Update node/executor/src/lib.rs Co-Authored-By: Gavin Wood <[email protected]> * Update node/executor/src/lib.rs Co-Authored-By: Gavin Wood <[email protected]> * Update node/executor/src/lib.rs Co-Authored-By: Gavin Wood <[email protected]> * Update node/executor/src/lib.rs Co-Authored-By: Gavin Wood <[email protected]> * Update node/executor/src/lib.rs Co-Authored-By: Gavin Wood <[email protected]> * Update node/executor/src/lib.rs Co-Authored-By: Gavin Wood <[email protected]> * Per-block update. * nit. * Update docs. * Fix contracts test. * Stateful fee update. * Update lock files. * Update node/runtime/src/impls.rs * Revamped again with fixed64. * fix cargo file. * nits. * Some cleanup. * Some nits. * Fix build. * Bump. * Rename to WeightMultiplier * Update node/executor/src/lib.rs Co-Authored-By: Tomasz Drwięga <[email protected]> * Add weight to election module mock. * Fix build. * finalize merge * Update srml/system/src/lib.rs * Bring back fees. * Some nits. * Code shifting for simplicity. * Fix build + more tests. * Update weights.rs * Update core/sr-primitives/src/weights.rs * Update lib.rs * Fix test build
-
André Silva authored
* grandpa: add pause/resume signals to runtime module * grandpa: add tests for srml pause/resume transitions * node: bump spec_version * Apply suggestions from code review * Update core/finality-grandpa/primitives/src/lib.rs * Update core/finality-grandpa/primitives/src/lib.rs
-
- Jul 18, 2019
-
-
Pierre Krieger authored
-
André Silva authored
* client: fix panic on decode block number as u32 * client: add test for number_index_key * client: add another test at client level * client: address review grumbles
-
Kian Peymani authored
* Update hex-literal dep version. * Update lock file.
-
- Jul 17, 2019
-
-
thiolliere authored
-
- Jul 16, 2019
-
-
* srml-contracts: Remove lookups during CallContext initialization. * Bump node runtime impl_version.
-
Pierre Krieger authored
-
Pierre Krieger authored
* Consistency with the Block trait name * Line widths
-
* srml-contracts: Remove hard-coded code hashes from tests. This makes it easier to update existing and add new test Wasm modules. * Test maximum contract storage write size. * Implement storage value limit for contracts. * Bump node runtime spec version.
-
Svyatoslav Nikolsky authored
* changes tries initial optimizations * line width
-
Gavin Wood authored
* Introduce vesting offsets Closes #3090 * Fix logic * Bump impl verfsion * Initial rewrite of vesting * Test for liquidity with delayed vesting * Bump Spec, Fix line width * More line width fix * Small nit to documentation
-
- Jul 15, 2019
-
-
André Silva authored
* client: add tests for reorging on diverged finality * client: mark finalized block as best if diverged from current best chain * client: update meta on set_head * core: add docs about SelectChain to finalize_block * client: improve finality reorg test * client: LongestChain doesn't return client best block * client: LongestChain searches canonical chain
-
Pierre Krieger authored
* Make mDNS part of DiscoveryBehaviour * Fix tests * Address concern
-
Max Inden authored
Make `NetworkService.{get,put}_value` only take a self reference instead of a mutable self reference. When retrieving `NetworkService` via `NetworkWorker`, one only gets an immutable reference.
-
Denis_P authored
* should decide on publishing * build subkey for linux * small fixes * wrong dir
-
-
Sergey Pepyakin authored
-
Denis_P authored
* Logs will be saved to the job artifacts only in case of failure. * Logs will be partly shown at the end in case of failure. * expiration and parsing
-
- Jul 14, 2019
-
-
Pierre Krieger authored
* Remove block_imported * Move blocks results processing to sync * Remove methods from Link * Better errors * Allow cancelling the import queue * Restore the import trace * Fix network tests * Line widths * Use has_error instead * Minor style
-
- Jul 13, 2019
-
-
Pierre Krieger authored
* Switch the peerset to new futures * Fuse the peerset rx
-
Bastian Köcher authored
* Make parameter types implementation more flexible * Bump `impl_version`
-
- Jul 12, 2019
-
-
Toralf Wittner authored
Instead of passing a context around to each method, thereby introducing side-effecting I/O actions everywhere, with this PR `sync::ChainSync` only contains state which is updated by invoking various callback methods (`on_*`) and actionable items are returned as regular results from method calls, often iterators yielding requests that should be issued to peers. It is up to the caller to handle these in an appropriate way, currently `protocol` will send those as messages.
-
- Jul 11, 2019
-
-
Gavin Wood authored
* Convert unnecessary storage item to static. * Polish * 6 second blocks. * Compile fixes * Bump runtime * Fix * Another fix * Import `srml_support::traits::Get` * Export MinimumPeriod from `decl_module!` * Remove `config` from Timestamp * Clean up warnings
-
Pierre Krieger authored
* Switch the telemetry to new futures * Line widths * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * Fix Cargo.lock
-
Pierre Krieger authored
* Switch the client to new futures * No need for compat in the client * Fix client tests * Address review
-
Bastian Köcher authored
* Cleanup CLI and introduce `execution-all` `--execution-all` sets the execution strategies for all available execution contexts. * Rename parameter
-
Xiliang Chen authored
* added generic asset module * Update srml/generic-asset/Cargo.toml * Update srml/generic-asset/Cargo.toml * revert Cargo.lock changes * cleanup line width * rename srml_support to support * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * update comments * more docs * update Cargo.lock * fix tests * update headers and fix missing events * Update srml/generic-asset/Cargo.toml Co-Authored-By: Bastian Köcher <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update srml/generic-asset/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * fix issues * avoid duplicated code * fix build issue * cleanup Cargo.toml * update based on reviews * remove not used method * update parity-codec version * fix test build issue * update Cargo.lock * update with latest substrate changes * refactor PermissionVersions encoding
-
André Silva authored
* node: pass stash accounts to session module * node: pass stash accounts to staking invulnerables
-
Pierre Krieger authored
* Remove set_finality_proof_request_builder * Fix Babe * Fix Grandpa * Fix service doctests
-
- Jul 10, 2019
-
-
Kian Peymani authored
* Sensible locking for staking and council. * Bump.
-
Kian Peymani authored
* enforce minimum bond amount. * Bump. * Improve doc. * Update srml/staking/src/lib.rs Co-Authored-By: Shawn Tabrizi <[email protected]> * Update srml/staking/src/lib.rs Co-Authored-By: Gavin Wood <[email protected]> * Doc update.
-
Black3HDF authored
* fix typos * update information about ink * fix typos * fix typo * fix typos
-
Bastian Köcher authored
-
Gavin Wood authored
-
* add block number * add ext_current_block * add ext_current_block test * Update srml/contracts/src/wasm/mod.rs Co-Authored-By: Sergei Pepyakin <[email protected]> * Update srml/contracts/src/wasm/mod.rs Co-Authored-By: Sergei Pepyakin <[email protected]> * change valid comment * use BlockNumberOf<T> * Update srml/contracts/src/exec.rs Co-Authored-By: André Silva <[email protected]> * return types copy, not reference * version up spec_version and impl_version * change method name current_block -> block_number * Update srml/contracts/src/exec.rs Co-Authored-By: Sergei Pepyakin <[email protected]>
-
Bastian Köcher authored
* Check that the returned validator set is not empty * Move assert to session module * Clean up
-