Kian Paimani
9f21ec97b8
Add Nomination Pools to Kusama ( #5447 )
...
* add nomination pools to kusama
* Update runtime/kusama/src/lib.rs
Co-authored-by: Mara Robin B. <mara@broda.me >
* Update runtime/kusama/src/lib.rs
* probably fix build
* really fix build
* fix benches
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
* whitelist transactional storage limit
* make defensive
* fix
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
* update
* fix benches
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
* change head
* fmt
Co-authored-by: Mara Robin B. <mara@broda.me >
Co-authored-by: Parity Bot <admin@parity.io >
2022-05-11 07:35:05 +02:00
Kian Paimani
be8cbc8001
Companion for pools tweaks ( #5488 )
...
* add weights
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-05-10 18:42:37 +01:00
Niklas Adolfsson
804d0f38a5
companion for #8783 - jsonrpsee ( #4344 )
...
* add jsonrpsee glue code
* diener --substrate dp-jsonrpsee-integration-2
* cargo fmt
* update substrate
* fix build
* update substrate
* fix tests
* update substrate
* update substrate
* revert Cargo.toml
* revert changes in Cargo.toml
* jsonrpsee v0.11
* fix staking miner
* chore: update jsonrpsee v0.12
* update companion
* update companion
* fix changes in substrate
* revert requires_full_sync removal
* fix: read WS address from polkadot output
* fit nits
* fix more nits
* update lockfile for {"substrate"}
* cargo fmt
Co-authored-by: parity-processbot <>
2022-05-10 12:13:38 +02:00
dependabot[bot]
992705d127
Bump log from 0.4.16 to 0.4.17
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.16 to 0.4.17.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits/0.4.17 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-08 22:32:57 +02:00
dependabot[bot]
fbfd292435
Bump enumn from 0.1.3 to 0.1.4 ( #5453 )
...
Bumps [enumn](https://github.com/dtolnay/enumn ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/dtolnay/enumn/releases )
- [Commits](https://github.com/dtolnay/enumn/compare/0.1.3...0.1.4 )
---
updated-dependencies:
- dependency-name: enumn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-07 21:02:14 +00:00
cheme
fc568486fa
update parity-db version ( #5472 )
2022-05-06 15:24:16 +02:00
Tsvetomir Dimitrov
20e56a453c
Disputes which are unknown for the Runtime are sent with priority by the Provisioner when preparing inherent data ( #5336 )
...
* Implement MallocSizeOf for DisputeState
* Implementation of `Disputes` Runtime API message
* Modify on-chain dispute import
* Add feature flag for the new functionality
* Update node/core/provisioner/src/onchain_disputes.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Add target to log messages
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Use `staging-client` feature to enable the client code using the staging runtime api
* Remove TODO comment
* Don't filter out DisputeState
* Fix disputes selection logic
* spelling
* Tests
* Rename `Disputes` message to `StagingDisputes`
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* Code review feedback
- Logging
- Separate error module
- Add additional fields for GetOnchainDisputesErr
- logging and impl MallocSizeOf
- fix impl MallocSizeOf for DisputeState
- fix tests
* Update node/core/provisioner/src/error.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Apply suggestions from code review
dummy metrics instance
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* Revert "Apply suggestions from code review"
This reverts commit 6dc518cbf77e037ff4760d315938a68c806e662e.
* Code review feedback: #[cfg(test)] for new_dummy() in metrics
* Code review feedback: break the disputes generation logic in separate functions
* Code review feedback - align_eight
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Co-authored-by: Andronik <write@reusable.software >
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2022-05-06 12:58:04 +00:00
Vsevolod Stakhov
673a32d968
Use grid topology for bitfileds distribution messages ( #5389 )
...
* Move NewGossipTopology -> SessionGridTopology outside as this implementation is shared
* Add method to return peers difference between topologies
* Implement basic grid topology usage for the bitfield distribution
* Fix tests
* Oops, fix tests
* Add some tests for random routing
* Add a unit test for topology distribution
* Store the current and the previous topology to match sessions boundaries
* Update tests
* Update node/network/bitfield-distribution/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/protocol/src/grid_topology.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/bitfield-distribution/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Add some debug
* Fix tests as HashSet order is undefined
Co-authored-by: Andronik <write@reusable.software >
2022-05-06 12:24:11 +00:00
Roman Gafiyatullin
d9f6c206a9
A companion PR to the https://github.com/paritytech/substrate/pull/10995 ( #5446 )
...
* Add BlockBackend::requires_full_sync() implementation
* do not specify --pruning explicitly
* update lockfile for {"substrate"}
* Please re-run the CI
* Please re-run the CI
Co-authored-by: Roman Gafiyatullin <rg@rgmbp-16-m1.lan >
Co-authored-by: parity-processbot <>
2022-05-06 11:33:06 +00:00
dependabot[bot]
48fb8bfb4e
Bump nix from 0.23.1 to 0.24.1
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.23.1 to 0.24.1.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.23.1...v0.24.1 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-06 02:26:47 +02:00
Jun Jiang
2e1a3441f9
add force_batch weight entry to runtimes ( #5452 )
2022-05-05 14:39:30 +00:00
dependabot[bot]
3a01f0697f
Bump trybuild from 1.0.60 to 1.0.61
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.60 to 1.0.61.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.60...1.0.61 )
---
updated-dependencies:
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-05 12:36:10 +02:00
dependabot[bot]
0493fed686
Bump tokio from 1.17.0 to 1.18.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.17.0 to 1.18.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.18.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-05 01:19:55 +02:00
André Silva
82cb3c0570
Companion for substrate#11113 ( #5406 )
...
* runtime: use ParentBlockRandomness instead of CurrentBlockRandomness
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-05-04 17:14:17 +00:00
dependabot[bot]
bd5db20e7c
Bump thiserror from 1.0.30 to 1.0.31 ( #5439 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.30...1.0.31 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 13:53:53 +00:00
Web3 Smith
9cdfbb4c8d
Update MMR Runtime API - add proof batching ( #4700 )
...
* update runtime apis
* rebase
* update apis
* update apis
* minor fix
* minor fix
* minro fixes
* update api
* style fix
* update lockfile for {"substrate"}
Co-authored-by: acatangiu <adrian@parity.io >
Co-authored-by: parity-processbot <>
2022-05-04 11:26:32 +00:00
Shawn Tabrizi
dde3a74102
bump sp-io and parity-db
2022-05-04 02:00:17 +02:00
dependabot[bot]
b7a5044e82
Bump serde from 1.0.136 to 1.0.137 ( #5429 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.136 to 1.0.137.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.136...v1.0.137 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-03 10:27:13 +00:00
dependabot[bot]
e4199f900f
Bump syn from 1.0.91 to 1.0.92
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.91 to 1.0.92.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.91...1.0.92 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-30 00:09:01 +02:00
Roman
44f3e6f6ab
Companion for substrate#11009 ( #5414 )
...
* Downgrade zeroize to v1.4.3
* Update Substrate
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-04-29 12:07:57 +00:00
dependabot[bot]
47eaca3eee
Bump clap from 3.1.10 to 3.1.12 ( #5381 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.10 to 3.1.12.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.10...v3.1.12 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 04:18:06 +00:00
Kian Paimani
dfaec1505d
add nomination pools to westend runtime ( #5405 )
...
* add nomination pools to westend rutnime
* Fix buikd
* fit some shit
* add real weights from substrate weights computed on the same bench machine
2022-04-28 18:16:24 +00:00
asynchronous rob
9c1a3bd18b
backing: refactor off of jobs system ( #5377 )
...
* backing: refactor off of jobs system
* rename FailedToSpawnBg
* refactor: backing uses fatality
* fix service compilation
2022-04-27 22:19:45 +00:00
Chigozie Joshua
ee3b164f65
Companion for Remove Approval feature in Treasury Pallet ( #11243 ) ( #5352 )
...
* added weight for remove_approval call in treasury pallet
* added weight for remove_approval call in kusama runtime
* Update Cargo.lock
* update lockfile for {"substrate"}
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2022-04-27 12:37:17 +02:00
Oliver Tale-Yazdi
9621dbebc9
Co #11270 : Update benchmark machine command ( #5386 )
...
* Update benchmark machine command
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add import
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Rename POLKADOT_REFERENCE_HARDWARE -> SUBSTRATE_REFERENCE_HARDWARE
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
* Bump spec_version to 9200
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-04-26 18:26:11 +02:00
Ayevbeosa Iyamu
7d0252784d
Companion for Recovery Pallet benchmarking #11176 ( #5366 )
...
* benchmarking for `pallet_recovery`
* Added WeightInfo implementation for pallet_recovery
* Update Cargo.lock
* Update Cargo.toml
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-04-26 13:09:03 +00:00
Koute
b049d4f1c9
Add hardware benchmark telemetry (Companion for Substrate#11062) ( #5206 )
...
* Align to changes in Substrate
* Align to the newest changes in substrate
* Rename `--disable-hardware-benchmarks` to `--no-hardware-benchmarks`
* Fix `polkadot-test-service` compilation
* Fix compilation of test parachains
2022-04-26 09:16:31 +00:00
Koute
7a92f1678d
Update tracing-log to 0.1.3 (Companion for Substrate#11264) ( #5393 )
...
* Update `tracing-log` to 0.1.3
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-04-26 09:05:46 +00:00
tgmichel
9a840bb12a
Companion to chain-info Subcommand: #11250 ( #5370 )
...
* Companion to `blockchain-info` Subcommand: #11250
* Rename to `chain-info`
* Remove `ensure_dev`
* Update cli/src/command.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Pin substrate `59a2150`
* `service::Block`
* Unused `chain_spec`
* fmt
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-04-25 23:09:42 +02:00
Squirrel
c01a9ea524
polkadot-like testnets should be 10 decimal places ( #5369 )
...
* polkadot is 10 decimal places
* cargo fmt
* Update node/service/src/chain_spec.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* name change
* update test also
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-04-25 17:17:11 +00:00
Bastian Köcher
5ebcf3643c
Update Substrate master ( #5380 )
2022-04-25 10:22:54 +00:00
dependabot[bot]
08f5cc9ca6
Bump bounded-vec from 0.5.0 to 0.6.0 ( #5372 )
...
Bumps [bounded-vec](https://github.com/ergoplatform/bounded-vec ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/ergoplatform/bounded-vec/releases )
- [Changelog](https://github.com/ergoplatform/bounded-vec/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/ergoplatform/bounded-vec/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: bounded-vec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-22 16:56:55 +02:00
Vsevolod Stakhov
a5742b9ec1
Extract peers grid topology related code to a separate unit ( #5365 )
...
* Initial attempt to extract grid topology related code
* Use shared code in the approval distribution subsystem
* Fix spellcheck issues
* Moe Aggression stuff back to the approval-distribution subsystem
* Cargo fmt
2022-04-22 11:19:36 +01:00
Zeke Mostov
42cbfba5d3
Companion to Proportional Slashing: Substrate #10982 ( #5306 )
...
* Companion to Proportional Slashing
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-04-22 00:14:28 +00:00
asynchronous rob
fc4b04db20
Prepare for network protocol version upgrades ( #5084 )
...
* explicitly tag network requests with version
* fmt
* make PeerSet more aware of versioning
* some generalization of the network bridge to support upgrades
* walk back some renaming
* walk back some version stuff
* extract version from fallback
* remove V1 from NetworkBridgeUpdate
* add accidentally-removed timer
* implement focusing for versioned messages
* fmt
* fix up network bridge & tests
* remove inaccurate version check in bridge
* remove some TODO [now]s
* fix fallout in statement distribution
* fmt
* fallout in gossip-support
* fix fallout in collator-protocol
* fix fallout in bitfield-distribution
* fix fallout in approval-distribution
* fmt
* use never!
* fmt
2022-04-21 16:34:59 +00:00
dependabot[bot]
ba052ca6a7
Bump clap from 3.1.9 to 3.1.10 ( #5355 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.9...v3.1.10 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-21 10:11:22 +02:00
Zeke Mostov
efe74e4336
Companion to Substrate #11002 ( #5309 )
...
* Add SignedMaxRefunds
* Update Cargo.lock
* update lockfile for {"substrate"}
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2022-04-21 00:01:17 +02:00
Georges
e460465515
Companion to Split SolutionImprovementThresholds into two types ( #5324 )
...
* Splitting `SolutionImprovementThreshold` in 2.
One for Signed phase, and one for Unsgined.
* Adding missing imports
* Removing `GetDefault`, renaming trait
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-04-20 15:54:25 -04:00
dependabot[bot]
07d2985f82
Bump trybuild from 1.0.53 to 1.0.60 ( #5343 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.53 to 1.0.60.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.53...1.0.60 )
---
updated-dependencies:
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 21:11:39 +02:00
asynchronous rob
79ecc53801
Reduce network bandwidth, improve parablock times: optimize approval-distribution ( #5164 )
...
* gossip-support: be explicit about dimensions
* some guide updates
* update network-bridge to distinguish x and y dimensions
* get everything to compile
* beginnings
* some TODOs
* polkadot runtime: use relevant_authorities
* make gossip topologies per-session
* better formatting
* gossip support: use current session validators
* expand in comment
* adjust tests and fix index bug
* add past/present/future connection test and clean up code
* fmt
* network bridge: updated types
* update protocols to new gossip topology message
* guide updates
* add session to BlockApprovalMeta
* add session to block info
* refactor knowledge and remove most unify logic
* start replacing gossip_peers with new SessionTopologies
* add routing information to message state
* add some utilities to SessionTopology
* implement new gossip topology logic
* re-implement unify_with_peer
* distribute assignments according to topology
* finish grid topology implementation
* refactor network bridge slightly
* issue connection requests on all past/present/future
* fmt
* address grumbles
* tighten invariants in unify_with_peer
* implement random propagation
* refactor: extract required routing adjustment logic
* some block-age logic
* aggressively propagate messages when finality is slow
* overhaul aggression system to have 3 levels
* add aggression metrics
* remove aggression L3
* reduce random circulation
* remove PeerData
* get approval tests compiling
* use btree_map in known_by to make deterministic
* Revert "use btree_map in known_by to make deterministic"
This reverts commit 330d65343a7bb6fe4dd0f24bd8dbc15c0cbdbd9d.
* test XY grid propagation
* remove stray println
* test unshared dimension propagation
* add random gossip check
* test unify_with_peer better
* test sending after getting gossip topology
* test L1 aggression on originator
* test L1 aggression for non-originators
* test non-originator aggression L2
* fnt
* ~spellcheck
* fix statement-distribution tests
* fix flaky test
* fix metrics typo
* re-send periodically
* test resending
* typo
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* add more metrics about apd messages
* add back unify_with_peer logs
* make Resend an enum
* be more explicit when resending
* fmt
* fix error
* add a TODO for refactoring
* remove debug metrics
* add some guide stuff
* fmt
* update runtime API in test-runtim
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2022-04-19 20:26:55 +02:00
Robert Klotzner
f820db494f
dispute-coordinator: Cleanup + Bug fixes ( #5323 )
...
* Make import confirmation oneshot optional.
* Cleanup for further improvements.
* Queue adoptions.
* Fix fieldname
* Use correct relay parent
* Fix scraper tests.
* Small optimization.
* Fix all tests.
* Fix other tests.
* fmt
* spelling
* Fix warning.
2022-04-19 14:51:02 +02:00
dependabot[bot]
b3540e76e3
Bump clap from 3.1.8 to 3.1.9 ( #5335 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.8 to 3.1.9.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.8...v3.1.9 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 23:01:47 +02:00
dependabot[bot]
6b9bdbe1c2
Bump parity-db from 0.3.9 to 0.3.11 ( #5261 )
...
Bumps [parity-db](https://github.com/paritytech/parity-db ) from 0.3.9 to 0.3.11.
- [Release notes](https://github.com/paritytech/parity-db/releases )
- [Commits](https://github.com/paritytech/parity-db/commits/v0.3.11 )
---
updated-dependencies:
- dependency-name: parity-db
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 22:55:18 +02:00
dependabot[bot]
42cc18a80c
Bump tracing from 0.1.33 to 0.1.34 ( #5329 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.33 to 0.1.34.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.33...tracing-0.1.34 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 22:54:17 +02:00
Oliver Tale-Yazdi
8c3dbe0cfc
Co #11198 : Expose benchmark machine command ( #5326 )
...
* Expose benchmark machine command
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* error.into
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
* Revert "update lockfile for {"substrate"}"
This reverts commit 41c2ddda511076567a98c85efa631374071c9e5a.
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-04-15 18:46:36 +02:00
Georges
a74c527d32
Companion for Adding benchmarking for new frame_election_provider_support #11149 ( #5241 )
...
* `GenesisElectionOf` after changes to substrate
* Benchmarking for `frame_election_provider_support`
* Introducing `OnChainSeqPhragmen` after changes
to substrate.
Pallet renaming in substrate
* Fixing `test-runtime`
* Use `UnboundedExecution` after change to substrate
* update lockfile for {"substrate"}
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_election_provider_support --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=frame_election_provider_support --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=westend-dev --steps=50 --repeat=20 --pallet=frame_election_provider_support --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
Co-authored-by: parity-processbot <>
Co-authored-by: Parity Bot <admin@parity.io >
2022-04-15 17:17:38 +02:00
dependabot[bot]
e3326d26b3
Bump scale-info from 2.0.1 to 2.1.1 ( #5325 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.0.1 to 2.1.1.
- [Release notes](https://github.com/paritytech/scale-info/releases )
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-info/commits/v2.1.1 )
---
updated-dependencies:
- dependency-name: scale-info
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-15 08:16:50 +02:00
dependabot[bot]
b9e0e1493f
Bump quote from 1.0.17 to 1.0.18 ( #5301 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.17...1.0.18 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-14 20:55:58 +02:00
Nazar Mokrynskyi
2f01960eb2
Update zstd dependency ( #5148 )
...
* Update zstd dependency
* Update Cargo.lock
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-04-14 15:54:27 +02:00
Shawn Tabrizi
3f56e1ff55
Add XCM Benchmarks to Kusama ( #4442 )
...
* add xcm benchmarks to kusama
* Create temp
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::generic --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
* add weights to kusama runtime
* Fixes
* Fixes
* Fixes
* Fixes
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::generic --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
* use new benchmark
* Fix license year
* update substrate deps
* Add Configuration::ActiveConfig storage key to the whitelist
* Update Cargo.lock
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-04-14 10:50:06 +02:00