Andronik
69af87a199
more verbose assignment cert errors ( #5433 )
...
* more verbose assignment cert errors
* rename a variant to InvalidAssignmentKey
2022-05-04 14:45:11 +02: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
Web3 Smith
fd45676d11
Update MMR Runtime API with functionality to generate MMR proof for a series of leaf indices ( #10635 )
...
* updated mmr rpc api with functions for batch generation of proof
* update code comments
* fix build errors
* added tests to mmr-rpc
* add tests to pallet-mmr
* update comments
* minor comment fix
* remove unused variables
* fix rust doc errors
* refactor mmr runtime api
* fix tests
* minor fix
* minor fix
* fix node-runtime
* revert to initial api
* impl from proof fot batchproof
* minor fix
* minor fix
* use explicit functions to convert btw batch proof and single proof
* minor fix
* add new variant to mmr error
* fmt
* update conversion to single leaf proof
* fix style nit
Co-authored-by: Adrian Catangiu <adrian@parity.io >
2022-05-04 10:40:11 +00:00
Bastian Köcher
82adb65f1b
sc-network: Do not return error on peer id only reserved nodes ( #11346 )
...
When passing reserved nodes only with a peer id it was failing with the `DuplicateBootnode` error.
Besides that there are some clean ups. We for example added the bootnodes twice to the `known_addresses`.
2022-05-04 12:15:11 +02:00
Adrian Catangiu
1e2424ec4b
BEEFY voter bugfixes ( #11335 )
...
* beefy: gadget should always use current validator set
The gadget/client-voter was using previous' session validator set
to sign the 1st block in the new session (to have chained validator
set handoffs).
This is not necessary because:
1. BEEFY piggy-backs on GRANDPA and only works on canonical chain,
so it need not concern itself with the validity of the block header
(which contains digest with the new session's validator set). It
can safely assume header is valid and simply use new validator set.
2. The BEEFY payload itself already contains a merkle root for the
next validator set keys. So at the BEEFY-payload layer we already
have a validated/trusted hand-off of authority.
Signed-off-by: acatangiu <adrian@parity.io >
* beefy: buffer votes for not yet finalized blocks
Signed-off-by: acatangiu <adrian@parity.io >
* beefy: add buffered votes regression test
2022-05-04 09:36:52 +00:00
Alexander Gryaznov
9fd4df9ccf
[contracts] stabilize seal_code_hash, seal_set_code_hash and seal_own_code_hash ( #11337 )
...
* stabilize seal_code_hash, seal_set_code_hash, seal_own_code_hash
* fix missed place found by CI
* Fixed missed __unstable__
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
2022-05-04 10:35:30 +03:00
Shawn Tabrizi
e8c688e301
Update docs ( #11313 )
...
* Update docs
* Update primitives/runtime/src/traits.rs
* Update primitives/runtime/src/traits.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-05-04 00:54:08 +00:00
dependabot[bot]
990f8fc147
Bump log from 0.4.16 to 0.4.17 ( #1235 )
...
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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 02:19:08 +02:00
Shawn Tabrizi
dde3a74102
bump sp-io and parity-db
2022-05-04 02:00:17 +02:00
Shawn Tabrizi
6d6f1e173b
Update Pallet Bags List to use ListError ( #11342 )
...
* extract list error changes from kiz-revamp-sorted-list-providers-2-approval-stake
* some fixes
* weight -> score
* Update tests.rs
* Update tests.rs
* more fixes
* remove score updated event
* Update frame/bags-list/src/lib.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-05-03 23:13:58 +01:00
Bastian Köcher
7e49426df3
Update Substrate & Polkadot ( #1234 )
2022-05-03 16:49:25 +02:00
Nazar Mokrynskyi
e397e0b634
Network sync refactoring (part 2) ( #11322 )
...
* Move `api.v1.proto` schema into new crate `sc-network-sync`
* Move `sc_network::protocol::sync::state` module into `sc_network_sync::state`
* Move `sc_network::protocol::sync::blocks` module into `sc_network_sync::blocks` and some data structures from `sc_network::protocol::message` module into `sc_network_sync::message`
* Move some data structures from `sc_network::config` and `sc_network::request_responses` into new `sc-network-common` crate
* Move `sc_network::protocol::sync::warm` and `sc_network::warp_request_handler` modules into `sc_network_sync`
* Move `client/network/sync/src/lib.rs` to `client/network/sync/src/lib_old.rs` to preserve history of changes of the file in the next commit
* Move `client/network/src/protocol/sync.rs` on top of `client/network/sync/src/lib.rs` to preserve history of changes
* Move `sc_network::protocol::sync` to `sc_network_sync` with submodules, move message data structures around accordingly
* Move `sc_network::block_request_handler` to `sc_network_sync::block_request_handler`
* Move `sc_network::state_request_handler` to `sc_network_sync::state_request_handler`
* Add re-exports for compatibility reasons
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-05-03 15:55:26 +02:00
dependabot[bot]
e95d8678f2
Bump clap from 3.1.12 to 3.1.15 ( #1231 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.12 to 3.1.15.
- [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.12...v3.1.15 )
---
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-05-03 13:41:45 +00:00
Robert Klotzner
8dbc4d8a6e
Reduce log verbosity ( #5440 )
...
* Reduce log verbosity
* Update node/network/availability-recovery/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
Co-authored-by: Andronik <write@reusable.software >
2022-05-03 14:04:07 +02:00
dependabot[bot]
23c30b2b2a
Bump parity-db from 0.3.9 to 0.3.12 ( #11340 )
...
Bumps [parity-db](https://github.com/paritytech/parity-db ) from 0.3.9 to 0.3.12.
- [Release notes](https://github.com/paritytech/parity-db/releases )
- [Commits](https://github.com/paritytech/parity-db/commits/v0.3.12 )
---
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-05-03 13:05:45 +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
Qinxuan Chen
7ff70c6477
sc-network: update cid v0.6.0 => v0.8.4 ( #11325 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-05-03 12:23:37 +02:00
dependabot[bot]
b093221c4f
Bump tokio from 1.18.0 to 1.18.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.18.0...tokio-1.18.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-03 09:59:10 +00:00
dependabot[bot]
e2fe3760dd
Bump syn from 1.0.91 to 1.0.92 ( #1227 )
...
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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-03 09:40:53 +00:00
dependabot[bot]
a5d808b8ac
Bump thiserror from 1.0.30 to 1.0.31 ( #1230 )
...
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-03 10:56:41 +02:00
dependabot[bot]
cb89ef2d30
Bump serde from 1.0.136 to 1.0.137 ( #1229 )
...
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:55:52 +02:00
Roy Yang
084e0f37a4
Added RuntimeDebug derive to enums in frame_support::tokens::misc ( #11211 )
...
Co-authored-by: Roy Yang <roy@laminar.one >
2022-05-03 00:17:14 +02:00
Sergejs Kostjucenko
d54e3f7cb7
remove vault from ci ( #5420 )
2022-05-03 00:11:15 +03:00
Robert Klotzner
2bbae6e6ef
Increase timeout, as it seems to be hit on CI ( #5427 )
...
occasionally.
If this keeps being a problem, we might also increase the channel size:
https://github.com/paritytech/polkadot/blob/49f7e5cce45c44b6fcbad3c612b92657eb7a52df/node/subsystem-test-helpers/src/lib.rs#L239
2022-05-02 12:50:35 +02:00
Ikko Ashimine
b61cfe8be9
Uniques: fix typo in README.md ( #11329 )
...
existance -> existence
2022-05-02 10:23:53 +00:00
Andronik
6bfa097142
make spellcheck green again ( #5428 )
2022-05-02 10:20:45 +02:00
asynchronous rob
a641ba1e7a
have av-store bail when recv() fails ( #5418 )
2022-05-01 15:22:23 +00:00
Shawn Tabrizi
e1e4894154
add missing features to node-template-runtime ( #11326 )
2022-04-30 23:49:57 +02:00
Falco Hirschenberger
b581604aa7
Apply some clippy lints ( #11154 )
...
* Apply some clippy hints
* Revert clippy ci changes
* Update client/cli/src/commands/generate.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/cli/src/commands/inspect_key.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/db/src/bench.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/db/src/bench.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/service/src/client/block_rules.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/service/src/client/block_rules.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/network/src/transactions.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/network/src/protocol.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Revert due to missing `or_default` function.
* Fix compilation and simplify code
* Undo change that corrupts benchmark.
* fix clippy
* Update client/service/test/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/state-db/src/noncanonical.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/state-db/src/noncanonical.rs
remove leftovers!
* Update client/tracing/src/logging/directives.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update utils/fork-tree/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* added needed ref
* Update frame/referenda/src/benchmarking.rs
* Simplify byte-vec creation
* let's just not overlap the ranges
* Correction
* cargo fmt
* Update utils/frame/benchmarking-cli/src/shared/stats.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update utils/frame/benchmarking-cli/src/pallet/command.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update utils/frame/benchmarking-cli/src/pallet/command.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Giles Cope <gilescope@gmail.com >
2022-04-30 21:28:27 +00:00
yjh
a990473cf9
import Vec when run on no_std for wasmi ( #11319 )
...
* import Vec when run on no_std for wasmi
* cargo fmt
2022-04-30 06:11:15 +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
6a8acd4273
Companion for substrate#11009 ( #1221 )
...
* Downgrade zeroize to v1.4.3
* Update Substrate & Polkadot
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-04-29 23:42:38 +02:00
Nazar Mokrynskyi
af6773aba9
Network sync refactoring (part 1) ( #11303 )
...
* Remove unnecessary imports, move one internal re-export into where it is actually used, make one import explicit
* Move a few data structures down into modules
* Use generic parameters in `sc-network` instead of `chain::Client` trait
* Remove unnecessary bound
2022-04-29 16:02:03 +02:00
asynchronous rob
5142bb98bc
break provisioner/candidate-backing cycle ( #5419 )
2022-04-29 14:00:42 +00: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
Roman
887acda7d0
Upgrade to libp2p 0.44.0 ( #11009 )
...
* Update libp2p to 0.43.0, lru to 0.7.3
* Fix websoket Incoming::Data
* Rename ProtocolsHandler -> ConnectionHandler, remove inject_dis/connected, minor fixes
* Fix args for inject_connection* callbacks
* Fix DialPeer/DialAddress
* Fix debug fmt
* Add Endpoint to NetworkState
* Fix Kad::get_record by key
* Fix Sha2_256::digest
* Fix IntoConnectionHandler
* Fix borrowchk
* Fix DialError::WrongPeerId
* Remove NodeHandlerWrapperError
* Fix KademliaEvent variants
* Fix impl Add for String
* Fix tabs in network_state
* Apply cargo fmt
* Fix a typo in req/resp
* Fix tests
* Fix peer_info:entry.info_expire
* Fix PeerInfoBehaviour inject_address_change and inject_connection_closed
* Patch libp2p to 0.44.0#6cc3b4e
* Fix inject_connection_closed kad, req/resp
* Apply cargo fmt
* Use libp2p from crates.io
* Fix review notes
2022-04-29 10:49:05 +02:00
Qinxuan Chen
51915ebe4a
Remove deprecated RawEvent types from some pallets ( #11316 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-04-29 08:28:17 +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
Bisola Olasehinde
aaf693f05a
Replace simple parameter_types ( #11254 )
...
* update bin/node-template/runtime/src/lib.rs
* update frame/contracts/src/tests.rs
* update frame/executive/src/lib.rs
* update frame/grandpa/src/mock.rs
* update frame/im-online/src/mock.rs
* update frame/offences/benchmarking/src/mock.rs
* update frame/recovery/src/mock.rs
* update frame/referenda/src/mock.rs
* update frame/session/benchmarking/src/mock.rs
* update frame/staking/src/mock.rs
* update frame/state-trie-migration/src/lib.rs
* update frame/support/test/compile_pass/src/lib.rs
* frame/treasury/src/tests.rs
* update frame/whitelist/src/mock.rs
* update frame/vesting/src/mock.rs
* update test-utils/runtime/src/lib.rs
* update bin/node-template/runtime/src/lib.rs
* Update frame/grandpa/src/mock.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* resolve failed checks 1518659 & 1518669
* resolve format check
* backtrack to resolve compile error
* check --all --tests ✅
* cargo +nightly fmt ✅
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-04-29 02:25:50 +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
dependabot[bot]
b0bfbbbc04
Bump ss58-registry from 1.15.0 to 1.17.0 ( #11265 )
...
Bumps [ss58-registry](https://github.com/paritytech/ss58-registry ) from 1.15.0 to 1.17.0.
- [Release notes](https://github.com/paritytech/ss58-registry/releases )
- [Changelog](https://github.com/paritytech/ss58-registry/blob/main/CHANGELOG.md )
- [Commits](https://github.com/paritytech/ss58-registry/compare/v1.15.0...v1.17.0 )
---
updated-dependencies:
- dependency-name: ss58-registry
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>
Co-authored-by: Giles Cope <gilescope@gmail.com >
2022-04-28 17:57:02 +02:00
Davide Galassi
bbdfc3d9c6
Chain-selection subsystem data revert ( #5350 )
...
* Chain-selection subsystem data revert
* Cargo fmt
* Better code comments
* Remove unwraps
* Document public method
* Remove duplicated 'ChainSelectionSubsystem' impl block
* Fix typos
* Nitpicks
* Revert returns a service Error
* Removed superflous error handling
* Apply suggestions from code review
* Rename tree 'revert' to 'revert_to'
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
2022-04-28 17:44:14 +02:00
Robert Klotzner
ac23b3f96c
Quick'n dirty Versi chainspec config. ( #5412 )
...
* Quick'n dirty Versi chainspec config.
* Right order
* Fix wrong variable usage
* Fix weird typo.
* Update node/service/src/chain_spec.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-04-28 17:10:14 +02:00
Koute
cd0bfea42d
Bump tempfile to 3.3.0 ( #1179 )
2022-04-28 14:23:04 +00:00
yjh
e1185c317f
make sp-wasm-interface some wasmi impls works in no_std ( #11310 )
2022-04-28 16:12:56 +02:00
Pierre Besson
6a0c11d03c
update Rococo chainspec JSON to v2_2 ( #5407 )
2022-04-28 14:54:56 +02:00
Joshua W
e0ff652a48
Companion for #11025 (Uniques Locker Trait) ( #1085 )
...
* Add Locker trait to pallet_uniques
* update lockfile for {"substrate"}
* Updated lock file to latest master substrate and polkadot
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Giles Cope <gilescope@gmail.com >
Co-authored-by: parity-processbot <>
2022-04-28 12:10:52 +00:00
Adrian Catangiu
0d73371bb8
pallet-beefy: ensure mandatory block once per session ( #11269 )
...
* pallet-beefy: ensure mandatory block once per session
Signed-off-by: acatangiu <adrian@parity.io >
* pallet-beefy: fix tests with auth changes every session
Signed-off-by: acatangiu <adrian@parity.io >
* Apply suggestions from code review
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
* beefy: fix incorrect skip session metric on node restart
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
2022-04-28 11:19:32 +00:00
Joshua W
21341f35e2
Dependency Injection Trait Locker for Uniques Pallet ( #11025 )
...
* Create a dependency injection trait named Locker that can be implemented downstream to enable locking of an asset. Use case defined in RMRK substrate pallet PR76
* Formatting
* Change impl Locker function name to is_locked
* Remove unused import
* Add docstring header
* Remove impl_locker file and add Locker trait to frame_support::traits
* Expose Locker from frame_support::traits::misc
* Formatting
* Move to tokens folder
* Move to tokens folder
* Format and remove Locker from misc traits
* Punctuation
* Update frame/support/src/traits/tokens/misc.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Giles Cope <gilescope@gmail.com >
2022-04-28 11:05:18 +00:00
dependabot[bot]
d2705b049a
Bump tokio from 1.17.0 to 1.18.0 ( #1220 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.18.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>
2022-04-28 10:56:12 +02:00