dependabot[bot]
cd87684b05
Bump libc from 0.2.106 to 0.2.107 ( #4235 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.106 to 0.2.107.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.106...0.2.107 )
---
updated-dependencies:
- dependency-name: libc
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>
2021-11-09 22:34:54 +01:00
dependabot[bot]
8e1b72c065
Bump paste from 1.0.5 to 1.0.6 ( #4244 )
...
Bumps [paste](https://github.com/dtolnay/paste ) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/dtolnay/paste/releases )
- [Commits](https://github.com/dtolnay/paste/compare/1.0.5...1.0.6 )
---
updated-dependencies:
- dependency-name: paste
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>
2021-11-09 22:28:19 +01:00
Dan Shields
1286d5e00b
move wiki -> docs ( #10225 )
...
Co-authored-by: Dan Shields <danwshields@gmail.com >
2021-11-09 22:27:40 +01:00
Kian Paimani
e01edb0840
new remote-ext mode: ( #10192 )
2021-11-09 21:26:39 +00:00
dependabot[bot]
c33b065b53
Bump serde_json from 1.0.68 to 1.0.69 ( #4236 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.68 to 1.0.69.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.68...v1.0.69 )
---
updated-dependencies:
- dependency-name: serde_json
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>
2021-11-09 22:24:26 +01:00
Alexander Popiak
eaa5a0e663
bump spec_version ( #733 )
2021-11-09 18:11:51 +01:00
Alexander Popiak
1dd2605b95
Align Call Indices between Westmint and Statemint ( #731 )
...
* align construct_runtime calls between statemint runtimes
* bump westmint transaction_version
2021-11-09 17:39:50 +01:00
Alexander Popiak
05fd790612
adjust XCM unit weights to 1B ( #735 )
2021-11-09 17:14:16 +01:00
Ignacio Palacios
c16db9c66f
Remove randomness collective flip new ( #726 )
...
* randomess collective flip removed
* cargo.lock + fix
* remove migration for statemint
* fmt fix
* update cargo.lock
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
2021-11-09 17:01:44 +01:00
Bastian Köcher
ae12a80b35
Rework the runtime upgrade test ( #727 )
...
* Rework the runtime upgrade test
* Update test/service/tests/runtime_upgrade.rs
* Update test/service/tests/runtime_upgrade.rs
* Update Cargo.lock
* FMT
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-11-09 15:02:34 +01:00
Koute
59078fcf94
Add a block production benchmark ( #10104 )
...
* Add a block production benchmark
* Simplify the block production benchmark
* Cleanups; switch execution strategy to WASM
* Switch WASM execution to `Compiled`
* Reduce the setup cost of the benchmark
Creating all of those extrinsics takes up *a lot* of time, up to the point
where the majority of the time is actually spent *outside* of the code
which we want to benchmark here. So let's only do it once.
* Add a variant of the block production benchmark with proof recording
2021-11-09 13:38:31 +00:00
Koute
3080f793e3
Update wasmtime and related dependencies (companion for Substrate#10149) ( #4210 )
...
* Update `wasmtime` and related dependencies
* Update `substrate` to 7adee13ddc48a9d715eb2f9caa37d99713fa0102
2021-11-09 13:12:57 +00:00
Arkadiy Paronyan
91b6d5970a
Bump parity-db ( #10218 )
...
* Bump parity-db
* Update cargo.lock
2021-11-09 13:08:34 +01:00
Koute
ef3eca4198
Bump wasmtime to 0.31.0 ( #10149 )
...
* Bump `wasmtime` to 0.31.0
* Bump `itoa` to 0.4.8
* sc-executor-wasmtime: fix `SandboxContext::invoke` which I've broke
* sc-executor-wasmtime: cargo fmt
2021-11-09 12:08:02 +00:00
Qinxuan Chen
5d5e685ebe
frame_support::pallet_prelude: Add scale_info::TypeInfo ( #10221 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-11-09 12:59:55 +01:00
Benjamin Kampmann
33f11dc1e8
update cargo lock to unbreak dep of a dep ( #4245 )
2021-11-09 11:46:50 +01:00
Robert Klotzner
6950ea66be
Increase maximum chunk size to adjust for small networks. ( #4220 )
...
* Increase maximum chunk size to adjust for small networks.
* Issue warning on invalid merkle proofs.
* warn -> debug on invalid merkle proof.
2021-11-08 18:00:40 -06:00
David
3c624174ff
Remove the RPC client example ( #10217 )
...
* Remove the RPC client example
Might be slightly contentious but I think we want to migrate this example to `subxt` and redirect the community to use that for things like this.
* Remove rpc-client example code from workspace
2021-11-08 21:06:53 +00:00
Bastian Köcher
24ee605dcf
Fix polkadot companion label CI check ( #10198 )
...
* Fix polkadot companion label CI check
* Update .github/workflows/polkadot-companion-labels.yml
2021-11-08 21:05:39 +00:00
Bastian Köcher
03e9c5afd4
Offchain-worker: Accessing time is not HTTP ( #10220 )
...
Accessing time related functionality is clearly not related to HTTP. So, this pr introduces a `TIME` capability.
2021-11-08 22:03:37 +01:00
Alexander Popiak
c63c5229ba
Upstream Statemine Release v5 Changes to Master ( #720 )
...
* Update references
* update deps
* set substrate deps for pallet-asset-tx-payment
* add DisabledValidatorsThreshold to parachain template
* add DisabledValidatorsThreshold to statemint runtimes
* adjust imports
* update Cargo-lock
* add DisabledValidatorsThreshold to mock config
* cargo +nightly fmt
* adjust on_disabled type
* remove on_chain_votes function in ParachainHost impl
* remove ScrapedOnChainVotes
* bump polkadot-collator version
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* update Cargo.lock
* set spec_versions to 500
* Statemine cannot execute.
* disallow XCM execute on statemint
* cargo fmt
* remove unnecessary dep on node-primitives
* select parachains-common/std feature when building rococo-runtime with std
* adjust Statemint to the three digit spec_version format
* Add script to generate simple changelogs (#668 )
* Update weights from v4 for v5 comparison (#673 )
* updates weights
* pallet_unique benchmarks added + weights upstream from v4
* Fix benchmarks after Parachain Template (#677 )
* updates weights
* pallet_unique benchmarks added + weights upstream from v4
* benchmarks fix for parachain template
* Weights updates for Statemine v5 (#682 )
* updates weights
* pallet_unique benchmarks added + weights upstream from v4
* weights updates for statemine v5
* mention Storage in construct_runtime macro for pallet-xcm (#680 )
* Use pallet-xcm for version wrapping (#689 )
* use PolkadotXcm for XcmRouter WrapVersion
* use PolkadotXcm for version wrapping
Co-authored-by: Bryan Chen <xlchen1291@gmail.com >
* patch weight for batch_all from rerun
* Runtime version bump to v503 (#694 )
* adjust genesis value generation scripts to output entries array + add script to derive encoded call
* add script to generate shell spec from runtime wasm
* Ensure a bad datastream cannot cause problems (#701 )
* Ensure a bad datastream cannot cause problems
* Formatting
* Formatting
* update Polkadot (to 0.9.11 169bab55d)
* bump spec versions
* Allow Queries and Subscriptions
Fixes
Formatting
* fix build
* make fmt happy
* statemint imports
* slight naming changes in script
* add shell genesis data + wasm + chainspec
* adjust generated shell spec with production config values
* update Substrate and Polkadot to master
* fix deps
* swap out bootnodes for statemint shell
* add a script for verifying the shell chain spec
* add sha checksum for head data
* remove verification script
* remove hex wasm file
* update Substrate and Polkadot again and fix compilation
* update and fix lock file
* formatting
* remove redundant dispatch_as weight
Co-authored-by: Bastian Köcher <info@kchr.de >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
Co-authored-by: Gav Wood <gavin@parity.io >
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
Co-authored-by: Bryan Chen <xlchen1291@gmail.com >
Co-authored-by: joepetrowski <joe@parity.io >
2021-11-08 15:52:47 +01:00
Bernhard Schuster
edac78d03c
availability recovery type name clarifications ( #4203 )
...
* minor changes
* fmt
* rename to expressive types
* chore: fixup
* chore: remove `Data` prefixes
* address review comments
* guide items
* sourcer -> source, add `FromValdiators` suffix
2021-11-08 13:43:23 +00:00
Koute
a7e3d819f8
Refactor sp-sandbox; make sure both sandbox executors are always tested ( #10173 )
...
* sp-sandbox: convert executors into normal `mod`s instead of using `include!`
* sp-sandbox: run `cargo fmt` on `host_executor.rs`
* sp-sandbox: abstract away the executors behind traits
* sp_sandbox: always compile both executors when possible
* sc-executor: make sure all sandbox tests run on both sandbox executors
* sc-executor: fix brainfart: actually call into the sandbox through the trait
* sc-runtime-test: fix cargo fmt
* sc-runtime-test: deduplicate executor-specific sandbox test entrypoints
* sc-executor: test each sandbox executor in a separate test
* cargo fmt (Github's conflict resolving thingy broke indentation)
2021-11-08 12:52:11 +00:00
Hernando Castano
1193a5554b
Update bridge/ codeowners ( #4222 )
...
* Update `bridge/` codeowners
* Adding Andreas to the party
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
2021-11-08 11:21:14 +00:00
Arkadiy Paronyan
fe36fe85d1
Speedup block import ( #10211 )
2021-11-08 09:42:48 +00:00
dependabot[bot]
bc938cfb1a
Bump lru from 0.6.6 to 0.7.0 ( #10194 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.6.6 to 0.7.0.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases )
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.6.6...0.7.0 )
---
updated-dependencies:
- dependency-name: lru
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>
2021-11-08 00:31:11 +01:00
Liu-Cheng Xu
63d2ff0c36
Add serde support for Slot type ( #10204 )
...
Add serde support for the `Slot` type as we'd like to use it directly in our RPC.
2021-11-07 23:29:51 +00:00
Kian Paimani
937b6f246e
put TryInto and TryFrom in sp_std::prelude ( #10183 )
...
* Switch to Rust 2021
* Update trybuild to fix errors
* half baked
* fix
* remove unused import
* remove more warnings
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-11-08 00:24:53 +01:00
cheme
ca5b07243f
Fast sync child trie support. ( #9239 )
...
* state machine proofs.
* initial implementation
* Remove todo.
* Extend test and fix import.
* fix no proof, with proof ko.
* fix start at logic.
* Restore response size.
* Rework comments.
* Add explicit ref
* Use compact proof.
* ref change
* elaborato on empty change set condition.
* KeyValueState renaming.
* Do not add two time child trie with same root to sync reply.
* rust format
* Fix merge.
* fix warnings and fmt
* fmt
* update protocol id to V2
2021-11-07 13:13:02 +00:00
Alan Sapede
7827dbb73c
Adds block production time in logs ( #10205 )
2021-11-06 16:49:53 +00:00
Niklas Adolfsson
b5583c26b6
fix(staking miner): use StorageKey in getStorage ( #4231 )
...
Use `StorageKey` in the rpc call `getStorage` instead of `[u8;32]`
2021-11-06 07:16:00 +00:00
dependabot[bot]
d99bb13ad9
Bump strum_macros from 0.21.1 to 0.22.0 ( #10200 )
...
Bumps [strum_macros](https://github.com/Peternator7/strum ) from 0.21.1 to 0.22.0.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum_macros
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>
2021-11-06 05:48:41 +00:00
dependabot[bot]
27c1fe8718
Bump syn from 1.0.80 to 1.0.81 ( #10182 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.80 to 1.0.81.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.80...1.0.81 )
---
updated-dependencies:
- dependency-name: syn
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>
2021-11-05 15:51:54 +01:00
Koute
8c2216c8cd
Remove unnecessary allocations when crossing WASM FFI boundary ( #10191 )
2021-11-05 12:52:34 +00:00
Florian Franzen
6b9d1176b1
Remove old Cargo.toml ( #10188 )
2021-11-05 11:26:49 +00:00
dependabot[bot]
823674314f
Bump wasmi from 0.9.0 to 0.9.1 ( #10116 )
...
Bumps [wasmi](https://github.com/paritytech/wasmi ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/paritytech/wasmi/releases )
- [Commits](https://github.com/paritytech/wasmi/compare/v0.9.0...v0.9.1 )
---
updated-dependencies:
- dependency-name: wasmi
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>
2021-11-05 11:11:28 +00:00
dependabot[bot]
b48d721c12
Bump strum from 0.21.0 to 0.22.0 ( #10045 )
...
Bumps [strum](https://github.com/Peternator7/strum ) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum
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>
2021-11-04 19:58:49 +00:00
Bastian Köcher
b08d3017a8
Switch to Rust 2021 ( #10170 )
...
* Switch to Rust 2021
* Update trybuild to fix errors
2021-11-04 19:54:48 +01:00
Dan Shields
9fb9d7b8f0
rm broken rustdoc-header.html ( #10091 )
2021-11-04 19:54:31 +01:00
Anton Gavrilov
bc61fa86f0
Change path for the tests to master ( #4223 )
2021-11-04 18:41:59 +00:00
Shawn Tabrizi
eec45a7232
Companion for dispatch_as ( #715 )
...
* dispatch as companion
* oops, forgot to save file
* Update Cargo.lock
2021-11-04 16:44:18 +00:00
Xiliang Chen
d639d461a5
implement dispatch_as ( #4075 )
...
* support dispatch_as
* add weight
* Update Cargo.lock
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-11-04 17:11:27 +01:00
Xiliang Chen
58a3ab2813
implement dispatch_as ( #9934 )
...
* implement dispatch_as
* fix
* fix
* weight for dispatch_as
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_utility --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/utility/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* fix
* Update frame/utility/src/benchmarking.rs
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
* fix issues
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-11-04 15:34:29 +01:00
Dan Shields
acc835acd3
Update node-template construct_runtime! syntax ( #10155 )
...
* update `construct_runtime!` syntax
* fix build
2021-11-04 13:37:26 +00:00
Bernhard Schuster
ee12f6f51a
minor doc chores ( #4219 )
...
* fix/warn: name is unused, only in debug would be used and but nobody does
* chore: Add better docs to `expansion` and why it exists
* chore: fmt
* Revert "chore: fmt"
This reverts commit 94d39bab5d1553d082a032ab6e31f579316dfa40.
2021-11-04 13:53:09 +01:00
Robert Klotzner
6fde727c93
Fix misleading logs in collator protocol. ( #4201 )
...
* Fix misleading logs in collator protocol.
* Make logs debug again.
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-11-04 12:34:17 +01:00
Guillaume Thiolliere
2755a97fa3
handle doc on type_value ( #10132 )
2021-11-04 10:11:39 +00:00
dependabot[bot]
15406835a8
Bump linregress from 0.4.3 to 0.4.4 ( #10124 )
...
Bumps [linregress](https://github.com/n1m3/linregress ) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/n1m3/linregress/releases )
- [Changelog](https://github.com/n1m3/linregress/blob/master/CHANGELOG.md )
- [Commits](https://github.com/n1m3/linregress/compare/0.4.3...0.4.4 )
---
updated-dependencies:
- dependency-name: linregress
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>
2021-11-03 22:43:23 +00:00
dependabot[bot]
bcbd8d27c4
Bump tokio from 1.12.0 to 1.13.0 ( #4193 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.12.0...tokio-1.13.0 )
---
updated-dependencies:
- dependency-name: tokio
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>
2021-11-03 21:18:10 +01:00
dependabot[bot]
031630a028
Bump directories from 3.0.2 to 4.0.1 ( #10163 )
...
Bumps [directories](https://github.com/soc/directories-rs ) from 3.0.2 to 4.0.1.
- [Release notes](https://github.com/soc/directories-rs/releases )
- [Commits](https://github.com/soc/directories-rs/commits )
---
updated-dependencies:
- dependency-name: directories
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 19:52:41 +00:00