Commit Graph

51 Commits

Author SHA1 Message Date
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
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
dependabot[bot] df361560b2 Bump serde from 1.0.141 to 1.0.143 (#1541)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.141 to 1.0.143.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.141...v1.0.143)

---
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-12 07:11:52 +00:00
joe petrowski 0e83ad23aa Add Collectives Parachain (#1346)
* add new runtime and remove unnecessary pallets

* make runtime build

* add collectives to collator node

* sketch alliance config in runtime

* Slash handler was supposed to be commented out (for now)

* correct signature

* move to impls

* add alliance to runtime

* rustfmt

* IsReserve, remove Ping, update fn deposit

* add transaction_payment event

* Update parachains/runtimes/collectives/collectives-polkadot/src/lib.rs

Co-authored-by: Squirrel <gilescope@gmail.com>

* fmt

* add genesis config to chain spec

* fix merge

* local and dev configs only (for now)

* remove duplicate imports

* Collectives polkadot runtime to cargo workspace members (#1397)

* Collectives polkadot runtime: use unit type impl for identity verifier (#1398)

* apply fn rename

* fmt

* one less todo

* Less code in magic macros (#1407)

* Less code in magic macros

* cargo fmt

* Bench alliance (#1427)

* add benchmarks

* call one script from the other

* shebang changes so works on nixos too.

* bench in parallel as separate jobs

* hyphens can turn into underscores

* remove workaround to trigger bench

Co-authored-by: alvicsam <alvicsam@gmail.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* enable ci jobs

* fix publish bench results jobs

* chainspecs for collectives-westend (#1441)

* initial chainspecs for collections relay chain

* plumb in the collectives-westend chainspec

* add Runtime::CollectivesWestend

* lock

* Collectives: teleport slashed assets  (#1433)

* Collectives: teleport slashed assets

* fmt

* Cargo.lock > polkadot-parachain 0.9.25

* create temp account for imbalance

* treasury acc id from pallet id

* move accounts into constants, use here junction for assets

* assets location is relay chain, accounts as parameters

* fix typos

* fix typo

* Update parachains/runtimes/collectives/collectives-polkadot/src/constants.rs

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>

* Move alliance proposal provider to impls.rs (#1464)

* Move to impls alliance proposal provider

* rustfmt

* Bumping spec version

(so that we can redeploy with slashing change.)

* cargo lock

* slurp collectives digest to make appear in release notes (#1473)

* add slurp

* Slurp better :)

* Bring some order

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>

* reorder barrier

* Update parachains/runtimes/collectives/collectives-polkadot/src/xcm_config.rs

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>

* address review

* clean construct runtime

* fmt

* looks pretty but brings in too much

Co-authored-by: Squirrel <gilescope@gmail.com>
Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
Co-authored-by: alvicsam <alvicsam@gmail.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
2022-08-11 11:11:10 +00:00
Roman Useinov 530a0aaf0c [benchmarks] pr with weights master (#1522)
* [benchmarks] pr with weights

* fix weights to reflect the current master state

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
2022-08-10 13:10:20 +02:00
Ignacio Palacios 23a7fdd909 Upgrade spec_version to 9230 and bump transaction_version for assets parachains. (#1340) (#1494)
* Transaction version bump + updated spec_version

* Reformatting issue

* Adding missing runtimes

* Upgrading contracts pallet runtime version

* Upgrading Seedling runtime

* Bump polkadot-parachain version

Co-authored-by: Wilfried Kopp <wilfried@parity.io>

Co-authored-by: Hector Bulgarini <hbulgarini@gmail.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>
2022-08-08 17:02:50 +02:00
girazoki 4d04eebb44 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
dependabot[bot] 416834d702 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
Sergej Sakac 46eb9797b4 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
ZhiYong e69bca17be Companion for substrate#11690 (#1377)
* Companion for substrate#11690

* Fix

* Fix

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>
2022-07-29 21:01:54 +02:00
Miguel Hervas 2e46edfa10 Adding TxVersion Check to signed params (#1483) 2022-07-29 18:15:48 +02:00
dependabot[bot] 5eb49e8068 Bump serde from 1.0.139 to 1.0.140 (#1457)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.139 to 1.0.140.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.139...v1.0.140)

---
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-07-25 07:17:03 +00:00
dependabot[bot] 6bd0feeb42 Bump serde from 1.0.137 to 1.0.139 (#1439)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.137 to 1.0.139.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.137...v1.0.139)

---
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-07-16 23:13:09 +02:00
dependabot[bot] cd200ad223 Bump smallvec from 1.8.1 to 1.9.0 (#1421)
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.8.1...v1.9.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>
2022-07-16 15:12:16 +02:00
Jegor Sidorenko ba9d9cdf6e Companion to #11398 (#1324)
* Companion to #11398

* Remove buy_item() from AssetOwner

* Remove set_price() as well

* Remove set_price and buy_item from the proxy in Westmint and Statemine

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>
2022-07-13 13:21:34 +00:00
Squirrel 8f613256be Penpal testing runtime (#1254)
* adapt to common good paras

* fmt

* Updated to leave parachain-template alone

* use norm_id + cargo fmt

* removed comment as we are not touching parachain template

* is_penpal

* updated code to new locations

* changes required to get penpal running

* cargo fmt

* remove warning, rename chain

* Update polkadot-parachain/src/command.rs

* Update polkadot-parachain/src/command.rs

Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com>

* remove now moved functions

* added runtime description

* add missing copyright notices

* more copyright notices.

Co-authored-by: NachoPal <ignacio.palacios.santos@gmail.com>
2022-07-12 12:59:41 +00:00
Branislav Kontur 3bb82e5126 Typo + some clippy stuff (unnecessary clone/to_string/refs) + fmt (#1437) 2022-07-11 11:05:40 +00:00
Ignacio Palacios a47caa1ebc Update Readme for integration-tests (#1429)
* Update Readme for integration-tests

* Update parachains/README.md

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
2022-07-06 11:10:14 +02:00
Ignacio Palacios b80db21988 Adding integration tests (#1426)
* adding parachains integration tests

* final integration-tests

* Update parachains/integration-tests/statemine/xcm/2_ump.yml

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* Update parachains/integration-tests/statemine/xcm/1_dmp.yml

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* Update parachains/integration-tests/statemine/xcm/4_hrmp.yml

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* Update parachains/integration-tests/statemint/xcm/1_dmp.yml

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* Update parachains/integration-tests/statemint/xcm/2_ump.yml

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* Update parachains/integration-tests/statemint/xcm/4_hrmp.yml

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* Update parachains/integration-tests/statemine/xcm/3_hrmp-open-channels.yml

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* Update parachains/integration-tests/statemint/xcm/3_hrmp-open-channels.yml

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* clean up & trailling spaces

* leftovers

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-07-05 12:24:54 +02:00
bernardo a940d16f7b add wss bootnodes to statemine/t chainspec (#1378)
* add wss bootnodes to statemint chainspec

* add wss bootnodes to statemine chainspec
2022-06-29 11:29:28 -03:00
dependabot[bot] f4b1f59e46 Bump smallvec from 1.8.0 to 1.8.1 (#1409)
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: smallvec
  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-06-27 08:39:27 +00:00
Alexander Gryaznov 4bb9b610f4 Companion for substrate#11501 (#1404)
* Companion for substrate#11501

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>
2022-06-23 12:48:13 +00:00
Squirrel 818a19873a NonTransfer should be a superset of collator selection (#1385)
* This should ideally be set.

* Not convinced guard order is always guarenteed.

* assets / uniques should not be included.

* correction
2022-06-18 14:06:52 +00:00
Keith Yeung 49fc743a7e Companion for paritytech/substrate#11631 (#1363) 2022-06-16 17:36:19 +00:00
ZhiYong e857bc957f Companion for substrate#11618 (#1367)
* Companion for substrate#11618

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>
2022-06-16 02:43:16 +00:00
Keith Yeung ae5e6d4c4d Bounded ping pallet (#1333)
* Bounded ping pallet

* cargo fmt
2022-06-15 20:58:52 +00:00
Shawn Tabrizi 11201950d2 Lower all Assets / NFT deposits by 10x (#1332)
* lower all deposits by 10x

* undo rococo stuff

* Apply suggestions from code review

* update asset deposits

* align statemint deposit ratios

Co-authored-by: joepetrowski <joe@parity.io>
2022-06-14 17:13:11 +00:00
Bastian Köcher 8befd605b6 Ensure relay chain block number strictly increases (#1280)
* Ensure relay chain block number strictly increases

This is a safeguard for when async backing is enabled on the relay chain and multiple parachain
blocks per relay chain block are legal. We will need to later change this to support then multiple
parachain blocks per relay chain block.

* Make the check configurable

* Fix compilation

* Update pallets/parachain-system/src/lib.rs

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>

* Update pallets/parachain-system/src/lib.rs

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>

* Fix test

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
2022-06-05 09:21:03 -05:00
joe petrowski 0c4a9f0801 Statemint Should Not Recognise DOT Reserves (#1318)
* recognise no reserves

* adjust should_execute

* docs and pass should_execute

* typo
2022-06-01 11:11:31 +00:00
Gavin Wood 1ea523dde7 Companion for #11124 (#1316)
* Fixes

* Bump

* Formatting

* Bump

* Bump
2022-05-31 18:50:02 +01:00
Squirrel fefd160138 Add rockmine json (#1290) 2022-05-31 10:06:42 +00:00
Gavin Wood 154ea86efb Companion to Substrate #11490 (#1305)
* Fix warnings

* Bump

* Fix build

* Fix the build

* Fixes

* Formatting

Co-authored-by: Bastian Köcher <info@kchr.de>
2022-05-30 19:47:28 +02:00
Squirrel 1fe20e9022 transfer ownership of uniques looks cheaper. (#1302)
batch all now looking a bit expensive compared to batch. no big changes.
2022-05-27 10:49:55 +00:00
Alexander Theißen 93a01eda22 contracts: Update bootnodes (#1294) 2022-05-26 10:57:40 +00:00
Squirrel da577b3f51 sudo was removed but we were still pulling in the crate. (#1289) 2022-05-24 12:13:31 +00:00
joe petrowski c492f9e603 Runtime Documentation (#1282)
* add docs to parachain runtimes

* update and add top readme

* clarify docs

* review plus licenses

* Update parachains/README.md

* Update parachains/runtimes/assets/README.md

Co-authored-by: Bernhard Schuster <bernhard@ahoi.io>

* Update parachains/runtimes/assets/README.md

Co-authored-by: Bernhard Schuster <bernhard@ahoi.io>

Co-authored-by: Bernhard Schuster <bernhard@ahoi.io>
2022-05-24 12:58:39 +02:00
Chevdor 08d5019bd5 Runtime version bump to 922 (#1283)
* Runtime version bump to 922

* Switch to 9220
2022-05-23 14:37:20 +02:00