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
Kian Paimani
989809f9a6
More remote tests for bags-list pallet ( #4065 )
...
* Remote test for bags-list in westend
* new tests
* REVAMPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
* reset cargo.lock changes
* revert lock file
* fix
* cargo update -p sp-io
2021-11-03 12:42:56 +00:00
Alexander Samusev
a46fa8461b
Update CI image to the latest rustc ( #10142 )
...
* Update CI image to the latest rustc
* Update rustc error messages
* whitespace
* update test output
* updating compiler errors
* kid's finally learning to read and spots the TRYBUILD=overwrite message.
* undoing a little blessing
* imperfect error msg
* revert ci image to production
Co-authored-by: gilescope <gilescope@gmail.com >
2021-11-03 13:23:32 +01:00
Alexander Samusev
52bcb45a92
Update CI image to use the latest rustc ( #4200 )
...
* Update CI image to use the latest rustc
* Warning is ok about empty enum when no messages
* revert ci image to production
Co-authored-by: gilescope <gilescope@gmail.com >
2021-11-03 12:15:15 +01:00
Bastian Köcher
ffcab0e78a
Offchain: Disable http requests ( #4188 )
...
We don't use any http requests in the polkadot offchain workers.
2021-11-03 12:03:00 +01:00
radupopa2010
05bfc53878
Update SimNet test to the new format ( #4051 )
...
* simnet-v10 update simnet image version
* update config
* update path to js scripts
* use current branch to download config for tests
* use current branch to download config for tests
* temp use simnet-v10
* update also the toml file
* Rework test according to CIHelper format
* Call cihelper script for running tests
* Switch to v12
* Version 13
* simnet v14
* Readme extended
Co-authored-by: Anton Gavrilov <AntonE.Gavrilov@gmail.com >
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io >
2021-11-03 11:34:26 +01:00
dependabot[bot]
c448c23c6e
Bump prost-build from 0.8.0 to 0.9.0 ( #10162 )
...
Bumps [prost-build](https://github.com/tokio-rs/prost ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: prost-build
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 10:29:16 +00:00
Pierre Krieger
281d58cb0d
Add a trie_root_hash variant for chain specs genesis ( #10140 )
...
* Add a `hash` variant for chain specs
* Add doc
* Rename to TrieRootHash
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Rustfmt
* More cargo fmt I guess
* Ok I have to use nightly cargo fmt
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-11-03 10:12:50 +01:00
Chevdor
78bcd6a222
Bump subwasm version ( #716 )
2021-11-03 10:10:35 +01:00
dependabot[bot]
07389ebab9
Bump libc from 0.2.105 to 0.2.106 ( #4194 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.105 to 0.2.106.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.105...0.2.106 )
---
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-03 00:01:02 +01:00
Chevdor
c7dae2a720
Update GHA to s3krit/matrix-message-action@v0.0.3 + doc ( #4030 )
2021-11-02 22:34:49 +01:00
dependabot[bot]
9d03507c3f
Bump dlmalloc from 0.2.1 to 0.2.2 ( #4205 )
...
Bumps [dlmalloc](https://github.com/alexcrichton/dlmalloc-rs ) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/alexcrichton/dlmalloc-rs/releases )
- [Commits](https://github.com/alexcrichton/dlmalloc-rs/compare/0.2.1...0.2.2 )
---
updated-dependencies:
- dependency-name: dlmalloc
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-02 22:34:14 +01:00
Arkadiy Paronyan
63289ce084
Bump parity-db ( #10151 )
2021-11-02 22:21:39 +01:00
Kian Paimani
fff22d9a34
add missing version to dependencies ( #10148 )
2021-11-02 20:24:00 +00:00
Guillaume Thiolliere
20c9afcdc1
Better error for when origin filter prevent the call to be dispatched ( #10134 )
...
* better error
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* remove unused
* fix error
* fmt
* fix tests
* fmt
* Update frame/contracts/src/exec.rs
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
* fix typo
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
2021-11-02 14:20:00 +00:00
Gavin Wood
977cf450b3
Spelling ( #10154 )
2021-11-02 14:09:40 +00:00
cheme
471e9cfbf1
Hashing proc macro utils ( #9875 )
...
* hashing macro
* fmt
* use in easy place, and fix blake sizes
* fix
* Fixes, docs.
Allow ident as input.
* fix doc tests
* update error in test (nmapkey and key are same type).
* hashing crates under sp_core
* Doc updates and format.
* use all existing hashing functions.
* return array of u8
* Update primitives/core/hashing/proc-macro/src/impls.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* ToTokeen for an array of u8
* fix
* re
* Improve impls
* complete doc tests
* fmt
* fix doctest format
* fix ui test (nmap key type alias)
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-11-02 09:35:23 +00:00
Albrecht
098815948a
don't panic if already migrated ( #10141 )
...
* don't panic if already migrated
* remove condition
2021-11-02 09:27:44 +00:00
Kian Paimani
bba9cfd8a2
introduce remote-tests for pallet-bags-list ( #10036 )
...
* make a few primitives in bags-list public
* push new stuff
* update
* update log target
* bring remote tests here
* revert pub
* Update frame/bags-list/remote-tests/Cargo.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* some rev commnets
* Fix
* cleanup
* Update Cargo.lock
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-11-01 14:41:38 +00:00
icodezjb
7f1bff9462
Speed up big chainspec json(~1.5 GB) load ( #10137 )
...
* Speed up chainspec json load
* Update client/chain-spec/src/chain_spec.rs
* Update client/chain-spec/src/chain_spec.rs
* Update client/chain-spec/src/chain_spec.rs
* Load the chainspec through `mmap`
Co-authored-by: icodezjb <icodezjb@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Jan Bujak <jan@parity.io >
2021-11-01 12:58:18 +00:00
Arkadiy Paronyan
710265a4f8
Fix transaction pool rejection ( #10138 )
...
* Fix transaction rejection
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-11-01 09:17:50 +00:00
Koute
8c2ea19085
Strip out control codes from the logged messages ( #10081 )
...
* Strip out control codes from the logged messages
* Also strip away C1 control codes
* Add extra comments
* Clear the buffer after flushing; rename `write` to `flush`
* Move control code stripping into its own function
* Also strip out control codes from panic messages
* Also strip out Unicode left-to-right/right-to-left control codes
2021-11-01 08:46:32 +00:00
Andronik Ordian
77cf73c1b1
bump rococo spec ( #4189 )
...
* bump rococo spec_version
* replace the spec file
* bump rococo chain id
* use rococo-staging
2021-10-31 23:52:16 +00:00
Zeke Mostov
21c8d18c23
Fuzzer for Pallet Bags List ( #9851 )
...
* Fuzzer for Pallet Bags List
* Some small updates
* Fuzzer for Pallet Bags List
This PR adds a fuzzer for the `SortedListProvider` API exposed by pallet-bags-list.
* Feature gate code NOT used by fuzz feature
* Create Enum for list actions
* fix some small mistakes
* try and make CI happy
* fmt
* Do not insert before updating
* clean up some misc. comments
* marginally improve Node::sanity_check
* Change ID_RANGE to 25_000
* comma
* try improve correct feature gating so no unused code
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-10-31 21:10:13 +00:00
Bastian Köcher
47c7447106
Offchain-worker: Make it possible to disable http support ( #10087 )
...
* Offchain-worker: Make it possible to disable http support
If a chain doesn't require http support in its offchain workers, this pr enables them to disable the
http support.
* Switch to bitflags
* Use Capabilities
* Update client/offchain/src/lib.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* Fix test
* Update client/offchain/src/lib.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
2021-10-31 19:13:19 +01:00
Guillaume Thiolliere
4292e18e50
Automatic pallet parts in construct_runtime ( #9681 )
...
* implement automatic parts
* ui tests
* rename
* remove unnecessary exclude
* better doc
* better doc
* fix genesis config
* fix UI tests
* fix UI test
* Revert "fix UI test"
This reverts commit a910351c0b24cfe42195cfd97d83a416640e3259.
* implemented used_parts
* Update frame/support/procedural/src/construct_runtime/mod.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* doc + fmt
* Update frame/support/procedural/src/construct_runtime/parse.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* add doc in the macro
* remove yet some more parts
* fix ui test
* more determnistic error message + fix ui tests
* fix ui test
* Apply suggestions from code review
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* do refactor + fix ui tests
* fmt
* fix test
* fix test
* fix ui test
* Apply suggestions from code review
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* refactor
* remove even more part in node-runtime
* fix test
* Add flow chart for the construct_runtime! execution flow
* Fix typo
* Ignore snippets that don't contain code
* Refactor some code in expand_after
* Rename expand_after to match_and_insert
* cargo fmt
* Fix rename
* Remove frame_support argument to construct_runtime_parts
* Make use of tt-call to simplify intermediate expansions
* cargo fmt
* Update match_and_insert documentation
* Reset cursor to 0 when no matching patterns are found
* Reorder struct fields on MatchAndInsertDef
* Add test for dependency renames and fix frame-support import
* Add more doc comments
* Update frame/support/test/compile_pass/src/lib.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-10-31 13:55:10 +00:00
Guillaume Thiolliere
d515116f91
Udpate polkadot substrate ( #713 )
...
* udpate polkadot substrate
* fmt with latest nightly
2021-10-31 13:45:54 +00:00
Guillaume Thiolliere
0214fde9a6
fix query details ( #10107 )
2021-10-31 10:36:26 +00:00
Andronik Ordian
f52bd38215
collator-protocol/validator_side: a couple of fixes ( #4179 )
...
* collator-protocol/validator: do not wait 1s to poll requested collations
* collator-protocol/validator: do not request collation for the next group
* put everything into select
* fmt
* more hacks yay
* a test
* review nits
* remove outdated comment
2021-10-30 14:20:48 -05:00
Alexander Popiak
dd695f7ace
remove duplicate Deposit from OnUnbalanced implementation ( #4180 )
...
closes https://github.com/paritytech/polkadot/issues/4133
2021-10-30 18:39:04 +02:00
Bernhard Schuster
0b5d1802a1
differentiate log messages ( #4183 )
2021-10-30 16:17:25 +00:00
Cheng JIANG
32c7ad8137
increase ump_service_total_weight's default value ( #4127 )
...
* increase ump_service_total_weight's default value to be the same with kusama
* remove comment
2021-10-30 17:42:37 +02:00
Squirrel
5a760f13e8
companion PR to removal of light client ( #4105 )
...
* not needed
* cargo fmt
* remove light-node
* make full-node feature mandatory?
* cargo fmt
* Revert "cargo fmt"
This reverts commit 5a2c7d850047466ed902faf673b779a2e02dfed2.
* Revert "make full-node feature mandatory?"
This reverts commit c35eb4fa399e43d29a10c83187cc39b9c74f1feb.
* bump versionn numbers
* Update bridges/primitives/chain-westend/src/lib.rs
* fix typo + expand dictionary
* update lockfile for substrate
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2021-10-30 13:18:14 +00:00
Bastian Köcher
2237b43f0a
pallet-utility: Fix possible mismatch between native/wasm ( #10121 )
...
* pallet-utility: Fix possible mismatch between native/wasm
The `batched_calls_limit` constant value includes the `size_of` of the runtime `Call`. As we compile
the runtime for native/wasm, we need to align the call size to ensure that it is the same on
wasm/native. This also solves the problem of different metadata outputs for the same runtime.
* Review feedback
2021-10-30 15:09:56 +02:00
Shawn Tabrizi
2d556c4429
Add Baseline FRAME Benchmarks ( #9691 )
...
* create and add baseline
* fix import
* try a different name
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_benchmarking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/benchmarking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_benchmarking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/benchmarking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_benchmarking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/benchmarking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* increase repeats
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_benchmarking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/benchmarking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* Update baseline.rs
* Update baseline.rs
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_benchmarking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/benchmarking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_benchmarking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/benchmarking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_benchmarking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/benchmarking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_benchmarking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/benchmarking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* improve hash benchmark
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_benchmarking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/benchmarking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_benchmarking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/benchmarking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_benchmarking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/benchmarking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_benchmarking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/benchmarking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Parity Bot <admin@parity.io >
2021-10-30 13:02:09 +00:00
Squirrel
744bc44de2
Removal of light client from substrate ( #9684 )
...
* Removal of light client from substrate
* add missing import
* These tests relate to there being light and non light clients.
* removing lightnodes from test
* cargo fmt
* not needed
* LightDataChecker not needed any longer
* cargo fmt
* Update client/service/test/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/service/test/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* cargo fmt
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-10-30 12:38:27 +00:00
Alexander Theißen
0fd676594a
contracts: Fix account counter isn't persisted ( #10112 )
...
* Add test to check account counter persistence
* Fix bug that account counter wasn't properly persited
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Parity Bot <admin@parity.io >
2021-10-30 09:13:18 +00:00
Bastian Köcher
b171f6fbcd
Update Substrate & Polkadot ( #709 )
...
* Update Substrate & Polkadot
* FMT
2021-10-30 01:17:48 +02:00
Bastian Köcher
e0d6b95a90
Introduce OriginPrivilegeCmp ( #4166 )
...
* Introduce `OriginPrivilegeCmp`
Make use of the new `OriginPrivilegeCmp` feature of pallet scheduler.
The idea is to make sure that a council origin with more yes votes has
higher privileges than a council origin with less yes votes. This solves
a problem that happened recently on Kusama where the council tried to
cancel a scheduled task, but that required that the same council origin
was used while the cancel motion had more yes votes than the origin
motion that scheduled this task. With this origin privilege compare it
should now be solved by checking the yes votes directly.
* Feedback
* update lockfile for substrate
Co-authored-by: parity-processbot <>
2021-10-29 16:53:32 +00:00
Bastian Köcher
95b8fd61c3
pallet-scheduler: Introduce OriginPrivilegeCmp ( #10078 )
...
* pallet-scheduler: Introduce `OriginPrivilegeCmp`
When a scheduled task should be canceled, the origin that tries to
cancel the task is compared to the origin the task should be executed
with. Before this pr this check only allowed that both origins are
equal. However, this is problematic as this means that for example a
council origin it needs to be have the same amount of yes votes to
cancel the scheduled task. While a council origin with more yes votes
should be able to cancel this task. This happened recently on Kusama and
lead to a failed cancelation of a scheduled task. With this pr the two
origins are compared and the cancelling origin needs to have greater or
equal privileges as the origin that scheduled the task. What a greater,
equal or less privilege is, can be configured in the runtime.
For simplicity, a `EqualPrivilegeOnly` implementation is provided that
only checks if two origins are equal. So, this mimics the old behaviour.
* FMT
* fix import
* Small optimizations
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-10-29 16:00:49 +00:00
Andronik Ordian
7b1ee41c95
bump finality safety net depth to 500 blocks ( #4178 )
2021-10-29 13:07:10 +00:00
Liu-Cheng Xu
c30233ab13
Remove useless WeightInfo in pallet-offences ( #10114 )
2021-10-29 14:42:51 +02:00
dependabot[bot]
7444d93d20
Bump trybuild from 1.0.50 to 1.0.52 ( #4156 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.50 to 1.0.52.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.50...1.0.52 )
---
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>
2021-10-29 12:19:47 +02:00
dependabot[bot]
277d74fbb2
Bump libc from 0.2.103 to 0.2.105 ( #10115 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.103 to 0.2.105.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.103...0.2.105 )
---
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-10-29 10:18:33 +00:00
Qinxuan Chen
825dbdada3
Remove stale migrations ( #4171 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-10-28 14:34:28 +00:00
Andronik Ordian
9d4efa340e
enable disputes feature in CI ( #4168 )
2021-10-28 08:40:13 -05:00
Bernhard Schuster
3c72f213ad
fix: chain sel + av-store error handling ( #4159 )
...
* fix: error handling
* more error handling
* fixup
* fixup
* fixup name
* fixup
* simplify
* spelling, docs
2021-10-28 09:47:00 +00:00
zjb0807
c3d6ebe61a
implement GenesisConfig for pallet-xcm ( #4125 )
...
* implement GenesisConfig for pallet-xcm
* Apply review suggestions
2021-10-28 09:16:45 +00:00