Stanislav Tkach
4414d00082
Get rid of rustc_hex in favor of hex ( #5370 )
...
* Get rid of rustc_hex in favor of hex
* Use HexDisplay
2020-03-24 11:48:23 +01:00
Wei Tang
9c7261fab3
Simplify BABE pre-digest definitions ( #5289 )
...
* Init vrf crate without type alias
* Generic PreDigest definition for BABE
* Fix BABE vrf interface change
* Missing default-features def in sp-consensus-babe
* Fix sp-consensus-babe compile
* frame-babe: fix type inference
* Unify type definitions of vrf output/proof and randomness
* frame-babe: fix tests
* Bump node impl version
* Update cargo lock
* Derive Copy for RawVRFOutput and RawVRFProof
* Fix duplicated derive
Co-authored-by: Gavin Wood <gavin@parity.io >
2020-03-23 11:53:41 +01:00
Gavin Wood
95d1d668c3
Sensible way of selecting Prime member ( #5346 )
...
* Calculate prime votes only during the election
* Migration
* Fix build, enable migration
* Fix tests
* Bump runtime version
* Update frame/elections-phragmen/src/lib.rs
Co-Authored-By: Marcio Diaz <marcio.diaz@gmail.com >
Co-authored-by: Marcio Diaz <marcio.diaz@gmail.com >
2020-03-23 11:52:44 +01:00
Gavin Wood
22f88bf9d1
Redesign Democracy pallet ( #5294 )
...
* Repot a bit of democracy code
* Basic logic is drafted
* Lazy democracy builds.
* Add non-locked split-voting and instant-scheduling.
* Introduce delegation that works.
* Builds again.
* Indentation
* Building.
* Docs and migration
* Fix half of the tests
* Fix up & repot tests
* Fix runtime build
* Update docs
* Docs
* Nits.
* Turnout counts full capital
* Delegations could towards capital
* proxy delegation & proxy unvoting
* Fix
* Tests for split-voting
* Add missing file
* Persistent locking.
2020-03-21 16:08:48 +01:00
Hero Bird
017f218926
Implement ext_ hashes for contracts (issue #5258 ) ( #5326 )
...
* Implement ext_ hashes for contracts (issue #5258 )
* load cryto hash .wat from raw string literal instead of file
* update .wat contents for testing crypto hashes
* remove unnecessary 'static
* fix bug in input (call_indirect required 1+ at least it seems)
* no longer use scratch buffer for crypto hash functions
* improve doc comments of ext_ hash functions
* remove unnecessary comment in .wat test file
* add return value (const 0) to contract test to hopefully enable result buffer
* fix bug in contract assertion
* implement proper output_len in contract
* implement proper test for crypto hashes
* bump spec_version 238 -> 239
* fix COMPLEXITY description
* remove final invalid instances of scratch buffer from docs
2020-03-20 18:46:51 +01:00
Shawn Tabrizi
ca3cbbfc14
Benchmark Treasury Pallet ( #5287 )
...
* Start benchmarks
* try_origin or root
* More benches
* stuck
* Custom trait functions for benchmarks
* finish benchmarks
* Bump impl
* More comments
* Bump spec
* Remove import
* Update frame/elections-phragmen/src/lib.rs
Co-Authored-By: thiolliere <gui.thiolliere@gmail.com >
* Update frame/support/src/traits.rs
Co-Authored-By: thiolliere <gui.thiolliere@gmail.com >
* Fix merge
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2020-03-20 15:08:16 +01:00
Shawn Tabrizi
400a62680f
Benchmark Im Online Pallet ( #5318 )
...
* Initial benchmarking setup
* Add keystore
* validate unsigned
* Update frame/im-online/src/benchmarking.rs
Co-Authored-By: Marcio Diaz <marcio.diaz@gmail.com >
* Fix verify_unsigned benchmark
* add variable for teting the external addresss length
* Update frame/im-online/src/benchmarking.rs
Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update utils/frame/benchmarking-cli/src/lib.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Marcio Diaz <marcio.diaz@gmail.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Benjamin Kampmann <ben@gnunicorn.org >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-03-20 12:42:00 +01:00
Gavin Wood
7947cbf915
Remove migration code. ( #5291 )
...
* Remove migration code.
* Fix cargo
* Bump spec version
2020-03-19 23:01:13 +01:00
lwshang
81da73475c
Prompt error if vanity pattern is not valid base58 ( #5308 )
...
* Prompt error if vanity pattern is not valid base58
* Update bin/utils/subkey/src/vanity.rs
* Add tests for validating pattern of subkey vanity
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-03-19 22:05:49 +01:00
Benjamin Kampmann
0cc54008c8
Update dependencies ( #5316 )
...
* switching to released wasmtime
* update depdencies in general
* Update fdlimit
* Update parity common deps
* Also update schnorrkel
* update kvdb-rocksdb
* update further dependents
* also update primitive types
* update cargo.lock
* update merlin
* Bumping evm version
2020-03-19 16:03:26 +01:00
Benjamin Kampmann
25e25a83b9
Releasing 2.0.0-alpha.4 ( #5279 )
...
* Version bump
* Split generate_changelog.sh into separate script
Can be run in the format `generate_changelog.sh $previous_version $version`.
* remove early exit from publish_draft_release.sh
* adding changelog
* ci: change last_github_release to also find pre-releases
Co-authored-by: Martin Pugh <pugh@s3kr.it >
2020-03-18 14:37:21 +01:00
ddorgan
d02868a0bf
Fork flaming fir 6 ( #5251 )
2020-03-18 14:05:10 +01:00
lwshang
648c8cb8cf
Print non-output messages to stderr in subkey ( #5286 )
...
* Print non-output messages to stderr in subkey
* Update bin/utils/subkey/src/main.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-03-18 10:32:03 +01:00
Nikolay Volf
db86094b03
Produce block always on updated transaction pool state ( #5227 )
...
* make sure return ready iterator once state is updated
* update sc_basic_authorship tests
* update node tests
* fix manual seal
* actually fix service test
* add tests
* Update client/basic-authorship/src/basic_authorship.rs
Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* helper function
* review suggestions
* warning and continue
* add debug log
* use futures::chennel::oneshot
* use declaration bound
* no option for updated_at
* no allocation
* ready_at / ready
* Update client/transaction-pool/src/lib.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/transaction-pool/src/lib.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/transaction-pool/src/lib.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/transaction-pool/src/lib.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/transaction-pool/src/lib.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/transaction-pool/src/lib.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-03-17 16:24:04 +01:00
Luke Schoen
c263a24efe
refactor: Remove unnecessary space ( #5276 )
2020-03-17 14:12:34 +01:00
Shawn Tabrizi
9c06d8c6f4
Benchmark Staking and Session Pallet ( #5183 )
...
* starting bench
* More
* more
* Payout Validator
* Give each validator exactly n nominators
* Update with test
* Try to add accounts to chain spec
* Undo changes to chainspec
* Payout nominator
* Rebond and Reap Stash
* Set history depth
* fix smelly code
* cancel deferred slash
* new_era bench
* do_slash benchmark
* Add features
* undo extrinsic move
* lower
* Update new era
* Update benchmarking.rs
* whitespace
* Apply suggestions from code review
Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* fixes
* nit
* Refactor tests, initial code
* Move session benchmarks to avoid cyclic deps
* Update lib.rs
* Fix warnings
* Move impl
* Update to do random nominator allocation
* add feature to benchmark pallet
* Remove extra stuff
* Update based on feedback
* Less intrusive
* Remove `transfer_idle_users`
* remove again
* unused dep
* test feature flag
* Update to latest substrate
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2020-03-17 14:12:04 +01:00
Gavin Wood
af9083f53b
Refactor away from opaque hashes ( #5226 )
...
* System.BlockHash
* Fix hash
* Introduce K/V iteration in all _concat maps
Also move across:
- System.Account (blake2_128_concat)
- Balances.Locks (twox_64_concat)
- ElectionsPhragmen.VotesOf (twox_64_concat)
- ElectionsPhragmen.StakeOf (twox_64_concat)
- Identity.IdentityOf (twox_64_concat)
- Identity.SubsOf (twox_64_concat)
- Society.Payouts (twox_64_concat)
- Session.NextKeys (twox_64_concat)
- Identity.SuperOf (blake2_128_concat)
- Session.KeyOwner (blake2_128_concat)
- Society.SuspendedCandidates (twox_64_concat)
- Society.SuspendedMembers (twox_64_concat)
- Society.Vouching (twox_64_concat)
- Society.Strikes (twox_64_concat)
- System.EventTopics
- Balances.Account
* Build fixes
* Ensure migration happens in correct order
* Staking.*
* Vesting.* Offences.*
* Democracy.*
* Babe.* Collective.*
* Grandpa.*
* Assets.* Benchmark.* Contracts.* Elections.* Asset.* Nicks.*
Also introduce real account list
* ImOnline.*
* Treasury.*
* Recovery.*
* Final bits.
* Docs
* Fix one test
* Fix test
* All passing except the UI tests
* Remove linked_map part 1
* Remove linked_map
* Some iterator utils for double maps.
* Remove old migrations
* Introduce tombstone for LinkedMap type
* Migration for genesis hash
* Fix build
* Fix hash
* Rename Map is_linked -> unused, keeping backwards compat (#5256 )
* Update frame/balances/src/lib.rs
Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update frame/elections/src/lib.rs
Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com >
* Remove old migration code.
* Update frame/system/src/lib.rs
Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update bin/node/runtime/src/lib.rs
Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com >
* Fix hash
* fix session migration
* Fix watning
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2020-03-16 23:19:53 +01:00
Wei Tang
846a9ce8c6
epoch-changes: separate epoch header with epoch data ( #4881 )
...
* 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 <andre.beat@gmail.com >
* Update client/consensus/slots/src/lib.rs
Co-Authored-By: André Silva <andre.beat@gmail.com >
* 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 <andre.beat@gmail.com >
* Update client/consensus/epochs/src/lib.rs
Co-Authored-By: André Silva <andre.beat@gmail.com >
* 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 <andre.beat@gmail.com >
2020-03-16 17:06:13 -04:00
Nikolay Volf
372745705d
create parallel tasks extension ( #5249 )
2020-03-16 16:30:39 +01:00
Alexander Theißen
b817763ea9
Add ext_transfer call ( #5169 )
...
* 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 <nikvolf@gmail.com >
* The define_env! macro does not allow for trailing comma
* Update frame/contracts/src/exec.rs
Co-Authored-By: Nikolay Volf <nikvolf@gmail.com >
* 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 <nikvolf@gmail.com >
2020-03-14 12:49:22 +01:00
Shawn Tabrizi
74f8db5def
Assign unique storage names to pallets. ( #5010 )
...
* 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 <gavin@parity.io >
2020-03-14 12:44:48 +01:00
Nikolay Volf
7285cbc801
Update master benchmarks ( #5230 )
...
* 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 <bkchr@users.noreply.github.com >
* Update bin/node/testing/benches/import.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update bin/node/testing/benches/import.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update bin/node/testing/benches/import.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update bin/node/testing/benches/import.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update bin/node/testing/benches/import.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* use existential deposit
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-03-13 13:01:44 +01:00
Seun Lanlege
3193b0d4aa
removes use of sc_client::Client from node-transaction-factory ( #5158 )
...
* removes use of sc_client::Client from node-transaction-factory
* move sc-block-builder to [dev-dependencies] in substrate-test-runtime
2020-03-12 19:19:38 +01:00
Seun Lanlege
9898fc7e81
removes use of sc_client::Client from sc_network ( #5147 )
...
* removes use of sc_client::Client from sc_network
* rename BlockProvider to BlockBackend
* fix broken test
2020-03-12 14:02:04 +01:00
Gavin Wood
2387543ecb
Split fees and tips between author and treasury independently ( #5207 )
...
* Split fees and tips between author and treasury independently
* Docs and cleanup
* Fix test
2020-03-12 00:15:39 +01:00
Arkadiy Paronyan
dc0bf210fb
ChainSpec trait ( #5185 )
...
* ChainSpec trait
* Apply suggestions from code review
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Added docs
* Fixed build
* Fixed build
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-03-12 00:00:10 +01:00
Max Inden
d2345e8d5c
client/authority-discovery: Instrument code with Prometheus ( #5195 )
...
* 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 <ashley.ruglys@gmail.com >
* client/authority-discovery/src/lib.rs: Reword metric help text
Co-Authored-By: Ashley <ashley.ruglys@gmail.com >
* client/authority-discovery/tests: Fix struct instantiation + basic test
Co-authored-by: Ashley <ashley.ruglys@gmail.com >
2020-03-11 23:59:33 +01:00
Hero Bird
e5e0ca7389
Split ext_clear_storage out from ext_set_storage ( #5103 )
...
* 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 <gavin@parity.io >
2020-03-11 09:46:20 +01:00
Stanislav Tkach
93ee3104e7
Use CLI to configure max instances cache ( #5177 )
...
* 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 <git@kchr.de >
2020-03-11 09:43:37 +01:00
Pierre Krieger
f21680209f
Minor fixes for Android compilation ( #5209 )
...
* Minor fixes for Android
* Update parity-multiaddr
* Bump in service Cargo.toml too
2020-03-10 20:54:58 +01:00
thiolliere
1b4dcd1f23
Staking improve payout_validator ( #5208 )
...
* 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 <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2020-03-10 20:54:29 +01:00
Ashley
3429967122
Use libp2p's implementation of a wasm websocket transport ( #5089 )
...
* 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 <pierre.krieger1708@gmail.com >
2020-03-10 11:14:20 +01:00
Bastian Köcher
1cfcf5cbfe
Don't include :code by default in storage proofs ( #5179 )
...
* 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 <sergei@parity.io >
* Review feedback
* Fix compilation
Co-authored-by: Sergei Pepyakin <s.pepyakin@gmail.com >
* Fix compilation and change the way `RuntimeCode` works
* Fix tests
* Switch to `Cow`
Co-authored-by: Benjamin Kampmann <ben@gnunicorn.org >
Co-authored-by: Sergei Pepyakin <s.pepyakin@gmail.com >
2020-03-10 11:13:20 +01:00
Shawn Tabrizi
0971fff470
Update logic to cancel_deferred_slash ( #5186 )
...
* Update logic to cancel_deferred_slash
* More idiomatic
* bump spec
Co-authored-by: Gavin Wood <gavin@parity.io >
2020-03-09 12:39:05 +01:00
Marcio Diaz
013fb6ae18
Benchmark Vesting ( #5048 )
...
* Init macro
* Refactor function.
* Add feature
* vested transfer benchmark
* Fix features
* Forgot to push this fix
* bump impl
* Nits.
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2020-03-09 10:12:20 +01:00
Gavin Wood
1c94a03780
Second migration fix ( #5178 )
...
* Second migration fix
* Fix check-runtime script
* Another fix to the CI
* Revert changes.
* Bump runtime
2020-03-06 23:46:38 +01:00
André Silva
1290ae3e92
node: reset flaming fir testnet ( #5176 )
2020-03-06 22:20:57 +00:00
Gavin Wood
615dc00702
Migration fix ( #5174 )
2020-03-06 21:23:14 +01:00
Joshy Orndorff
91c1e1a85e
Increase node template max block weight ( #5171 )
2020-03-06 18:32:00 +01:00
Bastian Köcher
c244b1d036
Revert "Build block without checking signatures ( #4916 )" ( #5159 )
...
* Revert "Build block without checking signatures (#4916 )"
This reverts commit e50f610907 .
* Some further clean ups
2020-03-06 15:27:59 +01:00
Gavin Wood
f5dc69b404
Don't remove invalid transactions when skipping. ( #5121 )
...
* Don't remove invalid transactions when skipping.
* Use a special kind of extrinsic instead of arbitrary limit.
* Fix txpool tests.
* Attempt to create more blocks.
* Bump lock
Co-authored-by: Gavin Wood <github@gavwood.com >
Co-authored-by: Nikolay Volf <nikvolf@gmail.com >
2020-03-05 17:00:31 +01:00
Benjamin Kampmann
99ae5342eb
removes use of sc_client::Client from sc-rpc ( #5063 )
...
* removes use of sc_client::Client from sc-rpc
* remove Client impl from sc-finality-benches
* remove client impl from sc-finality-grandpa
* read_proof accepts iterator
* remove generic Executor param from ExecutorProvider
* fix long ass line
* code style changes
* merge with master
Co-authored-by: Arkadiy Paronyan <arkady.paronyan@gmail.com >
2020-03-05 16:41:10 +01:00
Gavin Wood
dc85ccb7df
Expose the runtime-benchmarks feature to the cli crate ( #5143 )
...
This exposes the `runtime-benchmarks` feature via the cli crate and
makes sure the benchmarking can be enabled. This requires that the user
goes to `bin/node/cli` and runs `cargo build --features
runtime-benchmarks` to build a node that has the feature enabled.
2020-03-05 15:57:38 +01:00
Gavin Wood
0573f1408d
Introduce default-setting prime for collective ( #5137 )
...
* Introduce default-setting prime for collective
* Docs.
* Elections phragmen supports prime
* Fix
* Membership supports prime
* Fix
* Update frame/collective/src/lib.rs
Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2020-03-05 15:57:03 +01:00
Benjamin Kampmann
d3208aa7bc
Better wasm instance cache ( #5109 )
...
* Wasm instance cache
* Reduce slot locking
* Fixed test
* Dispose of instance in case of error
* Fixed benches
* Style, comments, some renames
* Replaced upgradable lock with mutex
* Bump dependencies
* Re-export CallInWasm
* Update client/executor/src/wasm_runtime.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/executor/src/native_executor.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/executor/src/native_executor.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/executor/src/wasm_runtime.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/executor/wasmtime/src/runtime.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/executor/src/wasm_runtime.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/executor/src/wasm_runtime.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/executor/src/wasm_runtime.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Indents
* Whitespace
* Formatting
* Added issue link
Co-authored-by: Benjamin Kampmann <ben.kampmann@googlemail.com >
Co-authored-by: Gavin Wood <github@gavwood.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-03-05 14:02:04 +01:00
Gavin Wood
906e08ee2a
Pass Prometheus Registry into Client ( #5120 )
...
* Add a few metrics to Client
* Improve PrometheusConfig
* Fix client docs
2020-03-05 13:40:33 +01:00
Gavin Wood
ab58a08a53
remove on_exit from grandpa ( #5098 )
2020-03-05 13:38:16 +01:00
Gavin Wood
91b44299d8
Adds a session getter to historical proofs ( #5125 )
...
* Adds a session getter to historical proofs
* Bump spec_version
* Adds some useful trait derives to Proof
2020-03-05 13:37:59 +01:00
Gavin Wood
ddbcefe928
Adds vested_transfer to Vesting pallet ( #5029 )
...
* Add the vested_transfer function with tests
* Add VestingDeposit for minimum amount to create a new schedule
* Remove irrelevant file commit
* Bump spec
* Add weight comment
* Fix CI build
* Make the check before the transfer
* Update frame/vesting/src/lib.rs
Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update frame/vesting/src/lib.rs
Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update frame/vesting/src/lib.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update frame/vesting/src/lib.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update frame/vesting/src/lib.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Add tab to line 249
* Rename to `MinVestedTransfer` for clarity
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-03-05 12:03:20 +01:00
Arkadiy Paronyan
9a1b3b53f2
Revert "Don't include :code by default in storage proofs ( #5060 )" ( #5136 )
...
This reverts commit 6ee39261c8 .
2020-03-05 10:55:05 +01:00