- Mar 16, 2020
-
-
Wei Tang authored
* fork-tree: prune returns all pruned node data * epoch-changes: split EpochHeader vs epoch data * EpochChanges::viable_epoch and add missing comments * Incoperate the new epoch_changes interface for BABE * Fix BABE tests * Fix fork-tree pruning issue * Fix tests * Fix pruning algorithm * fork-tree: implement map function for mapping one value type to another * Add migration script for new epoch changes scheme * Update utils/fork-tree/src/lib.rs Co-Authored-By: André Silva <[email protected]> * Update client/consensus/slots/src/lib.rs Co-Authored-By: André Silva <[email protected]> * Remove authorities_len.is_none check, which is duplicate of unwrap_or(false) * Update client/consensus/epochs/src/lib.rs Co-Authored-By: André Silva <[email protected]> * Update client/consensus/epochs/src/lib.rs Co-Authored-By: André Silva <[email protected]> * No trailing ; for return statement * Use VERSION_KEY for migration * Fix issues that removed nodes are not properly added into removed list * Add comments indicating end_slot is non-inclusive * fork-tree: use &mut F for map type declaration * Add tests for v0 epoch_changes migration * Fix babe RPC tests Co-authored-by: André Silva <[email protected]>
-
gabriel klawitter authored
-
Nikolay Volf authored
-
gabriel klawitter authored
-
Stanislav Tkach authored
-
- Mar 15, 2020
-
-
Bastian Köcher authored
* Move runtime upgrade to `frame-executive` Instead of storing the runtime upgraded in the space of `frame-system`, this moves it to `frame-executive`. We also start storing the `spec_version` and `impl_version` the last runtime upgrade was applied. This scheme has multiple advantages: - We don't need to make sure that runtime upgrade was set. - This will work in the future when we want to test a runtime upgrade, because the `on_runtime_upgrade` will be executed automatically when the runtime changes. * Move `LAST_RUNTIME_UPGRADE` key to `frame-executive` * Add some more documentation * Make sure `spec_version` always increases between runtime upgrades * Fix test * Upgrade `parity-multiaddr` to fix compilation * Also check if the `spec_name` changed * Remove `RuntimeUpgraded` storage entry * Don't run on genesis
-
Shawn Tabrizi authored
-
- Mar 14, 2020
-
-
s3krit authored
* Create release-tagging github action Uses an action that I forked, which I retain control of for now. Can probably move it to the paritytech repo at some point * Remove 'prereleased' trigger `published` action is triggered whether the release is a pre-release or not. * Update release-tagging.yml * Remove superfluous cmment
-
Max Inden authored
* client/finality-grandpa: Add Prometheus metrics to GossipValidator Instrument finality grandpa `GossipValidator` exposing count of messages validated by message type and message action. ``` \# HELP substrate_finality_grandpa_communication_gossip_validator_messages Number of messages validated by the finality grandpa gossip validator. \# TYPE substrate_finality_grandpa_communication_gossip_validator_messages counter substrate_finality_grandpa_communication_gossip_validator_messages{action="discard",message="neighbor"} 39 substrate_finality_grandpa_communication_gossip_validator_messages{action="keep",message="vote"} 28 ``` * client/finality-grandpa: Add None as Prometheus registry in tests * client/finality-granpda/src/communication: Refactor metric registration
-
Alexander Theißen authored
* contracts: Add ext_transfer call This call allows contracts to send balance to any account contract or not. Previously, the only way to do that was though ext_call. * Apply suggestions from code review Co-Authored-By: Nikolay Volf <[email protected]> * The define_env! macro does not allow for trailing comma * Update frame/contracts/src/exec.rs Co-Authored-By: Nikolay Volf <[email protected]> * Bump spec version * Do not use nested gas meter * Use explicit 0 or 1 as return value * Remove superflous intermediate binding Co-authored-by: Nikolay Volf <[email protected]>
-
Kian Paimani authored
-
Shawn Tabrizi authored
* Assign unique storage names to pallets. * Bump spec * Upgrade logic for finality tracker (untested) * Logic for migrating Identity (untested) * Logic for migrating transaction-payment * Fix tests * Fix `decl_storage` build * Contract -> Contracts * Update Cargo.lock * bump spec * update migration * Fix merge error * Migration for contracts * Remove serde * Remove some illegal spaces and Options * Fix types in identity. * Minor variable rename Co-authored-by: Gavin Wood <[email protected]>
-
- Mar 13, 2020
-
-
Nikolay Volf authored
* try more samples * try increase span * reaping bench + config * wip * ed25519 block import * update naming * align names * Update bin/node/testing/benches/import.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update bin/node/testing/benches/import.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update bin/node/testing/benches/import.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update bin/node/testing/benches/import.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update bin/node/testing/benches/import.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update bin/node/testing/benches/import.rs Co-Authored-By: Bastian Köcher <[email protected]> * use existential deposit Co-authored-by: Bastian Köcher <[email protected]>
-
Gavin Wood authored
* Don't lock if we're not voting with conviction * Add test
-
Marcio Diaz authored
* Set identity before calling set_subs. * Remove -1.
-
- Mar 12, 2020
-
-
joe petrowski authored
* add events to bonding and unbonding ops * add semicolon on event line * fix nits
-
Web3 Philosopher authored
* removes use of sc_client::Client from node-transaction-factory * move sc-block-builder to [dev-dependencies] in substrate-test-runtime
-
Gavin Wood authored
* Remove balances migration. * Remove extraneous code * Remove old test
-
Web3 Philosopher authored
* removes use of sc_client::Client from sc_network * rename BlockProvider to BlockBackend * fix broken test
-
Stanislav Tkach authored
-
- Mar 11, 2020
-
-
Gavin Wood authored
* Split fees and tips between author and treasury independently * Docs and cleanup * Fix test
-
Arkadiy Paronyan authored
* ChainSpec trait * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * Added docs * Fixed build * Fixed build Co-authored-by: Bastian Köcher <[email protected]>
-
Max Inden authored
* client/authority-discovery: Instrument code with Prometheus Introduce Prometheus metrics into the authority discovery module enabling one to observe: - authority_discovery_times_published_total - authority_discovery_amount_external_addresses_last_published - authority_discovery_times_requested_total - authority_discovery_dht_event_received * client/authority-discovery/src/lib.rs: Reword metric help texts Co-Authored-By: Ashley <[email protected]> * client/authority-discovery/src/lib.rs: Reword metric help text Co-Authored-By: Ashley <[email protected]> * client/authority-discovery/tests: Fix struct instantiation + basic test Co-authored-by: Ashley <[email protected]>
-
Max Inden authored
This patch adds the Prometheus endpoint port of validator A to the exposed ports to access it from the host network namespace.
-
Gavin Wood authored
* Meat and bones. * Fix migration * Update frame/balances/src/migration.rs Co-Authored-By: Kian Paimani <[email protected]> Co-authored-by: Kian Paimani <[email protected]>
-
Marcio Diaz authored
-
Hero Bird authored
* split out ext_clear_storage from ext_set_storage contracts API * update tests to adjust for the ext_set_storage changes * adjust COMPLEXITY for the ext_set_storage API changes * remove value_len == 0 constraint for ext_set_storage * bump spec_version * remove guarantee from COMPLEXITY of ext_clear_storage Co-authored-by: Gavin Wood <[email protected]>
-
Stanislav Tkach authored
* Use CLI to configure max instances cache * Fix tests * Move default value into CLI * Use SmallVec * Apply review comments * Get rid of `SmallVec` Co-authored-by: Bastian Köcher <[email protected]>
-
- Mar 10, 2020
-
-
Pierre Krieger authored
* Minor fixes for Android * Update parity-multiaddr * Bump in service Cargo.toml too
-
thiolliere authored
* add documentation and optimise payout_validator a bit * bump spec version to be safe this is just in case clipped exposure and exposure have different fields own and total. This shouldn't be the case but better be safe in case storage is wrong. * Update frame/staking/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> Co-authored-by: joe petrowski <[email protected]>
-
Bastian Köcher authored
Up to now `wasm-builder` iterated over all packages that were not part of the wasm workspace and added the files to the `rerun-if-changed` list. However, this included to many files and resulted in needless re-compilations in `Cumulus` for example.
-
Bastian Köcher authored
* Remove `secp256k1` from WASM build * Bring back full public key parse on native * Add extra method to create from a full public key
-
Gavin Wood authored
* Sort address types and mark reserved. * Typos * Fix warning
-
s3krit authored
-
Denis_P authored
* test run warnings test * fix dependency * fail on warnings is now necessary
-
Ashley authored
* Update to libp2p 0.16.2 * Use libp2ps implementation of a wasm websocket transport * Remove explicit Configuration type in node-cli Co-authored-by: Pierre Krieger <[email protected]>
-
Bastian Köcher authored
* Don't include `:code` by default in storage proofs (#5060) * Adds test to verify that the runtime currently is always contained in the proof * Start passing the runtime wasm code from the outside * Fix compilation * More build fixes * Make the test work as expected now :) * Last fixes * Fixes benchmarks * Review feedback * Apply suggestions from code review Co-Authored-By: Sergei Pepyakin <[email protected]> * Review feedback * Fix compilation Co-authored-by: Sergei Pepyakin <[email protected]> * Fix compilation and change the way `RuntimeCode` works * Fix tests * Switch to `Cow` Co-authored-by: Benjamin Kampmann <[email protected]> Co-authored-by: Sergei Pepyakin <[email protected]>
-
Max Inden authored
* client/service/src/builder.rs: Add build_info metric Add static Prometheus metric exposing the chain name, the version and the commit. * client/service/src/builder.rs: Move node_role to static metrics The Prometheus metrics `node_role` is static and thus there is no need to keep a reference of it within `ServiceMetrics`. This follows the example of the `build_info` metric. * client/service/src/builder.rs: Adjust indentation
-
Igor Matuszewski authored
* offchain: Simplify bits of http code * offchain: Sort dev-dependencies * deps: Bump parity-multiaddr to 0.7.3 Fixes build failure when using: rustc 1.43.0-nightly (96bb8b31c 2020-03-05). * offchain: Raise FD limit for HTTP tests * offchain: Reword the comment on increasing the test fd limit
-
Bastian Köcher authored
-