Commit Graph

1140 Commits

Author SHA1 Message Date
Branislav Kontur 4a9dec9d7e Init of pallet with transfer_asset_via_bridge call
Init of pallet with `transfer_asset_via_bridge` call

Init of pallet with `transfer_asset_via_bridge` call - setup basic tests
2022-12-22 12:52:37 +01:00
Branislav Kontur d9d5a9dd0b compile tests 2022-12-22 12:49:21 +01:00
joepetrowski 4191a4dffc instantiate statemint 2022-12-01 08:42:51 +01:00
joepetrowski c4875867e0 no default instance 2022-11-30 22:04:20 +01:00
joepetrowski e569b68889 fix AssetFeeAsExistentialDepositMultiplier 2022-11-30 21:48:20 +01:00
joepetrowski e8afde4bfa ForeignCreators 🎉 2022-11-22 21:29:04 +01:00
joepetrowski 5f7f8c2a01 statemine progress 2022-11-22 21:24:25 +01:00
Branislav Kontur 633366b172 (pallet-assets/pallet-asset-tx-payment) pathched with sv-locked-for-gav-xcm-v3-and-bridges-plus-assets 2022-11-22 01:37:15 +01:00
joepetrowski b8ed7e7c64 fmt 2022-11-18 21:20:53 +01:00
joepetrowski 362a9078df fix deps to make compile 2022-11-18 20:35:00 +01:00
joepetrowski 35d1e577ae cargo fmt to resolve duplicate imports on merge 2022-11-18 15:53:46 +01:00
joepetrowski 6de6313909 fix logical error 2022-11-18 15:51:22 +01:00
joepetrowski 1e0515e1ae make it actually compile 2022-11-18 15:51:17 +01:00
joepetrowski 47d96e0192 make it almost compile 2022-11-18 15:50:37 +01:00
joepetrowski 94717a415b fix AssetsToBlockAuthor 2022-11-18 15:49:33 +01:00
joepetrowski df40d77e2f leave some todos 2022-11-18 15:49:27 +01:00
joepetrowski 9ab1739304 add second instance 2022-11-18 15:48:22 +01:00
joepetrowski aa67a43c97 rustc grumbles 2022-11-18 15:47:40 +01:00
Branislav Kontur d2827e4174 Patched dependencies (substrate + polkadot:gav-xcm-v3) 2022-11-08 15:18:49 +01:00
Branislav Kontur a6dd610d74 Fix for missing weight for fn unpaid_execution() 2022-11-08 14:57:49 +01:00
Branislav Kontur 23f0bcdc7d Fix for FungiblesAdapter - trait changes: Contains -> AssetChecking 2022-11-08 13:48:15 +01:00
Branislav Kontur 6ece1b652f Merge remote-tracking branch 'origin/master' into gav-xcm-v3 2022-11-07 11:38:53 +01:00
dependabot[bot] ca213eaa49 Bump syn from 1.0.102 to 1.0.103 (#1796)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.102 to 1.0.103.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.102...1.0.103)

---
updated-dependencies:
- dependency-name: syn
  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-11-02 00:09:52 +01:00
dependabot[bot] 4b869cac55 Bump scale-info from 2.2.0 to 2.3.0 (#1809)
Bumps [scale-info](https://github.com/paritytech/scale-info) from 2.2.0 to 2.3.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/v2.3.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 13:18:24 +01:00
Sebastian Kunert ab02131008 Add RPC nodes to pov-recovery test (#1807) 2022-10-31 19:45:20 +01:00
Alexander Theißen 3577f8d398 Companion for update wasm-opt (#1806)
* Update cc

* Update regex
2022-10-30 15:51:45 +00:00
Bastian Köcher 79d442f880 Companion for aura CompatibilityMode (#1803)
* Companion for aura CompatibilityMode

As no parachain was launched with the broken authority set change handling we don't need to expose
the compatibility mode.

* FMT

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

Co-authored-by: parity-processbot <>
2022-10-28 13:51:54 +00:00
Oliver Tale-Yazdi 53d8651f6b Co #12558: Update pallet-multisig benches (#1805)
* Typo

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add multisig weights

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* cargo update -p polkadot-runtime-common

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2022-10-26 22:29:27 +00:00
Shawn Tabrizi bdfd71088f Companion for #12457 (Bounded Multisig) (#1793)
* u16 -> u32

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

Co-authored-by: parity-processbot <>
2022-10-25 19:49:33 +00:00
Branislav Kontur 7290787bf3 Avoid consuming XCM message for NotApplicable scenario (#1787)
* Avoid consuming message for NotApplicable scenario

* Avoid consuming message for NotApplicable scenario tests
2022-10-25 13:50:19 +02:00
dependabot[bot] 3b73200c9e Bump assert_cmd from 2.0.4 to 2.0.5 (#1800)
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.4...v2.0.5)

---
updated-dependencies:
- dependency-name: assert_cmd
  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-10-25 08:43:37 +02:00
Alexander Theißen 7c8d1f7a37 contracts: Companion for offchain indeterminism (#1794)
* Adapt to new pallet contracts API

* Fix

* Fix runtime APIs

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

Co-authored-by: parity-processbot <>
2022-10-24 18:12:56 +00:00
Keith Yeung b566f3b303 Fix a few migration issues with 2D weights (#1755)
* Give a max proof size to DMP individual weight processing during migration

* Fix a few migration issues with 2D weights

* Update substrate

* Fixes

* cargo fmt

* Re-add v1 migration

* Set DEFAULT_POV_SIZE to 64 KB

* Use Weight::from_parts

* Update Polkadot

* Fixes
2022-10-24 15:03:02 +00:00
Davide Galassi 3d257b770d Single ParachainBlockImport instance (#1782) 2022-10-21 10:41:46 +02:00
João Paulo Silva de Souza 73a53d99b7 Add link to the weight comparison tool for weights PRs (#1788)
* add link to the weight comparison tool for weights PRs

* Update scripts/create-benchmark-pr.sh

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

* add backport checklist item

* move to scripts/ci

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-10-21 08:01:09 +00:00
dependabot[bot] 3409d6205a Bump assert_cmd from 2.0.4 to 2.0.5 (#1792)
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.4...v2.0.5)

---
updated-dependencies:
- dependency-name: assert_cmd
  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-10-21 09:37:25 +02:00
dependabot[bot] ce654c4338 Bump async-trait from 0.1.57 to 0.1.58 (#1783)
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.57 to 0.1.58.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.57...0.1.58)

---
updated-dependencies:
- dependency-name: async-trait
  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>
Co-authored-by: parity-processbot <>
2022-10-20 20:45:35 +02:00
Michal Kucharczyk 304ce594a5 BlockId removal: refactor: Finalizer (#1779)
* BlockId removal: refactor: Finalizer

It changes the arguments of methods of `Finalizer` trait from: block:
`BlockId<Block>` to: hash: `&Block::Hash`

This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)

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

* update Cargo.lock

* Cargo.lock update again

Co-authored-by: parity-processbot <>
2022-10-20 15:21:40 +00:00
Javier Viola c1ce9c5dab bump zombienet version (#1786) 2022-10-20 16:27:22 +02:00
Oliver Tale-Yazdi 1219981610 Co #12341: Use try-runtime feature (#1759)
* Add try-runtime feature

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* More feature gates

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add dummy command

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

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

* Fix code

* Remove unused import

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Imports...

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* fmt

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* fmt

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-10-20 13:17:36 +00:00
Alexander Samusev 43bec3623b [ci] Fix broken ci, move zombienet job (#1785) 2022-10-20 11:58:46 +02:00
Alexander Samusev a53703ee3e [ci] Split .gitlab-ci.yml (#1701)
* [WIP][ci] Split .gitlab-ci.yml

* comment unused includes

* fix typo

* fix needs

* add all stages

* exclude zombienet from check
2022-10-19 16:31:42 +02:00
Andronik 7273afa5f2 pov-recovery: try connect to validators (#1711)
* zombienet/pov-recovery: do not setup reserved connection for collators

* connect eve to dave

* REVERTME: diener update --polkadot --branch ao-recovery-try-connect

* REVERTME: cargo update -p sp-io

* REVERTME: cargo update -p sp-io and hope for the best

* pass reserved flags for eve after --

* Revert "REVERTME: cargo update -p sp-io and hope for the best"

This reverts commit 0d66b70e5ccedc7a35bcf1b30a070e68cd6a8ccc.

* Revert "REVERTME: cargo update -p sp-io"

This reverts commit f8d16c375afd41b8e0c84b59fe62019b86ba95b9.

* REVERTME: cargo update -p sp-io

* Revert "REVERTME: cargo update -p sp-io"

This reverts commit d48e1e6aa2134591b285e284077a063356d44eed.

* REVERTME: cargo update -p sp-io

* REVERTME: cargo update -p sp-io

* try some logs and flags

* apply some suggestions from Sebastian

* let Charlie produce blocks

* Revert "REVERTME: cargo update -p sp-io"

This reverts commit 02838a656eadfcbd26520e6b60ee21ffd8b27afd.

* git checkout master Cargo.lock

* Revert "REVERTME: diener update --polkadot --branch ao-recovery-try-connect"

This reverts commit 8ae8d5347b787ce5e08d6fdb5e7f266299fd70dd.

* zombienet/pov-recovery: 4 validators

* REVERTME: diener update --polkadot --branch ao-recovery-try-connect && cargo update -p polkadot-primitives

* Revert "REVERTME: diener update --polkadot --branch ao-recovery-try-connect && cargo update -p polkadot-primitives"

This reverts commit 3cc918220de5bf8ca5368586e55556464d106afd.

* make sure it is not due to backing group connections

* clean up flags

* try no-mdns on collators, limit out-peers on validators

* try no-mdns on validators and bob

* fix bob flag

* try 7 validators (3 chunks needed for recovery)

* reserved-only on validators

* reserved-only on alice and charlie

* explicitly pass log targets

* rm default_args

* parachain=debug and cumulus-pov-recovery=debug

* try another idea

* try 13 validators (4 chunks required)

* bump block height to 20

* Register parachain after 20sec, increase block target to 20

* bump zombienet version

* remove debug

* bump zombienet

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

Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
Co-authored-by: Javier Viola <javier@parity.io>
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de>
2022-10-19 10:02:29 +00:00
dependabot[bot] 98425f144b Bump clap from 4.0.11 to 4.0.17 (#1778)
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.11 to 4.0.17.
- [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.0.11...v4.0.17)

---
updated-dependencies:
- dependency-name: clap
  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-10-19 11:18:48 +02:00
Davide Galassi 18c01ee3d6 Reduce parachain template cognitive complexity (#1777)
* Removed some not required generics
* Type aliases for some verbose types
2022-10-19 09:58:29 +02:00
Michal Kucharczyk 5e63a1dce7 BlockId removal: refactor: StorageProvider (#1770)
* BlockId removal: refactor: StorageProvider

It changes the arguments of `Backend::StorageProvider` trait from:
block: `BlockId<Block>` to: hash: `&Block::Hash`

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

Co-authored-by: parity-processbot <>
2022-10-18 14:34:14 +00:00
Sebastian Kunert e960589cf9 Update clap to version 4 (#1745)
* Bump to clap4

* Adjust to clap 4 style

* Remove two more deprecated occurences of clap macro

* Remove "deprecated" feature from clap

* Update cargo lock

* Fix group name

* More skipped group names
2022-10-18 11:30:22 +00:00
Alexander Theißen 00626c0183 contracts: Reduce session length and enable unstable interfaces (#1748)
* Reduce session for contracts to 10 minutes

* Build pallet-contracts with unstable interface

* Set `MinCandidates` to 0 to allow only invulnerables as collators
2022-10-18 09:56:17 +00:00
Muharem Ismailov cf9d6bb43c Runtime release checklist template update (#1762)
* Runtime release checklist template update

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove check

* xcm 50%

* xcm config check update

* post release

* update post release check

* update post release check

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Squirrel <gilescope@gmail.com>
2022-10-18 11:24:29 +02:00
dependabot[bot] b24d7285e8 Bump proc-macro2 from 1.0.46 to 1.0.47 (#1774)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.46...1.0.47)

---
updated-dependencies:
- dependency-name: proc-macro2
  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-10-18 09:31:07 +02:00