Andrew Jones
e0742bcd6d
contracts: Add event field names ( #9896 )
...
* Add struct variant fields to contract Event
* Update comments and usages
* Fmt
2021-09-30 08:12:25 +00:00
Dan Shields
817d0d26d5
subkey readme update on install ( #9900 )
...
Instructions are more detailed on devhub, ported to the README.
2021-09-30 03:54:45 +00:00
Keith Yeung
819849f097
Make most XCM APIs accept an Into<MultiLocation> where MultiLocation is accepted ( #3627 )
...
* Change send_xcm MultiLocation argument to be generic
* Change pallet_xcm::send_xcm MultiLocation and Junctions argument to be generic
* Change convert_origin MultiLocation argument to be generic
* Change OnResponse MultiLocation arguments to be generic
* Change UniversalWeigher MultiLocation argumente to be generic
* Change ExecuteXcm MultiLocation argument to be generic
* Remove usages of into for the MultiLocation argument in execute_xcm
* Make use of generic MultiLocation arguments in rustdocs
* Cargo fmt
* Remove unused import in tests
* Resolve conflicts
* cargo fmt
* Appease spellcheck
* impl Into<MultiLocation> in more places
2021-09-29 23:24:49 +00:00
Andronik Ordian
7542a73f12
fix disputes tests ( #3974 )
2021-09-29 23:23:04 +02:00
Robert Habermeier
b6a87891ac
Drop availability only for candidates that lose disputes ( #3973 )
...
* guide: updates for disputes changes
* paras_inherent: drop availability only for candidates that lose disputes
* spellcheck
* Update runtime/parachains/src/paras_inherent.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-09-29 20:33:16 +00:00
Éloïs
6898e8416b
add feature wasmtime-jitdump ( #9871 )
...
* add feature wasmtime-jitdump
* remove unwrap
* always enable wasmtime/jitdump feature
* env WASMTIME_PROFILING_STRATEGY: retun an error for unknown value
* Add doc for env var WASMTIME_PROFILING_STRATEGY
* Update client/executor/wasmtime/Cargo.toml
Co-authored-by: Sergei Shulepov <s.pepyakin@gmail.com >
* warning instead of error
* Update client/executor/wasmtime/src/runtime.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* update doc: unknown value cause warning instead of error
* log warning only once
* static right next to the usage
Co-authored-by: Sergei Shulepov <s.pepyakin@gmail.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-09-29 22:10:12 +02:00
Andronik Ordian
f66440dc19
revert +1 change to be on the safer side ( #3972 )
2021-09-29 19:24:12 +00:00
Andronik Ordian
019d4e3b99
paras_inherent: reject only candidates with concluded disputes ( #3969 )
...
* paras_inherent: reject only candidates with concluded disputes
* remove unused Error variant
2021-09-29 13:58:04 -05:00
Bernhard Schuster
3c8e8637ff
feat: measured oneshots ( #3902 )
...
* overseer: remove mut in connector
* monitored oneshots
* fmt
* remove debug log
* Update node/metered-channel/src/oneshot.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update node/metered-channel/src/oneshot.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* avoid two Arcs
* add expects
* alt impl
* rework the measured oneshots
* address review comments, use `Measurable` where possible
* chore/tracing: move `PrettyAuthorities` construction out of tracing macros
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-09-29 16:06:20 +00:00
Bernhard Schuster
c57a1e7934
remove AllSubsystems and AllSubsystemsGen types ( #3874 )
...
* introduce the OverseerConnector, use it
* introduce is_relay_chain to RelayChainSelection
* Update node/service/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* avoid the deferred setting of `is_relay_chain` in `RelayChainSelection`
* positive assertion is not mandated, only the negative one, to avoid a stall
* cleanup: overseer residue
* spellcheck
* fixin
* groundwork to obsolete Overseer::new and AllSubsystemsGen proc-macro
* Now all malus & tests can be ported to the builder pattern.
Obsoletes `Overseer::new`, `AllSubsystemsGen` derive macro, `AllSubsystems`.
* spellcheck
* adjust tests, minor fixes
* remove derive macro AllSubsystemsGen
* add forgotten file dummy.rs
* remove residue
* good news everyone!
* spellcheck
* address review comments
* fixup imports
* make it conditional
* fixup docs
* reduce import
* chore: fmt
* chore: fmt
* chore: spellcheck / nlprules
* fixup malus variant-a
* fmt
* fix
* fixins
* pfmt
* fixins
* chore: fmt
* remove expanded overseer generation
* tracing version
* Update node/network/statement-distribution/src/lib.rs
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
* use future::ready instead
* silence warning
* chore: fmt
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2021-09-29 14:24:56 +00:00
Liu-Cheng Xu
f9de0040c9
Companion for Substrate#9867 ( #3938 )
...
* Companion for Substrate#9867
* Fix finality_target_with_fallback()
* update substrate
Co-authored-by: André Silva <andrerfosilva@gmail.com >
2021-09-29 14:16:50 +00:00
Bastian Köcher
c752b5d61b
Substrate Companion for #9552 ( #3834 )
...
* Prepare for wasmtime 0.29
* update Substrate
* Use Pallet
Co-authored-by: parity-processbot <>
2021-09-29 13:29:33 +00:00
Liu-Cheng Xu
802afa9f22
Return target_hash for finality_target instead of an Option ( #9867 )
...
* .
cargo +nightly fmt --all
* Fix test
* Simplify test
* They are already imported
* Needless clone()
2021-09-29 13:03:09 +00:00
Bastian Köcher
2deed49706
Update wasmtime to 0.29.0 ( #9552 )
...
* Start
* Move to ctx
* Make it compile for now
* More work
* Get rid off state-holder
* Use less Refcells
* 🤦
* Don't use RefCell
* Use names for parameters
* Fixes after merge
* Fixes after merge
* Review feedback
* FMT
2021-09-29 12:30:46 +00:00
Andronik Ordian
d19b1de5f0
CI: run disputes tests ( #3962 )
...
* CI: run disputes tests
* Revert "minor chore changes (#3944 )"
This reverts commit d64394ef59 .
* fix em
* Revert "Revert "minor chore changes (#3944 )""
This reverts commit 02a1ecf3cacb52d6dd467e8f226a69bae651d319.
* Update handle_import_statement function
* fmt
Co-authored-by: Lldenaurois <Ljdenaurois@gmail.com >
2021-09-29 11:19:00 +00:00
Squirrel
e64693933f
Less sleeps ( #9848 )
...
* Less sleeps
* No need to use tokio-test crate
* Less sleep
* Avoid leaving zombie substrates around
(when panicing in tests)
* Remove unused imports
* Incorporating feedback
* rename method
* Use rpc_api
* Update bin/node/cli/tests/temp_base_path_works.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update bin/node/cli/tests/temp_base_path_works.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-09-29 10:55:31 +00:00
Guillaume Thiolliere
f71d87ad28
remove unidiomatic ( #9895 )
2021-09-29 12:44:04 +02:00
dependabot[bot]
c0719034a1
Bump parity-scale-codec from 2.3.0 to 2.3.1 ( #3959 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases )
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/parity-scale-codec/compare/parity-scale-codec-v2.3.0...parity-scale-codec-v2.3.1 )
---
updated-dependencies:
- dependency-name: parity-scale-codec
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-09-29 11:57:24 +02:00
dependabot[bot]
9605a6db3a
Bump smallvec from 1.6.1 to 1.7.0 ( #9894 )
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.6.1...v1.7.0 )
---
updated-dependencies:
- dependency-name: smallvec
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-09-29 09:54:10 +00:00
Andronik Ordian
cb89dfc039
approval-voting: populate session cache in advance ( #3954 )
...
* try populating session cache in advance
* remove unused arg
* fmt
* fix compilation
* fix tests
* Revert "fix tests"
This reverts commit e8222b1108e09a39727a38e3b4e4c3061642a213.
* fix tests
* bump dispute window const by 1
* fix tests
2021-09-29 09:53:44 +00:00
dependabot[bot]
559faf1c61
Bump async-std from 1.9.0 to 1.10.0 ( #9759 )
...
Bumps [async-std](https://github.com/async-rs/async-std ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/async-rs/async-std/releases )
- [Changelog](https://github.com/async-rs/async-std/blob/master/CHANGELOG.md )
- [Commits](https://github.com/async-rs/async-std/compare/v1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: async-std
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-09-29 10:53:15 +02:00
Guillaume Thiolliere
8684b73b46
Fix WrapperOpaque max encded len and type info ( #9881 )
...
* fix wrapper opaque
* fix compilation
* improve more precise implementation
* spacing
* fmt
2021-09-29 07:48:26 +00:00
Bastian Köcher
89a85936e5
Fix flaky sync tests ( #9889 )
2021-09-29 09:10:20 +02:00
dependabot[bot]
4549e1a1b0
Bump libc from 0.2.102 to 0.2.103 ( #3950 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.102 to 0.2.103.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.102...0.2.103 )
---
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-09-28 23:18:51 +02:00
Guillaume Thiolliere
77ad54e4bc
fix master ( #3955 )
2021-09-28 17:38:00 +00:00
Alexander Samusev
f29b6db6e4
Docker files chore ( #3880 )
...
* Renamed staking-miner Dockerfiles
* change readme stacking-miner
* mv docker/ to scripts/docker/polkadot
* renamed dockerfiles in scripts/docker
* renamed Dockerfiles
* Update scripts/docker/staking-miner/staking_miner_injected.Dockerfile
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* renamed release.Dockerfile
* renamed staking-miner dockerfiles
* add label polkadot_builder.Dockerfile
* Update scripts/docker/polkadot/polkadot_builder.Dockerfile
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Update scripts/docker/polkadot/polkadot_builder.Dockerfile
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Update scripts/docker/polkadot/polkadot_builder.Dockerfile
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Update scripts/docker/polkadot/polkadot_builder.Dockerfile
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Update scripts/docker/polkadot_injected_release.Dockerfile
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Update scripts/docker/collator_injected.Dockerfile
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Update scripts/docker/staking-miner/staking-miner_injected.Dockerfile
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Update scripts/docker/staking-miner/staking-miner_builder.Dockerfile
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Update scripts/docker/staking-miner/staking-miner_builder.Dockerfile
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Update scripts/docker/staking-miner/staking-miner_injected.Dockerfile
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* move gpg server as variable to GHA config
* simplified polkadot_builder.Dockerfile
* gitlab-ci modify cp command in test-build-linux-stable
* fix tests
* renamed scripts/docker to scripts/dockerfiles
* fix spellcheck
* fix spellcheck
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
2021-09-28 17:47:52 +02:00
dependabot[bot]
ab7f87a81a
Bump nix from 0.19.1 to 0.20.0 ( #3587 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.19.1 to 0.20.0.
- [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.19.1...v0.20.0 )
---
updated-dependencies:
- dependency-name: nix
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-09-28 15:47:10 +02:00
Bernhard Schuster
c9662531b6
remove connected disconnected state, 3rd attempt ( #3898 )
...
* overseer: remove mut in connector
* rename SelectRelayChainWFallback -> SelectRelayChain
* split Basics
* introduce the OverseerConnector, use it
* introduce is_relay_chain to RelayChainSelection
* chore: rename var
* avoid dummy import in subsystem
* actually remove Disconnecte/Connected enum
* extract DummySubsystem into mod dummy.
* Handle::Connected -> Handle::new
* chore: fmt
* fix test
* select relay chain takes no arg, simplification
* fmt
* Update node/service/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* chore: improve malus tests
* avoid the deferred setting of `is_relay_chain` in `RelayChainSelection`
* positive assertion is not mandated, only the negative one, to avoid a stall
* chore: fmt
* assure the `RelayChainSelection` is not used before the overseer is up and running
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-09-28 15:01:04 +02:00
Keith Yeung
7b65b049cb
Extend PalletInfoAccess with module_name and crate_version method ( #9690 )
...
* Record pallet indices in CallMetadata
* Resurrect PalletVersion infrastructure and rename as CrateVersion
* cargo fmt
* Add missing runtime generics to pallet struct
* Fix path to instance
* Fix test
* Fix UI test expectations
* Fix UI test expectations
* Move crate_version function to PalletInfoAccess
* Update UI test expectations
* Add crate_name method to PalletInfo
* Convert path to module name instead of exposing crate name
* cargo fmt
* Keep the double colons when constructing the module name
* Remove unused import
* Update UI test expectations
* Update frame/support/src/traits/metadata.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
* Update UI test expectations
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
2021-09-28 11:35:33 +02:00
Robert Habermeier
408b49268f
fix flaky chain-selection tests ( #3948 )
2021-09-28 08:43:55 +00:00
Gautham
951a033e8d
Add Polkadex to SS58 Registry ( #9825 )
...
* Add PDEX to SS58 Registry.
* Add PDEX to SS58 Registry.
2021-09-28 06:10:40 +00:00
Keith Yeung
7da1421baa
Add benchmarking for parachain runtime initializer pallet ( #3913 )
...
* Add benchmarking for parachain runtime initializer pallet
* Fix default impl for initializer pallet WeightInfo
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::initializer --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_initializer.rs
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::initializer --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_initializer.rs
* Use real weights and use max_block as default weight
* Add variable for digest vec length for initializer benchmark
* Fix compilation errors
* Add WeightInfo to parachains_initializer config in polkadot runtime
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::initializer --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_initializer.rs
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::initializer --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_initializer.rs
* Appease spellchecker
* Use kusama weights in polkadot runtime for parachain initializer pallet
Co-authored-by: Parity Bot <admin@parity.io >
2021-09-28 04:55:19 +00:00
Squirrel
f95408b346
Point to nightly that can compile the code. ( #9873 )
2021-09-28 04:47:38 +00:00
Qinxuan Chen
7f550d6dd2
Migrate pallet-session to the new pallet macro ( #9796 )
...
* Migrate pallet-session to the new pallet macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove old macros
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-09-28 03:12:57 +00:00
Bernhard Schuster
d64394ef59
minor chore changes ( #3944 )
...
* chore: mild refactor, avoid the channel in handle_import_statements
* chore/md: lint
2021-09-27 20:18:59 +02:00
Robert Habermeier
94986bec7e
disputes: reject single-sided disputes ( #3903 )
...
* disputes: reject single-sided disputes
* fmt
2021-09-27 12:16:34 -05:00
Falco Hirschenberger
6ec82c7a83
Add weight for decoding the call to benchmarks ( #9781 )
...
* First two bechmarks converted
* Add decoding weight to benchmarks.
* Update frame/democracy/src/benchmarking.rs
* Adapt to new Call-ing convention
* Resolve conflicts and change more calls
* Remove error impl for codec and use plain `expect` for error handling instead
* Compile fix
* Spaces to tabs
* Update frame/democracy/src/benchmarking.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Add origin-type specifier to benchmarks macro
* formatting
* Update frame/benchmarking/src/lib.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Change manual to automatic benchmark syntax
* Formatting
* Revert "Change manual to automatic benchmark syntax"
This reverts commit ea5b5d906b318b6525c1e6d2bd05c5011595c21a.
Because tests are lost and cleanup code in the verify function is not run on failing calls.
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2021-09-27 15:17:38 +00:00
Robert Klotzner
7c3b3c4a59
Log info about low connectivity and unreachable validators ( #3916 )
...
* Attempt to add log stats to gossip-support.
* WIP: Keep track of connected validators.
* Clarify metric.
* WIP: Make gossip support report connectivity.
* WIP: Fixing tests.
* Fix network bridge + integrate in overseer.
* Consistent naming.
* Fix logic error
* cargo fmt
* Pretty logs.
* cargo fmt
* Use `Delay` to trigger periodic checks.
* fmt
* Fix warning for authority set size of 1.
* More correct ratio report if there are no resolved validators.
* Prettier rendering of empty set.
* Fix typo.
* Another typo.
* Don't check on every leaf update.
* Make compatible with older rustc.
* Fix tests.
* Demote warning.
2021-09-27 16:30:02 +02:00
Ayush Mishra
fdebbbf4b3
Added multisig in Rococo ( #3873 )
...
* Added multisig in Rococo
* removed formatting error
Co-authored-by: Ayush <>
2021-09-27 12:35:50 +00:00
Guillaume Thiolliere
1ebcbe1c34
pallet macro: allow to declare individual unbounded storage for those who cannot go into PoV ( #9670 )
...
* allow unbounded individual storage
* better doc
* fix UI tests
* update doc
* Update frame/support/procedural/src/pallet/parse/storage.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2021-09-27 08:25:24 +00:00
Liu-Cheng Xu
7f2fab263b
Fix bin-substrate toml ( #3939 )
2021-09-27 06:05:06 +00:00
dependabot[bot]
724a1b4885
Bump tracing from 0.1.27 to 0.1.28 ( #3937 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.27 to 0.1.28.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.27...tracing-0.1.28 )
---
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>
2021-09-27 07:57:14 +02:00
Shawn Tabrizi
7c8804c049
XCM Benchmarks for Asset Transactor w/ Fungible Asset ( #3818 )
...
* benchmarks for fungibles
* add benchmark to westend
* fix hex
* clean up a bit
* update code doc
* fix warnings
* cargo run --quiet --release --features runtime-benchmarks -- benchmark --chain=westend-dev --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --steps=10 --repeat=10 --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./ --execution=wasm --wasm-execution=compiled
* use skip
* fix spelling
* Update Cargo.lock
* add scale-info
* Update Cargo.lock
* update bench
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-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/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
* weights compile
* update westend to use weights
* fmt
* spelling fixes
* Delete pallet_xcm_benchmarks::fungible.rs
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* fix code review
* update weight
* fix report_error
* fix spell check
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2021-09-27 00:38:46 -04:00
Qinxuan Chen
d565382b50
Migrate the pallet macros of some tests and benches ( #9853 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-09-27 03:24:25 +00:00
Shawn Tabrizi
f8a228859e
Fungibles and Non-Fungibles Create and Destroy Traits + Assets and Uniques Implementation ( #9844 )
...
* refactor `do_destroy`
* destroy trait
* refactor do_force_create
* impl create trait
* do not bleed weight into api
* Do the same for uniques
* add docs
2021-09-26 22:05:01 +00:00
Andreas Doerr
0daa2b66ec
BEEFY code owner ( #9852 )
2021-09-26 22:42:09 +02:00
Bastian Köcher
d902aa90ef
Fix purge-chain test ( #624 )
...
* Fix purge-chain test
* Update Substrate & Polkadot
2021-09-26 15:25:35 +02:00
dependabot[bot]
37a5f95c29
Bump libc from 0.2.101 to 0.2.102 ( #3933 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.101 to 0.2.102.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.101...0.2.102 )
---
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-09-26 14:46:37 +02:00
Bastian Köcher
5514e637ac
Do not compile wasm_api module when not needed. ( #3934 )
...
This otherwise generates some warnings which leads to errors in CI:
https://gitlab.parity.io/parity/cumulus/-/jobs/1141589
2021-09-26 11:21:22 +02:00
Shawn Tabrizi
d342d282a6
Fix amount emitted in rebonded event ( #9866 )
2021-09-26 08:26:57 +02:00