- Aug 07, 2021
-
-
Shawn Tabrizi authored
* Guard against XCM recursive bombs by setting a recursion limit * Add test and set a lower recursion limit * Use u32 instead of usize for recursion limit * Make spellcheck happy * Cargo fmt * Limit XCM decoding depth in UMP message processing * Modify test to check for recursion in BuyExecution * Update xcm/xcm-simulator/example/src/lib.rs Co-authored-by:
Kian Paimani <[email protected]> * Make cargo fmt happy * WIP for testing recursion limit in WASM * Revert "WIP for testing recursion limit in WASM" This reverts commit 39181b46d1adf79358f5ae8aafcf480e0c0c22e6. * Remove XCM recursion limit test * Add recursion test for XCM message execution * Set a more sensible recursion limit * Cargo fmt * Implement successful_origin for benchmarks * Set recursion limit to 8 and create integration tests directory for xcm-executor * Cargo fmt * Add runtime-benchmarks feature to test-runtime * Give up creating ConvertOriginToLocal and use EnsureXcm * Re-add ConvertOriginToLocal * Fix compilation * Update xcm/xcm-executor/src/lib.rs Co-authored-by:
Gavin Wood <[email protected]> * Add decoding limit to all versioned XCM decode calls * Fix recursion limit test * Set a lower recursion count for recursion test * move integration tests to their own folder, fix recursion check in execute_effects * Remove xcm-executor integration tests directory * fix up * Update Cargo.lock * Update runtime/parachains/src/ump.rs * use proper decode limit * fix decode depth limit * here too * Update traits.rs * fix compile * fix test * Revert `decode_all_with_depth_limit` changes in parachain.rs * Remove unused imports in parachain.rs Co-authored-by:
Keith Yeung <[email protected]> Co-authored-by:
Kian Paimani <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]> Co-authored-by:
Gavin Wood <[email protected]>
-
zjb0807 authored
* update polkadot-simnet * update Substrate Co-authored-by: parity-processbot <>
-
dependabot[bot] authored
Bumps [hex-literal](https://github.com/RustCrypto/utils) from 0.3.1 to 0.3.3. - [Release notes](https://github.com/RustCrypto/utils/releases) - [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.3.1...hex-literal-v0.3.3 ) --- updated-dependencies: - dependency-name: hex-literal dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
https://github.com/paritytech/substrate/pull/9418thiolliere authored
* add test for call size * fix box arg * fix xcm variant length + increase limit a bit * fix para sudo wrapper call length * reorganize * fmt * fix tests * update Substrate Co-authored-by: parity-processbot <>
-
- Aug 06, 2021
-
-
dependabot[bot] authored
Bumps [hex](https://github.com/KokaKiwi/rust-hex) from 0.4.2 to 0.4.3. - [Release notes](https://github.com/KokaKiwi/rust-hex/releases) - [Commits](https://github.com/KokaKiwi/rust-hex/compare/v0.4.2...v0.4.3 ) --- updated-dependencies: - dependency-name: hex dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.6.5 to 0.6.6. - [Release notes](https://github.com/jeromefroe/lru-rs/releases) - [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/jeromefroe/lru-rs/compare/0.6.5...0.6.6 ) --- updated-dependencies: - dependency-name: lru dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Gavin Wood authored
* MultiAsset TWO * Draft next MultiAsset API. * XCM core builds * XCM Executor builds * XCM Builder builds * API changes making their way throughout * Some TODOs * Further build fixes * Basic compile builds * First test fixed * All executor tests fixed * Typo * Optimize subsume_assets and add test * Optimize checked_sub * XCM Builder first test fixed * Fix builder tests * Fix doc test * fix some doc tests * spelling * named fields for AllOf * Update xcm/src/v0/multiasset.rs Co-authored-by:
Alexander Popiak <[email protected]> * Update xcm/src/v0/multiasset.rs Co-authored-by:
Alexander Popiak <[email protected]> * Update xcm/src/v0/multiasset.rs Co-authored-by:
Alexander Popiak <[email protected]> * Update xcm/src/v0/multiasset.rs Co-authored-by:
Alexander Popiak <[email protected]> * Reformat * Move to XCM version 1 * Spelling * warnings * Replace some more v0->v1s * warnings * format * Add max_assets param * building * test fixes * tests * another test * final test * tests * Rename Null -> Here * Introduce * More ergonomics * More ergonomics * test fix * test fixes * docs * BuyExecution includes * Fix XCM extrinsics * fmt * Make Vec<MultiAsset>/MultiAssets conversions safe * More MultiAssets conversion safety * spelling * fix doc test * Apply suggestions from code review Co-authored-by:
Amar Singh <[email protected]> * Apply suggestions from code review Co-authored-by:
Amar Singh <[email protected]> * fmt * Add v0, remove VersionedMultiAsset * Remove VersionedMultiLocation * Update xcm/src/v1/order.rs Co-authored-by:
Amar Singh <[email protected]> * Update xcm/src/v1/mod.rs Co-authored-by:
Amar Singh <[email protected]> * XCM v0 backwards compatibility * Full compatibility * fmt * Update xcm/pallet-xcm/src/lib.rs * Update xcm/src/v0/order.rs Co-authored-by:
Shawn Tabrizi <[email protected]> * Tweaks to versioning system * Fixes * fmt * Update xcm/xcm-executor/src/assets.rs Co-authored-by:
Shawn Tabrizi <[email protected]> * Update xcm/xcm-executor/src/assets.rs Co-authored-by:
Shawn Tabrizi <[email protected]> * Grumbles * Update xcm/src/v1/multiasset.rs Co-authored-by:
Shawn Tabrizi <[email protected]> * fmt * Update xcm/src/v1/multiasset.rs Co-authored-by:
Shawn Tabrizi <[email protected]> * Update xcm/src/v1/multiasset.rs Co-authored-by:
Shawn Tabrizi <[email protected]> * Fixes * Formatting Co-authored-by:
Alexander Popiak <[email protected]> Co-authored-by:
Amar Singh <[email protected]> Co-authored-by:
Shawn Tabrizi <[email protected]>
-
Robert Klotzner authored
Incorporating post merge review remarks.
-
dependabot[bot] authored
Bumps [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen) from 0.4.23 to 0.4.25. - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/commits ) --- updated-dependencies: - dependency-name: wasm-bindgen-futures dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Chevdor authored
* chore: version bump to 0.9.9 * bump from 0.9.0 to 0.9.9
-
- Aug 05, 2021
-
-
Gavin Wood authored
-
Sergey Pepyakin authored
This is an artifact left by rustfmt which is not dare to remove the comma being conservative.
-
Gavin Wood authored
* Avoid bad pattern of wildcard fees * spelling * fmt * Fix runtimes * spelling
-
Bastian Köcher authored
* Return `relay_parent` as result of collation seconded signal as well Before we only returned the seconded statement. However, to verify the statement in a future proof way, we also need the relay parent that was used as a context to sign the statement. * FMT
-
Martin Pugh authored
* bump versions, substrate and beefy * bump substrate
-
- Aug 04, 2021
-
-
Bastian Köcher authored
* Substrate companion #9491 https://github.com/paritytech/substrate/pull/9491 * update Substrate * Fix build Co-authored-by: parity-processbot <>
-
Lldenaurois authored
* node/approval-voting: Continue to migrate tests to subsystem tests * node/approval-voting: Continue to implement subsystem tests. * Add more tests * node/approval-voting: Add more tests * node/approval-voting: Difficuly determining the proper test scenario for threshold tests * node/approval-voting: Introduce should_trigger_assignment tests * node/approval-voting: Finalize threshold tests * node/approval-voting: Address Feedback and add comments * node/approval-voting: Tidy up approval tests * Tidy up tests * Fix rustfmt
-
Robert Klotzner authored
* Better size limits. * Remove reference to private repo. * Update node/network/protocol/src/request_response/mod.rs Fix statement response size. Co-authored-by:
Andronik Ordian <[email protected]> Co-authored-by:
Andronik Ordian <[email protected]>
-
Martin Pugh authored
* fix listing pallets for benchmarks * fix indent
-
Robert Klotzner authored
Fixes #3557
-
Martin Pugh authored
* initial weights job * add artifact * revertme: changes to test branch * add benchmarking instructions * Revert "revertme: changes to test branch" This reverts commit 2eab22037223967e66a70a16fda14f58e41c6ced. * add kusama + westend weights jobs * fix chevdor comments * add temporary changes for testing again * fix * fix * test sccache fix * Revert "add temporary changes for testing again" This reverts commit bb5a7660151f404994c85abfff31502aac89c1d1. * whitespace
-
- Aug 03, 2021
-
-
Sergey Pepyakin authored
* Introduce upgrade goahead and upgrade restriction signals * Explicit encoding indicies for exposed enums * typo: abscent -> absent * Prune cooldowns as well * Please hunspell
-
André Silva authored
* Companion for substrate#9414 * update Substrate Co-authored-by: parity-processbot <>
-
Amar Singh authored
* init * reserve transfer asset unit test * happy path tests for all dispatchables and can teleport assets to self surprisingly enough * better tests * minimize mock * clean * test send xcm failure when router blocks * rm numbers to prefer variables * clean * test execute with local effects * rm local env stuff * copyrights * fix merge conflict * appease spellcheck * fmt * address review comments * clean constants * fmt
-
ferrell-code authored
* last parachains migration! * migrate runtimes * disable frame supertrait * add pallet::inherent * mock * cargo +nightly fmt
-
ordian authored
-
- Aug 02, 2021
-
-
Sergey Pepyakin authored
* Add `max_memory_pages` * update Substrate Co-authored-by:
Shawn Tabrizi <[email protected]> Co-authored-by: parity-processbot <>
-
Bastian Köcher authored
-
thiolliere authored
-
ordian authored
* some fixes to please cargo-spellcheck * some (not all) fixes for the impl guide * fix
-
Bastian Köcher authored
* Change pallet naming in test-runtime This is required to make the `well_know_keys::ACTIVE_CONFIG` match the `ActiveConfig` key. * Use correct name *
🤦 -
Shawn Tabrizi authored
* cargo +nightly fmt * add cargo-fmt check to ci * update ci * fmt * fmt * skip macro * ignore bridges
-
Arkadiy Paronyan authored
* Update for the new GrandpaAPI * Update substrate * Update substrate
-
Shawn Tabrizi authored
* cargo update -p sp-io * fix benchmarking * fix bridge benchmarks
-
- Aug 01, 2021
-
-
Shaun W authored
* Add xcm-simulator and xcm-simulator-example. * Abstract xcmp and dmp handling. * Use mock message queue. * Xcm simulator example unit tests. * Use relay chain block number on sending msg. * Fix typo. * fmt * more fmt * Fix deps.
-
- Jul 31, 2021
-
-
ferrell-code authored
* migration * migrate runtimes * storage visability * Remove unused Call part * Remove Call part import from parachain mock runtime * Remove Call part import from test-runtime Co-authored-by:
Keith Yeung <[email protected]>
-
ferrell-code authored
* migration * storage visability * migrate runtimes * runtimes * Update runtime/parachains/src/session_info.rs * Remove Call part import from all runtimes for ParaSessionInfo * Remove Call part import from runtime/test-runtime/src/lib.rs * Remove Call part import from parachain mocks Co-authored-by:
Shawn Tabrizi <[email protected]> Co-authored-by:
Keith Yeung <[email protected]>
-
- Jul 30, 2021
-
-
Squirrel authored
* move client consensus code out of primitives * merging crates * import tweak * Fixing build: ServiceFactory is a word... * updating lock file * Fixed typo in error message (to bump build) * update Substrate Co-authored-by: parity-processbot <>
-
- Jul 28, 2021
-
-
ferrell-code authored
* migration * genesis build correctly * migrate runtimes * add genesis builds * expose GenesisBuild * chainspec migration * fmt * check before insert * Reduce visibility of storage items to crate Co-authored-by:
Keith Yeung <[email protected]>
-
- Jul 27, 2021
-
-
ferrell-code authored
* migrate * migrate runtimes
-