Sergej Sakac
15bd9e6fa7
try-runtime-cli: execute-block & create-snapshot tests ( #14343 )
...
* execute-block test
* test create-snapshot
* oops
* Update utils/frame/try-runtime/cli/tests/create_snapshot.rs
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Update utils/frame/try-runtime/cli/tests/create_snapshot.rs
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Update utils/frame/try-runtime/cli/tests/create_snapshot.rs
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* remove snapshot
* execute block: new log
* use prefix & make tempfile a dev dependencie
* Update utils/frame/try-runtime/cli/tests/execute_block.rs
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Update utils/frame/try-runtime/cli/tests/create_snapshot.rs
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* ".git/.scripts/commands/fmt/fmt.sh"
* --at option in execute-block test
* fixes & use --at option in create-snapshot test
* hmm
* fmt
* remove nonsense
* Update utils/frame/try-runtime/cli/tests/create_snapshot.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update utils/frame/try-runtime/cli/tests/execute_block.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* remove unnecessary test modules
* try to load snapshot file
* fix
---------
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-06-24 09:36:15 +00:00
dependabot[bot]
bddde662b7
Bump clap from 4.3.5 to 4.3.6 ( #2775 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.5 to 4.3.6.
- [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/v4.3.5...v4.3.6 )
---
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>
2023-06-24 09:38:00 +02:00
Squirrel
0750b03300
once_cell in std from 1.70 ( #14402 )
...
* once_cell now stable
* cargo fmt
---------
Co-authored-by: parity-processbot <>
2023-06-24 06:45:28 +00:00
Squirrel
5487ce7687
Asset Conversion release to westmint ( #2148 )
...
* Dex and payment by dex in westmint
* Wrap U256 type for now
(to support required traits.)
* cargo fmt
* We can now use U256
* Rename PromotedBalance
* name change
* Updating the code to master.
TODO: handle dust!
* cargo fmt
* Minimising changes and step towards getting benchmarks compiling
(still a From<u32> bound in the pallet)
* minimise diff
* Update parachains/runtimes/assets/westmint/src/lib.rs
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
* Update parachains/runtimes/assets/westmint/src/lib.rs
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
* Update parachains/common/src/impls.rs
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
* Fix benchmark build
* Add in AssetConversionAPI
* Handle dust
* cargo fmt
* Don't need to be explicit that it's AccountId32
* remove pool setup fee
(Asset deposit fees are a sufficient anti-spam measure)
* More natural way to specify native
* cargo fmt
* Update parachains/runtimes/assets/westmint/src/lib.rs
* Additional required impls
* either form of multilocation should be acceptable.
* add call filter exclusion
* Fix typo & try_convert now fails if native is converted
* merge master fixup
* Fix: HoldReason should be there.
* Box MultiAssetId
Otherwise it blows out the Call enum memory size.
* cargo fmt
* update lock file
* add std feature, update lock file
* need to turn on std on common
* adding in westmint tests
* WeightToFee must be from the destination chain.
* cargo fmt
* account for higher ED on westmint
* type removed as not used
* cargo fmt
* remove unused import
* minimising diff
* import needed only with feature enabled
* use multilocation contains
* move the impls to separate file
* simplify on conversion
* simplify on reverse conversion also.
* rename var
* clippy
* removed dead code
* cargo fmt
* Use pay by swap
* review suggestions
* cargo fmt
* Update parachains/runtimes/assets/asset-hub-westend/src/lib.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* add benchmarks for new assets pallet
* revert common/src changes
* need a concrete id
* more fixes
* lock
---------
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
Co-authored-by: joepetrowski <joe@parity.io >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2023-06-23 20:31:50 +00:00
Jegor Sidorenko
be7c654c42
Pay tx fee with assets by using the asset conversion pallet ( #14340 )
...
* Pay tx by swapping the assets
* Change liquidity structure
* Uncomment the event
* Update frame/transaction-payment/asset-tx-payment/src/payment.rs
Co-authored-by: Squirrel <gilescope@gmail.com >
* New approach
* Fix bounds
* Clearer version
* Change IsType with Into and From
* Enable event
* Check ED + fix the logic
* Add temp comments
* Rework the refund
* Clean up
* Improve readability
* Getting closer
* fix
* Use fungible instead of Currency
* Test account without ed
* Final push
* Fixed
* Rename to pallet-asset-conversion-tx-payment
* Bring back the old pallet
* Update versions
* Update docs
* Update readme
* Wrong readme updated
* Revert back doc change
* Fix import
* Fix kitchensink
* Fix
* One more time..
* Wait pls
* Update frame/asset-conversion/src/lib.rs
Co-authored-by: Squirrel <gilescope@gmail.com >
* Update frame/support/src/traits/tokens/fungibles/regular.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Update docs/comments
* Docs improvement
* Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Payed -> paid
* Docs
* Update frame/transaction-payment/asset-conversion-tx-payment/README.md
Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com >
* Rewrite docs
* Try to clean the deps
* Add debug assert
* Return back frame-benchmarking
* Update cargo
* Update frame/transaction-payment/asset-conversion-tx-payment/src/mock.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Rename
* clearer error message
* Docs for Pay by Swap (#14445 )
* docs
* better error name
* more comments
* more docs on swap trait
* Fix compile errors
* Another fix
* Refactoring
* Update frame/transaction-payment/asset-conversion-tx-payment/src/payment.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Emit an error if we fail to swap the refund back
* Add integrity_test
* Update frame/asset-conversion/src/lib.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Fmt
* Use defensive_ok_or
* child PR: Tidy swap event (#14441 )
* Dedup raising swap event
* use expect rather than unwrap
* Additional checks for future defence.
* cargo fmt
* Update frame/asset-conversion/src/lib.rs
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
---------
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
---------
Co-authored-by: Squirrel <gilescope@gmail.com >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2023-06-23 19:17:52 +00:00
Bruno Galvao
eb76e109c8
add try-runtime to ping pallet ( #2767 )
...
* add try-runtime to ping pallet
* Update parachains/pallets/ping/Cargo.toml
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* a bit of formatting
---------
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-06-23 14:01:55 +00:00
Branislav Kontur
9486fe9704
Companion for substrate#14435 (BenchmarkHelper for frame-system) ( #2766 )
...
* Temporary fix for frame_system::set_code benchmark
* Removed temprary fix
* BenchmarkHelper for frame-system (TODO: add stuff for ParachainSystem OnSetCode)
* BenchmarkHelper for frame-system (TODO: add stuff for ParachainSystem OnSetCode)
* Glutton
* Fix benchmarks for `set_code`
* Changed dummy values to non-zero
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-06-23 12:34:54 +00:00
Branislav Kontur
3e2c73dfad
Adds ability to prepare/initialize before running set_code benchmark ( #14435 )
...
* Adds ability to prepare/initialize before running `set_code` benchmark
* Fix
* ".git/.scripts/commands/bench/bench.sh" pallet dev frame-system
* Replaced BenchmarkHelper with function
* Fix
* Introduced `set_code_data` for benchmark with default value
* ".git/.scripts/commands/bench/bench.sh" pallet dev frame-system
* (Hope) Final adjustment (because system parachains generates ValidationFunctionStored instead of CodeUpdated)
* ".git/.scripts/commands/bench/bench.sh" pallet dev frame-system
* ".git/.scripts/commands/bench-vm/bench-vm.sh" pallet dev frame-system
---------
Co-authored-by: command-bot <>
2023-06-23 12:02:13 +00:00
Chevdor
443b139aa9
Bump subwasm to latest ( #2771 )
2023-06-23 11:54:19 +00:00
Andrei Eres
866aa1e8d4
Warn if participated in the losing side of a dispute ( #7404 )
...
* Warn if participated in the losing side of a dispute
* Update naming
* Additionally filter by candidate hash
* Debug zombienet tests
* Update 0002-parachains-disputes.zndsl
* Debug zombienet
* Update node/core/dispute-coordinator/src/initialized.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Add checking to zombienet tests
---------
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
2023-06-23 11:45:48 +00:00
PG Herveou
073dad97ad
Contracts-rococo: Update migration ( #2763 )
2023-06-22 17:50:32 +00:00
Oliver Tale-Yazdi
ae2e669a6a
Disable flaky test ( #7420 )
...
* Disable flaky test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix import
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-06-22 19:38:58 +02:00
Javier Bullrich
1c5729c2de
fixed one member of two teams prs counting individually ( #2770 )
...
Fixed the problem that, if a member of two of the required teams reviews a Pr that belongs to `^parachains/runtimes/assets/(asset-hub-kusama|asset-hub-polkadot)/src/[^/]+\.rs$|^parachains/runtimes/bridge-hubs/(bridge-hub-kusama|bridge-hub-polkadot)/src/[^/]+\.rs$|^parachains/runtimes/collectives/collectives-polkadot/src/[^/]+\.rs$|^parachains/common/src/[^/]+\.rs$` it won't count as enough reviews.
By changing the `all_distinct` to `all` this will allow one member of both teams to fulfill the requirements for the PR
2023-06-22 17:01:57 +02:00
Dmitry Markin
7d4fd6a442
[minor] Extend logging with SetId in ProtocolController where missing ( #14433 )
2023-06-22 15:23:21 +03:00
Stefan
4abb6025e3
inspect role for nonfungibles_v2 ( #14341 )
...
* inspect role
* Update frame/nfts/src/impl_nonfungibles.rs
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
* Update frame/support/src/traits/tokens/nonfungibles_v2.rs
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
* Update as suggested
* Update frame/nfts/src/impl_nonfungibles.rs
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
* Update frame/nfts/src/impl_nonfungibles.rs
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
* Update frame/nfts/src/impl_nonfungibles.rs
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
---------
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
2023-06-22 12:07:23 +00:00
dependabot[bot]
6dafe0fcc4
Bump openssl from 0.10.48 to 0.10.55 ( #7414 )
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.48 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.48...openssl-v0.10.55 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 10:26:16 +00:00
dependabot[bot]
ca058e9e8b
Bump scale-info from 2.7.0 to 2.8.0 ( #2768 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/paritytech/scale-info/releases )
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-info/compare/v2.7.0...v2.8.0 )
---
updated-dependencies:
- dependency-name: scale-info
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>
2023-06-22 12:23:04 +02:00
Javier Bullrich
e15776146e
fixed one member of two teams prs counting individually ( #7398 )
2023-06-22 10:19:36 +00:00
klbrvik
1d2f16ab1f
expose setting kademlia replication factor through node CLI ( #14391 )
...
* expose kademlia replication factor through node CLI
* set default CLI flag value for kademlia_replication_factor
Co-authored-by: Bastian Köcher <git@kchr.de >
* wrap CLI value as Option
* make kademlia replication factor non-optional
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-06-22 00:21:54 +02:00
Sam Johnson
e783d98437
suppress unused warning in kitchensink example ( #14417 )
...
* suppress unused warning in kitchensink example
* Adds test
* ".git/.scripts/commands/fmt/fmt.sh"
---------
Co-authored-by: Nikhil Gupta <17176722+gupnik@users.noreply.github.com >
Co-authored-by: command-bot <>
2023-06-22 00:13:50 +02:00
Milos Kriz
fbde434fe5
Maintenance of bootnodes - gatotech ( #7331 )
2023-06-21 23:53:52 +02:00
Milos Kriz
15f138d7ce
Maintenance of bootnode endpoints - gatotech ( #2689 )
...
* Bootnode maintenance - gatotech
* Add bootnode support - gatotech
2023-06-21 23:39:32 +02:00
joe petrowski
c206d9b375
Clear Existing HRMP Channel Request When Force Opening ( #7389 )
...
* clear existing hrmp channel request when force opening
* return unused weight
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* fix
* update weight signature to u32
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-06-21 14:57:05 +00:00
Liam Aharon
38cc4ad6aa
fix(remote-externalities): child trie not loaded ( #14365 )
...
* fix remote-ext chlid keys
* sanity check test that child trie is loaded
2023-06-21 14:16:33 +00:00
Andrei Sandu
02d3fd025d
availability recovery: measure re-encoding time ( #7409 )
...
* Measure re-encoding time
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix build
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
---------
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2023-06-21 17:02:57 +03:00
Oleg Plakida
4c0af07370
Transition to VM weights ( #7342 )
...
* ".git/.scripts/commands/bench-vm/bench-vm.sh" all westend
* ".git/.scripts/commands/bench-vm/bench-vm.sh" all polkadot
* ".git/.scripts/commands/bench-vm/bench-vm.sh" all kusama
---------
Co-authored-by: command-bot <>
2023-06-21 14:01:38 +01:00
Bastian Köcher
321a52bb27
Remove clippy workaround ( #14424 )
2023-06-21 12:06:09 +00:00
Koute
9d1741eb3c
Bump parity-scale-codec to 3.6.1 ( #14428 )
2023-06-21 11:37:11 +00:00
Koute
8eda0a039f
Bump parity-scale-codec to 3.6.1 ( #7382 )
2023-06-21 19:24:24 +09:00
eskimor
a25b871a16
Clarification on the use of vstaging ( #7359 )
...
* Clarifications on vstaging.
* Typos.
---------
Co-authored-by: eskimor <eskimor@no-such-url.com >
2023-06-21 12:23:03 +02:00
dependabot[bot]
c176cb7c92
Bump clap from 4.3.4 to 4.3.5 ( #2764 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.4 to 4.3.5.
- [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/v4.3.4...v4.3.5 )
---
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>
2023-06-21 07:40:30 +00:00
asynchronous rob
5ac7b32ca9
fix dependency for "cli" feature in polkadot-cli ( #7399 )
2023-06-20 21:07:31 +00:00
Branislav Kontur
43c9a94969
AssetHubs - split weights for pallet_assets ( #2743 )
...
* AssetHubs - split weights for pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets
* Rename weight file for pallet_assets instances (polkadot)
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets
* Rename weight file for pallet_assets instances (kusama/westend)
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets
* Changed `pallet_assets_remote` -> `pallet_assets_foreign`
* fmt
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets
---------
Co-authored-by: parity-processbot <>
2023-06-20 15:48:25 +00:00
Mira Ressel
13eaab00db
ci: move back to paritytech/ci-linux:production image ( #14422 )
2023-06-20 16:43:36 +02:00
dependabot[bot]
ad2189ae4e
Bump Swatinem/rust-cache from 2.4.0 to 2.5.0 ( #2759 )
...
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/Swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Swatinem/rust-cache/compare/988c164c3d0e93c4dbab36aaf5bbeb77425b2894...2656b87321093db1cb55fbd73183d195214fdfd1 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
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>
2023-06-20 15:50:12 +02:00
PG Herveou
6ac8537436
Update contract multi-block migration ( #14313 )
...
* move migrate sequence to config
* remove commented out code
* Update frame/contracts/src/lib.rs
Co-authored-by: PG Herveou <pgherveou@gmail.com >
* remove Migrations generic
* make runtime use noop migrations
* restrict is_upgrade_supported
* Update contract multi-block migration
Ensure that we do as many steps as possible given the weight limit passed to on_idle
* undo is_upgrade_supported change
* Update bin/node/runtime/src/lib.rs
Co-authored-by: PG Herveou <pgherveou@gmail.com >
* wip
* fix comment (#14316 )
* fix test
* fix
* Update frame/contracts/src/migration.rs
Co-authored-by: Juan <juangirini@gmail.com >
* fix test doc
* Apply suggestions from code review
Co-authored-by: Sasha Gryaznov <hi@agryaznov.com >
* Fix compilation with feature runtime-benchmarks
* fix example
* fix cargo doc --document-private-items
* private links
* Remove dup comment
* add doc for MigrationInProgress
* PR review remove duplicate asserts
* simplify upper bound
* fix link
* typo
* typo
* no unwrap()
* correct log message
* missing
* fix typo
* PR comment
* Add example with single element tuple
* Improve migration message
* Update frame/contracts/src/benchmarking/mod.rs
Co-authored-by: Sasha Gryaznov <hi@agryaznov.com >
* Update frame/contracts/src/migration.rs
Co-authored-by: Sasha Gryaznov <hi@agryaznov.com >
* Update frame/contracts/src/migration.rs
Co-authored-by: Sasha Gryaznov <hi@agryaznov.com >
* use saturating_accrue instead of +=
* add more doc
* Contracts: Better migration types (#14418 )
* Add explicit error, if try-runtime runs a noop migration
* use mut remaining_weight
---------
Co-authored-by: Juan Girini <juangirini@gmail.com >
Co-authored-by: Sasha Gryaznov <hi@agryaznov.com >
2023-06-20 13:16:28 +00:00
Rashmirreddy
f7bd54590a
Fixed a link issue. ( #7395 )
2023-06-20 14:38:52 +02:00
dependabot[bot]
5a16ebc3a5
Bump parity-scale-codec from 3.5.0 to 3.6.1 ( #2760 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.5.0 to 3.6.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-v3.5.0...parity-scale-codec-v3.6.1 )
---
updated-dependencies:
- dependency-name: parity-scale-codec
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>
2023-06-20 13:50:12 +02:00
Mira Ressel
6ea3736004
ci: bump ci image for rust 1.70 ( #14399 )
...
* ci: bump ci image for rust 1.70
* ".git/.scripts/commands/update-ui/update-ui.sh" 1.70
* chore: ignore the new let_with_type_underscore lint
---------
Co-authored-by: command-bot <>
2023-06-20 13:26:03 +02:00
Kian Paimani
f4c00ecc3f
Update DOCUMENTATION_GUIDELINES.md ( #14369 )
...
* Update DOCUMENTATION_GUIDELINES.md
* update ToC
* Update docs/DOCUMENTATION_GUIDELINES.md
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update docs/DOCUMENTATION_GUIDELINES.md
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fix
---------
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2023-06-19 22:56:22 +02:00
Xavier Lau
5838ab681d
Add sudo to template node ( #2748 )
...
* Add sudo to template node
* Fix
* Change as suggest
* Update parachain-template/runtime/src/lib.rs
Co-authored-by: Squirrel <giles@parity.io >
* Change as suggest
---------
Co-authored-by: Squirrel <giles@parity.io >
2023-06-19 16:53:57 +00:00
Chevdor
1e417710f5
Renaming of the Asset Hubs ( #2755 )
2023-06-19 16:51:40 +00:00
Egor_P
7c28c5319a
[Backport] version bumps from 9430 ( #2709 )
...
* Bump crate versions
* Bump spec_version to 9430
2023-06-19 13:57:25 +00:00
Oleg Plakida
0aa79f87ca
".git/.scripts/commands/bench-vm/bench-vm.sh" all ( #13933 )
...
Co-authored-by: command-bot <>
2023-06-19 14:31:20 +01:00
Oliver Tale-Yazdi
05592a84eb
Refactor BlockBuilder::propose_with ( #14405 )
...
* Add log target
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Factor out apply_inherents
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Factor out apply_extrinsics
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Factor out print_summary
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Pimp print_summary
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update client/basic-authorship/src/basic_authorship.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-06-19 10:12:43 +00:00
Gavin Wood
cf68e59132
Fellowship: Voters can initiate proposals on their votable tracks ( #2725 )
...
* Voters can initiate proposals on their tracks in Fellowship
* Bump
* Remove it_builds
* Docs
2023-06-19 10:41:50 +01:00
dependabot[bot]
6beb11e8cc
Bump serde_json from 1.0.96 to 1.0.97 ( #2749 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.96 to 1.0.97.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.96...v1.0.97 )
---
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>
2023-06-19 06:51:08 +00:00
Gavin Wood
a846d00866
Runtime: Kusama gets Society v2 ( #7356 )
...
* Remove println
* Kusama gets the new society
* Integrate migration
* Formatting
* Add Society weights
* Remive diener
* Fixes
* Update Cargo.toml
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Add real historical payment info for Society.
* Fixes
* Bump Substrate
---------
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
2023-06-18 18:54:31 +02:00
Gavin Wood
33a6536299
Society v2 ( #11324 )
...
* New Society
* More logic drafting
* More work
* Building
* Some tests
* Fixes
* Improvements to the voting process
* More tests
* Test number 20
* Tests
* 30 tests
* Another test]
* All tests enabled
* Minor stuff
* generate_storage_alias: Rewrite as proc macro attribute
This rewrites the `generate_storage_alias!` declarative macro as proc-macro attribute. While doing
this the name is changed to `storage_alias`. The prefix can now also be the name of a pallet. This
makes storage aliases work in migrations for all kind of chains and not just for the ones that use
predefined prefixes.
* Maintenance operations don't pay fee
* Fix compilation and FMT
* Moare fixes
* Migrations
* Fix tests and add migration testing
* Introduce lazy-cleanup and avoid unbounded prefix removal
* Fixes
* Fixes
* [WIP][Society] Adding benchmarking to the v2. (#11776 )
* [Society] Adding benchmarking to the v2.
* [Society] Code review.
* [Society] Better code.
* Using clear() + clear_prefix() and adding more tests.
* Benchmarking again...
* Fix Cargo
* Fixes
* Fixes
* Spelling
* Fix benchmarks
* Another fix
* Remove println
---------
Co-authored-by: Bastian Köcher <info@kchr.de >
Co-authored-by: Artur Gontijo <arturgontijo@users.noreply.github.com >
2023-06-18 17:22:17 +01:00
Oliver Tale-Yazdi
116b6e65dc
pallet benchmarking: Bump default steps and repeat ( #14408 )
...
* Bump default steps and repeats to useful values
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add check that scheduler weight depends on component
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add test to whitelist pallet
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add env var to disable checks
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* remove tests
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-06-18 11:50:34 +00:00