- Jan 20, 2022
-
-
Oliver Tale-Yazdi authored
* Add `without_storage_info` Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add `without_storage_info` Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add `without_storage_info` Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add `without_storage_info` Signed-off-by: Oliver Tale-Yazdi <[email protected]> * update lockfile for {"polkadot"} * Run `cargo update -p sp-io` Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <>
-
- Jan 19, 2022
-
-
Squirrel authored
* First doc lines should show as tool tips * Update pallets/collator-selection/src/lib.rs * Update pallets/collator-selection/src/lib.rs Co-authored-by: joe petrowski <[email protected]> * Update pallets/collator-selection/src/lib.rs Co-authored-by: joe petrowski <[email protected]> * Update pallets/collator-selection/src/lib.rs Co-authored-by: joe petrowski <[email protected]> * moving comment onto storage Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: joe petrowski <[email protected]>
-
Bastian Köcher authored
* xcmp-queue: Fix handling of encoded blobs With #701 we tried to fix some infinite loop related to encoded blobs, however that lead actually to not being able to process encoded blobs at all. The reason for this is that `decode_all` doesn't consume the given input. The point of this function is that it returns an error if the data couldn't be decoded or there is still data left. However, this means that the check `remaining_fragments.len() < last_remaining_fragments.len()` would always fail. We remove the while loop, because we decode the entire fragment anyway or it fails. Aka, we don't need to loop here. Next we remove the broken check and we directly reset the `remaining_fragments` (because `decode_all` doesn't consume anything). * Restore correct behavior We need to use a while loop, because there can be multiple `Vec<u8>`s. We also need to use `decode`, because `decode_all` would otherwise return an error if the input is not empty afterwards. * Remove unused import
-
- Jan 14, 2022
-
-
Ignacio Palacios authored
* before adding seedling client side * seedling runtime compiles * create seedling spec script added * seedling node & BaseCallFilter fixes * update AllPalets * formatting * CallFilter + SignedExtra + AccountData fix * XCM removed * cleanup * solo-to-para pallet added & before testing * fix runtime upgrade method * soloToPara pallet + set header * clean up * clean up 2 * signed extension check sudo added * fmt + cleanup * Refac code and fixes * fmt * Update pallets/solo-to-para/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update pallets/solo-to-para/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update pallets/solo-to-para/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * small fixes * OnValidationData used * small changes * Update pallets/solo-to-para/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update pallets/solo-to-para/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update pallets/solo-to-para/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * OnValidationData replaced by OnSystemEvent * fmt + cargo fix * disable-default-bootnodes for seedling script Co-authored-by: Ricardo Rius <[email protected]> Co-authored-by: Ricardo Rius <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Jan 12, 2022
-
-
Xiliang Chen authored
* fix tests * update lockfile for substrate * update lockfile for {"polkadot"} Co-authored-by: parity-processbot <>
-
- Jan 03, 2022
-
-
Bastian Köcher authored
* Adds an integration test for testing the migration * Fix the custom validation header use case
-
- Dec 31, 2021
-
-
zqhxuyuan authored
* minor dmq test * fmt
-
- Dec 28, 2021
-
-
Keith Yeung authored
-
- Dec 24, 2021
-
-
Bastian Köcher authored
* sketch downward messages * bring in attempt to mock mqc-head from moonbeam * just patch individual crates * fing comma * add some logs * Holy shit, we actually imported a block! * Actually mock the message queue chain * use relay parent number for `sent_at` * finish moving MQC to primitives * more complete mock and better config type * change name * fix export * better map types * fix dependencies after rebase * try-rejigging branches because this is an override * try to re-jig for hrmp mcqs * fix branches * actually fix branches better * even better * Removestray log lines Co-authored-by: Bastian Köcher <[email protected]> * Nicer handling of default `ParachainSystem` name * better docs * Default MockXcm for people who only who don't care to mock xcm. * cargo fmt * trailing commas * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * use the variable for hrmp to * fix deref * deduplicate MessageQueueChain * better docs for MessageQueueChain * Use `Vec<u8>` instead of `&'static [u8]` Co-authored-by: Bastian Köcher <[email protected]> * cargo fmt * associated changes for using Vec<u8> * Unused import * Fix compilation Co-authored-by: Joshy Orndorff <[email protected]> Co-authored-by: Joshy Orndorff <[email protected]>
-
cheme authored
* state-update4 branch * new ref * Update to latest. * update deps * switch to host state version * update * fmt * up * remove trie patch * remove patch * fmt * update * set state_versions in runtimes * state version from storage * state version from storage * seedling compat * restore lock * update lockfile for substrate * update lockfile for polkadot Co-authored-by: parity-processbot <>
-
- Dec 21, 2021
-
-
Keith Yeung authored
-
- Dec 14, 2021
-
-
Gavin Wood authored
* author is Some * Bump * Lockfile * Fixes * Fixes * Fixes * Fixes * Bump * Update Cargo.lock * bump substrate and polkadot * fmt Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Dec 11, 2021
-
-
Keith Yeung authored
-
- Dec 10, 2021
-
-
Bastian Köcher authored
* Update to latest Polkadot & Substrate * More fixes
-
- Dec 09, 2021
-
-
Gavin Wood authored
* MaxConsumers * Fixes * Fixes * Fixes * Fixes * Bump * Fixes * Fixes Co-authored-by: Shawn Tabrizi <[email protected]>
-
Keith Yeung authored
* Support overweight messages in XCMP queue * Add storage migration logic to XCMP queue pallet * Check whether required weight is larger than max individual weight first * cargo fmt * Add some unit tests * Remove review question comment
-
- Dec 03, 2021
-
-
Bastian Köcher authored
* Adds support for returning a custom header from `validate_block` This adds support for returning a custom header from `validate_block`. Before this, we always returned the header of the block that was validated (and still do it by default). However, after this pr it is possible to set a custom header or better custom head data that will be returned instead from `validate_block`. This can be for example when a chain wants to fork. * FMT
-
- Dec 02, 2021
-
-
Kian Paimani authored
* almost integrate * revert branch changes * remove extra deps * some review comments' * Fix a bunch of stuff * Update parachain-template/node/Cargo.toml Co-authored-by: Alexander Popiak <[email protected]> * Fix * Fix * fix benchmark * fmt * Remove wrong bench test Co-authored-by: Alexander Popiak <[email protected]>
-
Keith Yeung authored
* Rename InboundXcmpStatus and its related types * Rename OutboundXcmpStatus and its relevant types * Add documentation to the newly created types * Ensure storage prefixes are kept the same * Add code comments * Revert storage name changes * typo fix Co-authored-by: Alexander Popiak <[email protected]>
-
- Dec 01, 2021
-
-
zjb0807 authored
-
thiolliere authored
* companion * Run cargo update Co-authored-by: Keith Yeung <[email protected]>
-
- Nov 30, 2021
-
-
zjb0807 authored
* update frame-benchmarking/runtime-benchmarks * cargo update * add more feature flags Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Nov 24, 2021
-
-
Chevdor authored
* Initial version * Fix branch pattern * Fix template * Update .github/ISSUE_TEMPLATE/release.md Co-authored-by: Alexander Popiak <[email protected]> * Update .github/ISSUE_TEMPLATE/release.md Co-authored-by: Alexander Popiak <[email protected]> * Rebase master and fmt * Swap out Polkadot JS section for integration tests + remove tags * remove tags Co-authored-by: Alexander Popiak <[email protected]>
-
Gavin Wood authored
-
- Nov 19, 2021
-
-
Bastian Köcher authored
* Update Substrate & Polkadot * Disable tests without debug assertions
-
Georges authored
* Moving `pallet-asset-tx-payment` to substrate * Pointing `substrate` to my branch to fix the CI * Fixing cargo.lock Memmlock2 was in double * Duplicate Prost-build * cargo update * Fixing cargo.lock post merge * Changes to `Cargo.toml` after substrate merge
-
- Nov 16, 2021
-
-
Dan Shields authored
* move to rust 2021 * fix formatting, more moves
-
- Nov 12, 2021
-
-
Arkadiy Paronyan authored
* Update for latests substrate & polkadot * fmt
-
- Nov 11, 2021
-
-
Dan Shields authored
* tweaks from template downstream review #80 * more tweaks * Update parachain-template/node/src/command.rs * tweaks to template and other chainspecs * fmt * update more tweaks from downstream * fix build
-
- Nov 08, 2021
-
-
Alexander Popiak authored
* Update references * update deps * set substrate deps for pallet-asset-tx-payment * add DisabledValidatorsThreshold to parachain template * add DisabledValidatorsThreshold to statemint runtimes * adjust imports * update Cargo-lock * add DisabledValidatorsThreshold to mock config * cargo +nightly fmt * adjust on_disabled type * remove on_chain_votes function in ParachainHost impl * remove ScrapedOnChainVotes * bump polkadot-collator version Co-authored-by: Chevdor <[email protected]> * update Cargo.lock * set spec_versions to 500 * Statemine cannot execute. * disallow XCM execute on statemint * cargo fmt * remove unnecessary dep on node-primitives * select parachains-common/std feature when building rococo-runtime with std * adjust Statemint to the three digit spec_version format * Add script to generate simple changelogs (#668) * Update weights from v4 for v5 comparison (#673) * updates weights * pallet_unique benchmarks added + weights upstream from v4 * Fix benchmarks after Parachain Template (#677) * updates weights * pallet_unique benchmarks added + weights upstream from v4 * benchmarks fix for parachain template * Weights updates for Statemine v5 (#682) * updates weights * pallet_unique benchmarks added + weights upstream from v4 * weights updates for statemine v5 * mention Storage in construct_runtime macro for pallet-xcm (#680) * Use pallet-xcm for version wrapping (#689) * use PolkadotXcm for XcmRouter WrapVersion * use PolkadotXcm for version wrapping Co-authored-by: Bryan Chen <[email protected]> * patch weight for batch_all from rerun * Runtime version bump to v503 (#694) * adjust genesis value generation scripts to output entries array + add script to derive encoded call * add script to generate shell spec from runtime wasm * Ensure a bad datastream cannot cause problems (#701) * Ensure a bad datastream cannot cause problems * Formatting * Formatting * update Polkadot (to 0.9.11 169bab55d) * bump spec versions * Allow Queries and Subscriptions Fixes Formatting * fix build * make fmt happy * statemint imports * slight naming changes in script * add shell genesis data + wasm + chainspec * adjust generated shell spec with production config values * update Substrate and Polkadot to master * fix deps * swap out bootnodes for statemint shell * add a script for verifying the shell chain spec * add sha checksum for head data * remove verification script * remove hex wasm file * update Substrate and Polkadot again and fix compilation * update and fix lock file * formatting * remove redundant dispatch_as weight Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Chevdor <[email protected]> Co-authored-by: Gav Wood <[email protected]> Co-authored-by: Ignacio Palacios <[email protected]> Co-authored-by: Bryan Chen <[email protected]> Co-authored-by: joepetrowski <[email protected]>
-
- Oct 31, 2021
-
-
thiolliere authored
* udpate polkadot substrate * fmt with latest nightly
-
- Oct 29, 2021
-
-
Bastian Köcher authored
* Update Substrate & Polkadot * FMT
-
- Oct 27, 2021
-
-
Keith Yeung authored
* Bump syn to 1.0.81 * Make formatting check happy
-
Gavin Wood authored
* Ensure a bad datastream cannot cause problems * Formatting * Formatting
-
- Oct 19, 2021
-
-
Alexander Popiak authored
* move dev-deps into correct section * generate Readme.md * Update pallets/asset-tx-payment/README.md Co-authored-by: Keith Yeung <[email protected]> Co-authored-by: Keith Yeung <[email protected]>
-
- Oct 15, 2021
-
-
Alexander Popiak authored
-
- Oct 14, 2021
-
-
Dan Shields authored
Co-authored-by: Dan Shields <[email protected]>
-
- Oct 12, 2021
-
-
Sergey Pepyakin authored
* Look at the upgrade go-ahead and restriction signals * Update Cargo.toml * Drop old docs for validation code * Update tests * Fix typo * Add doc-comments for read_optional_entry * Add a note about ValidationData * Introduce migration for removing unused storage entry * Fix indentation * Use intra-doc link syntax * Double-check that GoAhead signal is not spurious * fmt * Drop commented code * Fix typos Co-authored-by: Alexander Popiak <[email protected]> * Add a weight for StorageVersion write Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Chris Sosnin <[email protected]> Co-authored-by: Chris Sosnin <[email protected]> Co-authored-by: Alexander Popiak <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Oct 11, 2021
-
-
Alexander Popiak authored
* use new pallet name based genesis config names * use custom substrate and update polkadot * add initial asset-tx-payment pallet * update cargo.toml * add (failing) tests * dispatch Calls instead of using Pallet functions * fix fee-refund split * add test for transaction payment with tip * update cargo.lock * update cargo.lock * remove mint workaround and use Mutable trait * extract fee charging logic into OnChargeAssetTransaction trait * use asset-tx-payment in statemint runtime * make extrinsics public * make extrinsics public * use ChargeAssetIdOf type alias * update deps * move back to AssetIdOf * remove extra rpc_http_threads * use different substrate branch * Update pallets/asset-tx-payment/src/payment.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update pallets/asset-tx-payment/src/payment.rs Co-authored-by: Tomasz Drwięga <[email protected]> * remove overrides * override substrate deps (again) * increment spec_version and transaction_version (because we change transaction signing) * remove direct dependency on pallet-balances from asset-tx-payment * remove Assets pallet visibility workaround * add docs and comments * remove unused imports * more docs * add more debug asserts to document assumptions * add test for tx payment from account with only assets * add test for missing asset case * extend test to cover non-sufficient assets * add a test for Pays::No (refunded transaction) * add type alias comments * add more doc comments * add asset-tx-payment to statemine and westmint * improve formatting * update license headers * add default implementation of HandleCredit for () * update doc comments and format imports * adjust Cargo.toml * update cargo.lock * cargo fmt * cargo fmt * cargo fmt * cargo +nightly fmt * add type alias for OnChargeTransaction * cargo +nightly fmt * convert ChargeAssetTxPayment from tuple struct to regular struct * add more comments * formatting * adjust imports and comment * cargo +nightly fmt * reformat comment * use ChargeTransactionPayment's own get_priority + update Substrate * update Substrate and Polkadot * cargo fmt * cargo fmt * add OperationalFeeMultiplier to asset tx payment tests * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * add doc links * charge a minimum converted asset fee of 1 if the input fee is greater zero * cargo +nightly fmt * bump spec and transaction version Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Alexander Popiak authored
* bump runtime spec version * remove applied runtime migrations * bump transaction_version necessary because of extrinsic API changes to pallet-xcm https://github.com/paritytech/polkadot/pull/3693 * Fix Benchmarks for Statemine-V4 release (#639) * register validators * register_as_candidate & leave_intent fixed * new_session benchmark fixed * intent_leave_modified * clean up * clean up * benchmark script updated * update cargo.lock * done Co-authored-by: Alexander Popiak <[email protected]> * Version bump (#648) * Version bump fix #646 * Revert "Version bump" This reverts commit 07517e0e76a37a1dd67176fec0524d0211666635. * Bump polkadot-collator version * Update polkadot-parachains/Cargo.toml Co-authored-by: Bastian Köcher <[email protected]> * Update deps * Bump version to 4.0.0 Co-authored-by: Bastian Köcher <[email protected]> * cargo toml fix * update deps and remove DisabledValidatorThreshold * cargo +nightly fmt * fix compile error * fix client tests after Polkadot update Co-authored-by: Ignacio Palacios <[email protected]> Co-authored-by: Chevdor <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-