dependabot[bot]
278e0ebde3
Bump async-trait from 0.1.56 to 0.1.57 ( #1493 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.56 to 0.1.57.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.56...0.1.57 )
---
updated-dependencies:
- dependency-name: async-trait
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-08-04 10:56:41 +00:00
dependabot[bot]
1c6ba1cae5
Bump cranelift-codegen from 0.85.1 to 0.85.3 ( #1466 )
...
Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime ) from 0.85.1 to 0.85.3.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/commits )
---
updated-dependencies:
- dependency-name: cranelift-codegen
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 10:28:35 +00:00
Giles Cope
c58a7ec911
and again
2022-08-04 12:26:07 +02:00
Giles Cope
e243f5e92c
There's already one directly below
2022-08-04 12:26:07 +02:00
Giles Cope
ddb8690a7e
if not in a subdir...
2022-08-04 12:26:07 +02:00
Giles Cope
2823e29388
another shot
2022-08-04 12:26:07 +02:00
Giles Cope
4a172317a4
broader scope
2022-08-04 12:26:07 +02:00
Giles Cope
70bbf38dde
Like polkadot, save context.json as an artifact
2022-08-04 12:26:07 +02:00
Giles Cope
dd3762bb5a
adapt to subwasm version output format change
2022-08-04 12:26:07 +02:00
ZhiYong
27747b4d1a
Companion for substrate#11962 ( #5852 )
...
* Companion for substrate#11962
* update lockfile
Co-authored-by: acatangiu <adrian@parity.io >
2022-08-04 13:24:34 +03:00
Bernhard Schuster
3f01d04ad2
chore; don't require default features for cli ( #1497 )
...
* don't require default features for an API crate
Let the consumer define by overriding the features for the inner deps as needed.
Cargo feature resolution allows this.
Ref https://github.com/paritytech/polkadot/pull/5792
* Update client/relay-chain-inprocess-interface/Cargo.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-08-04 09:46:01 +00:00
Bastian Köcher
753907a184
Timestamp: set_timestamp sets DidUpdate ( #11960 )
...
* Timestamp: `set_timestamp` sets `DidUpdate`
There exists the `set_timestamp` in the Timestamp pallet for setting the current timestamp. The
problem is that it doesn't set `DidUpdate`. This results in `on_finalize` panicking. There is no
real reason why the function doesn't also set `DidUpdate`.
* Update frame/timestamp/src/lib.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix Babe tests
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-04 11:34:19 +02:00
ZhiYong
b8ad45373f
Beefy: use VersionedFinalityProof instead of SignedCommitment ( #11962 )
...
* beefy: use VersionedFinalityProof instead of SignedCommitment.
* Change the exposed RPC API to support versioned proofs.
Co-authored-by: Adrian Catangiu <adrian@parity.io >
2022-08-04 10:47:52 +03:00
Adrian Catangiu
8d1bba18af
zombienet: BEEFY and MMR test ( #5840 )
...
Signed-off-by: acatangiu <adrian@parity.io >
2022-08-04 10:27:17 +03:00
lucasvanmol
97b2a5ee75
Update node-template's docker-compose.yml ( #11802 )
...
* Update docker-compose.yml
* Use production image
Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com >
Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2022-08-04 09:16:24 +02:00
Oliver Tale-Yazdi
b065b4364c
Run benchmarks with --steps=2 ( #5853 )
...
The benchmarks have been run internally with at least two values
even when called with --steps=1. substrate/#11890 changed this
to explicitly require at least --steps=2.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-03 21:00:35 +00:00
girazoki
8f2a3a5077
Statemint runtimes to accept sufficient assets as xcm fee payment ( #1278 )
...
* point to my branch
* girazoki-add-TakeFirstAssetTrader-to-utility
* Commit lock
* point at custom branch
* add new trader to statemine runtimes
* compiles
* Back to master
* Update last tomls
* Imports up
* remove non-needing imports
* FMT
* log messages properly
* Use TakeRevenue instead of HandleCredit
* Introduce xcm fee handler
* check total supply in tests
* FMT
* fix test
* Start decoupling balance calculation into different traits
* Make traits a bit more generic
* PR suggestions
* add import
* import well
* Place xcmfeesassethandler into parachains common
* fix tests
* config parameters
* Min amount to fee receiver
* Make minimum amount for block author to be at least the ED
* Doc in AssetFeeAsExistentialDepositMultiplier
* saturating sub
* make sure we dont enter twice
* FMT
* fmt again
* adapt tests
* Add doc and struct for weight refund
* Doc
* More doc
* PR suggestions
* store all info related to asset payment as multiasset
* return AssetNotFound instead of TooExpensive
* Use asset transactor to deposit fee
* uninstall from statemint
* R for RUntime and CON for BalanceConverter
* Rework logic to avoid unnecesary match and error
* Rework ED check, also in case of refund
* rework typo
* In case refund makes drop below ED, just refund the difference
* fix test westmint
* clone id
* move test imports to preamble
* move test imports to preamble
* test-utils with builderS
* lock file updated
* remove unused imports
Co-authored-by: Stephen Shelton <steve@brewcraft.org >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: joepetrowski <joe@parity.io >
2022-08-03 16:04:13 +00:00
Alexandru Vasile
935e682a5f
Companion for #11939 ( #1487 )
...
* Bump jsonrpsee to v0.15.1
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update Cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* client: Upadte jsonrpsee-core from relay-chain-interface
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* update substrate & polkadot
* update substrate & polkadot
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2022-08-03 15:25:18 +02:00
Shawn Tabrizi
e7e2018203
nit improvements to pallet template ( #11968 )
2022-08-03 13:35:47 +02:00
Sacha Lansky
df07421904
Fix docs urls ( #11966 )
...
* Fix docs urls
* Update bin/node-template/README.md
* Update frame/aura/src/lib.rs
* Run cargo +nightly fmt
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-08-03 13:34:33 +02:00
Alexandru Vasile
d84433bd7f
Companion for #11939 ( #5846 )
...
* Bump jsonrpsee to v0.15.1
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Minimal update to Cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* update substrate
* update lockfile for {"substrate"}
* update substrate master
* Allow benchmark checks to fail
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
Co-authored-by: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-03 12:23:16 +02:00
Bastian Köcher
5ebf17bfe1
Revert non-best block ( #11716 )
...
* Revert non-best block
This makes `revert` also revert non-best blocks.
* Update client/db/src/lib.rs
* Do not count leaves against the maximum number to revert
* Add some explanation
* Fix bug
* Apply suggestions from code review
Co-authored-by: Davide Galassi <davxy@datawok.net >
Co-authored-by: Davide Galassi <davxy@datawok.net >
2022-08-03 08:46:10 +00:00
Andronik
0cda69d34a
offences: make fn slash_fraction non-static ( #11956 )
...
* offences: make fn slash_fraction non-static
* Bastifmt (inline variable)
2022-08-02 18:49:03 +00:00
Alexandru Vasile
63f847c24f
rpc: Update jsonrpsee v0.15.1 ( #11939 )
...
* Bump jsonrpsee to v0.15.1
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc-servers: Adjust RpcMiddleware to WS and HTTP traits
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/author: Use `SubscriptionSink`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/chain: Use `SubscriptionSink`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/state: Use `SubscriptionSink`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/finality-grandpa: Use `SubscriptionSink`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/beefy: Use `SubscriptionSink`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* client: Extract RPC string result from queries
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Apply rust-fmt
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Fix warnings
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Fix testing
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/tests: Remove trailing comma
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc: Use `SubscriptionResult` for implementations
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc: Remove comment
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc: Delegate middleware calls to `RpcMiddleware`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc: Remove comment
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Revert Cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update Cargo.lock with minimal changes
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc: Update imports for `SubscriptionResult`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Apply cargo fmt
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/tests: Submit raw json requests to validate DenyUnsafe
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2022-08-02 17:00:18 +00:00
Nikos Kontakis
103f770e75
Rename node-runtime to node-kitchensink-runtime ( #11930 )
...
* Rename node=runtime to kithensink-runtime
* Undo md formatting
2022-08-02 15:25:52 +00:00
Ignacio Palacios
708bb7bee6
Add script to run integration tests ( #1431 )
...
* script run integration tests
* Update scripts/parachains_integration_tests.sh
Co-authored-by: Squirrel <gilescope@gmail.com >
* Update scripts/parachains_integration_tests.sh
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Update scripts/parachains_integration_tests.sh
Co-authored-by: Squirrel <gilescope@gmail.com >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
2022-08-02 16:33:34 +02:00
Muharem Ismailov
65e24ec498
gitignore dot-underscore ( #1488 )
2022-08-02 13:12:34 +00:00
Alexander Samusev
2e8249dc17
[ci] chores: remove cargo install nextest ( #11961 )
2022-08-02 15:01:15 +02:00
bernardo
f5c644f272
benchmarking f32 step calculation ( #11890 )
...
* benchmark steps with f32
* divide by self.steps - 1
* avoid steps <= 1
* Fix step size
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix 'steps' print and print number of args
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add Test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fix comments
* Remove unneeded comment
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-08-02 12:43:57 +00:00
dependabot[bot]
8361257155
Bump clap from 3.2.15 to 3.2.16 ( #1492 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.15 to 3.2.16.
- [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.2.15...v3.2.16 )
---
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-08-02 13:58:51 +02:00
Nate Armstrong
7817db4c7a
Fix typos in release.md ( #1491 )
2022-08-02 13:01:50 +02:00
dependabot[bot]
5288f025d1
Bump serde from 1.0.140 to 1.0.141 ( #1490 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.140 to 1.0.141.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.140...v1.0.141 )
---
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-08-02 08:54:19 +00:00
Niklas Adolfsson
795afe2747
fix(rpc middleware): fix is_error bug ( #11951 )
...
* fix(rpc middleware): fix `is_error` bug
* Update client/rpc-servers/src/middleware.rs
2022-08-02 07:06:36 +00:00
dependabot[bot]
fcb938873f
Bump tracing from 0.1.34 to 0.1.35 ( #5737 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.34 to 0.1.35.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.34...tracing-0.1.35 )
---
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-08-01 22:19:33 +00:00
dependabot[bot]
a99fe0f378
Bump bytes from 1.2.0 to 1.2.1 ( #1489 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/commits )
---
updated-dependencies:
- dependency-name: bytes
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-08-01 23:19:46 +02:00
Oliver Tale-Yazdi
5c89040f67
Co #11952 : Remove remove_member_wrong_refund from phragmen weights ( #5848 )
...
* Remove 'remove_member_wrong_refund' from phragmen weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-08-01 19:52:59 +00:00
lisa-parity
14ca731ac4
Update the link to the runtime versioning topic ( #11957 )
2022-08-01 18:58:42 +00:00
Oliver Tale-Yazdi
60c2506a71
Remove remove_member_wrong_refund from phragmen WeightInfo ( #11952 )
...
* Remove 'remove_member_wrong_refund' from WeightInfo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* ".git/.scripts/bench-bot.sh" pallet dev pallet_elections_phragmen
Co-authored-by: command-bot <>
2022-08-01 18:56:19 +00:00
Keith Yeung
d318a13b31
Add and implement MaxEncodedLen to token traits ( #11945 )
...
* Add and implement MaxEncodedLen bounds to token traits
* cargo fmt
* Update UI test expectations
2022-08-01 14:24:22 +00:00
Alexander Samusev
c65c0d64fc
Add release-v* rule to common-refs ( #5847 )
2022-08-01 15:26:50 +02:00
Mara Robin B
cb82d21708
update weights ( #5844 )
...
* westend: update weights
* kusama: update weights
* polkadot: update weights
* rococo: update weights
* update BlockExecutionWeight
* kusama: readd phragmen remove_member_wrong_refund weight
* polkadot: readd phragmen remove_member_wrong_refund weight
2022-08-01 13:13:21 +00:00
Shawn Tabrizi
8dbbf5dd5a
Use Saturating Math in XCM ( #5845 )
...
* saturating xcm
* Even more saturating
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-01 10:55:51 +00:00
Kian Paimani
f73ce5795c
remove unused staking trait bound ( #11942 )
2022-08-01 10:44:56 +00:00
Sebastian Kunert
36e580a56a
Introduce RPC Worker ( #1462 )
...
* Extract json-rpc-client and introduce worker
* Initial rpc worker
* Add error handling
* Use bounded channels for listeners
* Improve naming and clean up
* Use tracing channels
* Improve code readability
* Decrease channel size limit
* Remove unused dependency
* Fix docs
* RPC -> Rpc
* Start worker in initialization method
* Print error in case a distribution channel is full
* Fix docs
* Make `RpcStreamWorker` private
Co-authored-by: Davide Galassi <davxy@datawok.net >
* Use tokio channels and add TODO item
* Remove `Option` from `to_worker_channel`
Co-authored-by: Davide Galassi <davxy@datawok.net >
2022-08-01 12:08:57 +02:00
Mara Robin B
95b2976df1
Remove already executed calls to nompools MigrateToV2 migration ( #5836 )
2022-08-01 11:45:51 +02:00
Sergej Sakac
f0a8dc6a9d
companion for #11796 ( #1460 )
...
* companion for #11796
* fix
* ".git/.scripts/bench-bot.sh" pallet statemint assets pallet_uniques
* ".git/.scripts/bench-bot.sh" pallet statemine assets pallet_uniques
* ".git/.scripts/bench-bot.sh" pallet westmint assets pallet_uniques
* fix
* update sp-io
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: command-bot <>
2022-07-31 11:23:53 +00:00
Sergej Sakac
658b179686
Auto-incremental CollectionId ( #11796 )
...
* autoincrementing CollectionId
* fix
* benchmarking fix
* fmt
* fix
* update before checking
* fmt
* fix
* fmt
* commit
* tests & fix
* fix
* commit
* docs
* safe math
* unexpose function
* benchmark
* fmt
* better naming
* fix?
* merge fixes
* fmt
* ".git/.scripts/bench-bot.sh" pallet dev pallet_uniques
* wrong weight
* Update frame/uniques/src/lib.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update frame/uniques/src/lib.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* using substrate trait instead of num-traits
* remove unnecessary trait
* emit NextCollectionIdIncremented in do_create_collection
* fix in benchmarks
* check for event & group import
* docs
Co-authored-by: Sergej Sakač <sergejsakac@Sergejs-MacBook-Air.local >
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-07-30 14:09:25 +00:00
yjh
e82da9d499
feat: generalize ConsensusDataProvider for manual-seal ( #11827 )
...
* feat: generalize ConsensusDataProvider for manual-seal
* rename all generic type param `proof`/`PROOF` to `P`
* rename a missing thing
* Update client/consensus/manual-seal/src/consensus.rs
Co-authored-by: Davide Galassi <davxy@datawok.net >
* Update client/consensus/manual-seal/src/consensus/babe.rs
Co-authored-by: Davide Galassi <davxy@datawok.net >
* Update client/consensus/manual-seal/src/consensus/aura.rs
Co-authored-by: Davide Galassi <davxy@datawok.net >
Co-authored-by: Davide Galassi <davxy@datawok.net >
2022-07-30 00:07:34 +02:00
dependabot[bot]
2113e115c5
Bump bytes from 1.1.0 to 1.2.0 ( #1485 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.1.0...v1.2.0 )
---
updated-dependencies:
- dependency-name: bytes
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-07-30 00:00:57 +02:00
Nazar Mokrynskyi
56f16f5500
Network sync refactoring (part 5) ( #11825 )
...
* Make `chain_sync` an explicit networking parameter instead of offering factory method
* Derive `Copy` on `SyncMode` and remove cloning
2022-07-29 20:17:49 +00:00