Keith Yeung
e02878e87a
Fixes
2022-09-22 23:16:22 +08:00
Keith Yeung
1dba83a903
Fixes
2022-09-22 22:26:02 +08:00
Keith Yeung
7dc793d76c
Merge branch 'master' into gav-xcm-v3
2022-09-22 21:36:30 +08:00
Alexander Theißen
50f3eb2e53
Companion for: Make automatic storage deposits resistant against changing deposit prices ( #1561 )
...
* Adapt to new contracts migration API
* Add missing type argument
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: parity-processbot <>
2022-09-21 17:55:36 +00:00
Roman Useinov
3f11a7a6cf
[Fix] Deposit weight hardcoded to pre-bench value ( #1651 )
...
* [Fix] Deposit weight hardcoded to pre-bench value
* lint
2022-09-21 10:57:54 +00:00
Sergej Sakac
14186393b2
Rename Origin ( #1628 )
...
* Rename Origin
* more renaming
* fixes
* fix errors
* last fix?
* rename
* Update mock.rs
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2022-09-20 23:17:31 +00:00
Muharem Ismailov
6f40bb9efe
Bump runtimes transaction version for v9290 ( #1647 )
2022-09-20 13:36:04 +00:00
Roman Useinov
05e561de89
[Fix] Hardcode teleport weight until XCM pallet is fixed ( #1641 )
...
* [Fix] Hardcode teleport weight until XCM pallet is fixed
* fix build
* solve dead code
* fix lint
* more eloquent weights
* quick fix
2022-09-20 10:17:54 +00:00
joe petrowski
822c4d7962
Revert "[Fix] Weight calculations for Wild -> affects teleports ( #1639 )" ( #1640 )
...
This reverts commit 14115c82de .
2022-09-19 20:18:14 +00:00
Roman Useinov
14115c82de
[Fix] Weight calculations for Wild -> affects teleports ( #1639 )
...
* [Fix] Weight calculations for Wild -> affects teleports
* introduce a separate asset limit for teleports
* fix deposit
* reshuffle abstractions
* fix imports
* little refactoring
* Update parachains/common/src/xcm_config.rs
Co-authored-by: Squirrel <gilescope@gmail.com >
* add comments
Co-authored-by: Squirrel <gilescope@gmail.com >
2022-09-19 18:29:31 +00:00
Alexander Theißen
ebab061e88
Companion: contracts: Use WeakBoundedVec for instrumented code ( #1595 )
...
* Remove `RelaxedMaxCodeLen`
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: parity-processbot <>
2022-09-19 11:22:11 +00:00
dependabot[bot]
1df48c70db
Bump scale-info from 2.1.2 to 2.2.0 ( #1627 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.1.2 to 2.2.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/commits )
---
updated-dependencies:
- dependency-name: scale-info
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 22:52:51 +02:00
Squirrel
db70676ffa
Westmint don't panic. ( #1631 )
2022-09-16 12:38:54 +00:00
Squirrel
99c8f61c91
Don't panic. ( #1629 )
2022-09-16 10:28:15 +00:00
Oliver Tale-Yazdi
34e341c625
Co #11976 : Enable rust features ( #1607 )
...
* Respect feature gated functions
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"polkadot", "substrate"}
* Fix features
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Feature gate test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-09-14 19:05:34 +00:00
Keith Yeung
1f2b85c87b
Companion for paritytech/substrate#12219 ( #1610 )
...
* Remove CanAuthorWith trait
CanAuthotWith trait removed. Also all dependencies, parameters, type
paramers were removed. This is related to removal of native runtime.
* Companion for paritytech/substrate#12219
* Fixes
* polkadot-runtime-common updated
cargo update -p polkadot-runtime-common
* warning fixed
* Update cid
* update lockfile for {"polkadot", "substrate"}
* Update substrate
* update lockfile for {"polkadot", "substrate"}
* Update polkadot
* Fix tests
* 🤦
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-09-14 07:59:03 +00:00
Sergej Sakac
b43bc58cb6
Companion for #11981 ( #1563 )
...
* Companion for #11981
* rename
* Event to RuntimeEvent in imports
* missed rename
* undo
* revert
* rename type Call & Event
* commit
* ...
* fix
* fix errors
* fixes
* fmt
* fix imports
* final fix?
* fmt
* fix?
* fixes after merge
* small fix
* cargo update -p polkadot-runtime-common
* cargo +nightly fmt
* update lockfile for {"polkadot", "substrate"}
* fix
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2022-09-12 23:55:33 +00:00
Muharem Ismailov
51eb647826
runtimes version to 9290 ( #1612 )
...
* runtimes version to 9290
* No need to bump shell
Co-authored-by: Giles Cope <gilescope@gmail.com >
2022-09-12 10:12:06 +00:00
Muharem Ismailov
f15d900b28
Common version pattern for Collectives runtime ( #1606 )
2022-09-09 08:32:30 +00:00
Keith Yeung
6c27ce26f1
Companion for paritytech/substrate#12183 ( #1601 )
...
* Companion for paritytech/substrate#12183
* Fixes
* Update pallets/xcmp-queue/src/lib.rs
* Update pallets/xcmp-queue/src/lib.rs
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: parity-processbot <>
2022-09-08 05:29:53 +00:00
Muharem Ismailov
55f8b7a7a7
Companion for substrate#12179 ( #1593 )
...
* remove funcs not included in ProposalProvider trait anymore
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
2022-09-05 15:33:26 +00:00
Squirrel
deaf3e4535
Update Integration tests Statemine & Statemint ( #1526 ) ( #1575 )
...
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
2022-09-05 13:49:07 +00:00
Keith Yeung
4a7a2a85b2
Companion for paritytech/substrate#12157 ( #1590 )
...
* Remove RefTimeWeight
* [ci] Apply cargo-fmt
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: parity-processbot <>
2022-09-02 19:36:55 +00:00
Squirrel
2b9816ec41
9270 Backport of Align versions for runtimes ( #1517 ) ( #1574 )
...
* Align versions for runtimes (#1517 )
* update cargo lock
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
2022-09-02 09:17:43 +00:00
Shawn Tabrizi
9faf9b1e4f
Companion for Weight v1.5 Follow Up ( #1584 )
...
* fixes
* oopsie
* [ci] Apply cargo-fmt
* fixes
* [ci] Apply cargo-fmt
* fixes
* fix cumulus template
* fix merge
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: parity-processbot <>
2022-09-01 19:25:05 +00:00
Muharem Ismailov
8679e42068
Update Cumulus to Latest Substrate and Polkadot Master ( #1551 )
...
* proposal provider impl for proposals func
* rustfmt
* impl proposals_count fn
* update lockfile for {"substrate", "polkadot"}
* cargo update pallet-alliance
* cargo update deps
* fix for https://github.com/paritytech/substrate/commit/324a18e3c5cbf333672c54f9367f530ea976928d
* update lockfile for {"substrate", "polkadot"}
* fix try runtime feature flags
* update log target
Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-09-01 17:20:08 +00:00
Roman Useinov
99430a508d
[Feature] Add XCM benchmark weights to Statemint and Statemine ( #1454 )
...
* [Feature] Add XCM benchmarark weights to Statemint and Statemine
* add xcm-bench-template
* add polkadot xcm bench pallet to statemint
* Sample benchmarking that compiles
* add benches to the module
* Remove batches assertion and whitelist ActiveConfig
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* fix benchmarks
* fix get_multi_asset
* fmt and more bench fixes
* reformat
* move Xcm type definitions
* define types twice
* remove commented out lines
* define Xcm bench types globally
* test use
* fix semi
* make sure the type definittion is properly documented
* tweak TrustedTeleporter/Reserve
* use dots as asset
* copy benchmarks over, fix the ci script
* remove extra asset
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* benchmarks setup for statemint/e and westmint
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::fungible
* remove a check
* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::generic
* implement WeightInfoBounds for all the asset runtimes
* update Cargo.lock
* fix Muharem's comments
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* Update parachains/runtimes/assets/statemint/src/lib.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fix some review comments
* fix file headers
* more fixes to licenses and such
* fix another inconsistency
* Extend weights template
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* remove a placeholder
* remove redundant overrides
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::fungible
* Update benchmarking.rs
* remove redundant bench
* fix
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* Update pallets/xcm-benchmarks/src/fungible/mock.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* remove TODO's
* remove local xcm-benchmark-pallet impl
* disable CheckedAccount in benches
* update template
* fix up imports
* fix xcm
* fix the template
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2022-09-01 11:39:01 +02:00
Shawn Tabrizi
3fb9c8a7be
Companion for Weight v1.5 ( #1581 )
...
* cargo test -p cumulus-primitives-utility
* cargo test -p cumulus-pallet-xcmp-queue
* cargo test -p cumulus-pallet-xcm
* cargo test -p cumulus-pallet-dmp-queue
* cargo test -p pallet-template
* cargo test -p cumulus-test-runtime
* fix weights
* fix more weights
* cargo test -p parachains-common
* cargo test -p parachain-template-runtime
* fix weights import
* cargo test -p collectives-polkadot-runtime
* cargo test -p contracts-rococo-runtime
* more
* unused
* fixes
* Update benchmarking.rs
* Update lib.rs
* Update lib.rs
* fix
* fix bug in conversion
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
2022-08-31 12:24:42 +00:00
Roman Useinov
1ab196df49
[Feature] Limit collectives teleports to DOT ( #1579 )
...
* [Feature] Limit collectives teleports to DOT
* Update pallets/xcm/src/lib.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* fix review comments
* Update parachains/runtimes/collectives/collectives-polkadot/src/xcm_config.rs
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* [ci] Apply cargo-fmt
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
2022-08-31 11:27:14 +00:00
Muharem Ismailov
77953dc75c
Collectives runtime: alliance pallet upgrade introducing new retirement notice feature ( #1573 )
...
* support retirement notice feature
* [ci] Apply cargo-fmt
* use primitive const
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: parity-processbot <>
2022-08-29 21:39:27 +00:00
Keith Yeung
5c54d38b42
Fixes
2022-08-25 18:50:29 +08:00
Keith Yeung
bee34ba3f9
Fixes
2022-08-25 18:13:24 +08:00
Keith Yeung
004f0449f4
Fixes
2022-08-25 16:57:51 +08:00
Keith Yeung
31accbd975
Fixes
2022-08-25 16:38:08 +08:00
Keith Yeung
3ba852b3bf
Fixes
2022-08-25 02:11:44 +08:00
Keith Yeung
d1230e3d77
Fixes
2022-08-25 01:39:43 +08:00
Keith Yeung
57e44204d5
Fixes
2022-08-25 01:16:01 +08:00
Keith Yeung
0f3f8b8623
Fixes
2022-08-25 01:01:51 +08:00
Keith Yeung
1fc2cb4bd2
Fixes
2022-08-25 00:49:38 +08:00
Keith Yeung
67c99fdc4b
Fixes
2022-08-25 00:36:04 +08:00
Keith Yeung
5a34514967
Fixes
2022-08-25 00:17:33 +08:00
Keith Yeung
ad1cbecabd
Fixes
2022-08-24 23:15:56 +08:00
Keith Yeung
9ee4759fcf
Fixes
2022-08-24 22:42:49 +08:00
Keith Yeung
059037f02d
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
2022-08-24 21:45:32 +08:00
Squirrel
8637376efe
shell and seedling did not build ( #1567 )
...
* shell and seedling did not build
(even though CI was green). Time for more CI.
* let's just fix the build in this PR
* Update parachains/runtimes/starters/shell/Cargo.toml
No need to rem this out as we're not testing the new CI changes in this PR.
2022-08-24 11:37:22 +00:00
dependabot[bot]
711769e0ea
Bump serde from 1.0.143 to 1.0.144 ( #1565 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.143 to 1.0.144.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.143...v1.0.144 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 22:56:46 +02:00
Oliver Tale-Yazdi
0889774736
Co #12059 : Revert "Auto-incremental CollectionId" ( #1557 )
...
* Remove try_increment_id weight info
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"polkadot", "substrate"}
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-08-19 13:41:05 +00:00
Muharem Ismailov
1680ae3fe8
Transaction payment runtime apis: query call info and fee details ( #1535 )
...
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
2022-08-18 11:01:56 +00:00
Branislav Kontur
d709336a09
Removed dependance on rococo_parachain_runtime for unrelated stuff ( #1500 )
...
* Clean misleading imports `rococo_parachain_runtime::{AccountId, AuraId}`
* Remove dependance on `rococo_parachain_runtime` for unrelated stuff
* fmt + rebase fix
* Addressing review comments
* Addressing review comments
* Fix for `purge_chain_works` works now with `rococo-local` and purge command needs to allow `rococo-native`
2022-08-16 12:22:22 +02:00
Keith Yeung
0e6fd2dcc7
cargo fmt
2022-08-14 09:52:40 +08:00