- Oct 27, 2021
-
-
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]>
-
- Oct 01, 2021
-
-
Bastian Köcher authored
* Same procedure as not every day * Remove warning * Update
-
- Sep 19, 2021
-
-
Keith Yeung authored
* Use DecodeLimit for decoding XCM messages * Use decode_all_with_depth_limit in appropriate places * Use decode_all while decoding byte vector * cargo fmt
-
- Sep 16, 2021
-
-
Chevdor authored
* ci: add quick-check with clippy and rustfmt * chore: rustfmt round * chore: set the same rustfmt config than substrate * chore: fix formatting * cI: remove clippy * ci: switch to nightly for the checks * ci: fix toolchains and naming * ci: Limit the check to formatting * chore: fix formatting * Update .rustfmt.toml * Update .rustfmt.toml Co-authored-by: Bastian Köcher <[email protected]>
-
Andrew Jones authored
* Remove event pallet::metadata attributes * Add scale-info deps, TypeInfo derives, update call variants * Update metadata runtime APIs * Add missing scale_info dependency, update rococo runtime API * Add missing scale_info dependency * Remove pushed diener patches * Cargo.lock * Add missing scale-info dependencies * Fixes * Statemint runtime fixes * Call struct variant empty matches * Add missing scale-info dependency * Fixes * scale-info 1.0 * cargo update -p xcm * update lock * Update Cargo.lock * update to latest polkadot * remove rpc_http_threads https://github.com/paritytech/substrate/pull/9737 * replace task executor with tokio handler https://github.com/paritytech/substrate/pull/9737 * fix test compilation? * Update Cargo.lock * cargo update * remove unused * Update substrate and polkadot * Update test/client/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Sep 12, 2021
-
-
Squirrel authored
-
- Sep 04, 2021
-
-
asynchronous rob authored
* bump deps, fix aura-ext pallet, and fill in stubs for XCM * response handler, asset trap, asset claims * subscription_service * update xcmp-queue mock * fix tests * Update polkadot deps Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Aug 28, 2021
-
-
Gavin Wood authored
* Update .gitignore and bring into line with XCM v2's SendError * type * Some work * Weighed responses * extra fields to xcm pallet * Fixes * Bump
-
- Aug 12, 2021
-
-
Keith Yeung authored
* Use new MultiLocation syntax everywhere * Make tests compile
-
- Aug 09, 2021
-
-
Gavin Wood authored
* Remove Filter and use Contains instead * Fixes * Remove patch * Bump Polkadot * bump
-
- Aug 06, 2021
-
-
Gavin Wood authored
* support for XCM v1 * Fixes * Fix. * Use `xcm::latest` * Bump Polkadot Co-authored-by: Bastian Köcher <[email protected]>
-
- Aug 05, 2021
-
-
Bastian Köcher authored
-
Shaun Wang authored
* Use definitions from polkadot. * Remove unused imports. * Rerun CI.
-
- Jul 20, 2021
-
-
Bastian Köcher authored
-
- Jul 15, 2021
-
-
Shawn Tabrizi authored
-
Keith Yeung authored
* Properly declare #[pallet::validate_unsigned] in ParachainSystem * Add ValidateUnsigned to construct_runtime in ParachainSystem tests
-
- Jul 07, 2021
-
-
Sergey Pepyakin authored
One breaking change: - https://github.com/paritytech/substrate/pull/9209
-
- Jul 06, 2021
-
-
Shaun Wang authored
* Fix xcmp message processing condition. * add a very simple test * Update Cargo.lock * remove comment * remove comment Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Alexander Popiak <[email protected]>
-
- Jun 28, 2021
-
-
Sergey Pepyakin authored
* Update Substrate & Polkadot * Basti improvements Co-authored-by: Bastian Köcher <[email protected]>
-
Xiliang Chen authored
* add RelaychainBlockNumberProvider * add docs
-
- Jun 22, 2021
-
-
zjb0807 authored
-
JesseAbram authored
* min collator check * change statemint/mine min candidates * Ci pass * Update pallets/collator-selection/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Update pallets/collator-selection/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Apply suggestions from code review * build fixes * add error messages to errors * added validator register check Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Jun 18, 2021
-
-
cheme authored
-
- Jun 17, 2021
-
-
Sergey Pepyakin authored
* WIP: Update Substrate * Update Substrate & Polkadot * fixes * more fixes * few missing origins * use spawn_essential_handle * bump polkadot dep * remove newlines * fix test Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Jun 16, 2021
-
-
Bastian Köcher authored
This is required to support patching Substrate, as otherwise there are two crates with the same name.
-
Bastian Köcher authored
* Adds support for checking the timestamp inherent while validating a block This adds support for checking the timestamp inherent while validating a block. This will use the relay chain slot number * relay chain slot duration to calculate a timestamp. This timestamp is used to check the timestamp in the timestamp inherent. * Update polkadot-parachains/rococo-runtime/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Update polkadot-parachains/statemine-runtime/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Update primitives/timestamp/src/lib.rs Co-authored-by: André Silva <[email protected]> * Fix warnings Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: André Silva <[email protected]>
-
- Jun 13, 2021
-
-
Bastian Köcher authored
-
- Jun 12, 2021
-
-
Bastian Köcher authored
* Start * More work * Add proc-macro for `validate_block` * Make everything compile * Add some test
-
- Jun 10, 2021
-
-
thiolliere authored
* update substrate/polkadot with construct_runtime changes * fix update * Fixes * More fixes * fix test, but might be wrong fix Co-authored-by: Bastian Köcher <[email protected]>
-
- Jun 08, 2021
-
-
JesseAbram authored
* session weight * decouple session benchmarking and collator selection * removed mock * licensing * benchmarking script * set benchmarking into runtime * Update scripts/benchmarks.sh * real weights Co-authored-by: Shawn Tabrizi <[email protected]>
-
cheme authored
* compact, need to be made optional and look into/compress child trie roots/state. * proto with child trie support * Missing set_offchain_storage overload. * right name * Ignore offchain indexing in validation function. * patch trie-db * decompress from iter * use compressed proof * remove wasm blob from proof (no inject plugged yet) * change lock * update trie * change in toml * Revert "change in toml" This reverts commit e588583b79e1a64e2a54157b40968aa6b586fbbe. * use patch to branches * i * i:wq * switch branch * ii * ok, needed to patch the runtime by putting substrate patch in polkadot project. * test passing with this conf * actual lazy code fetch * patch issue * Code reorg * restore commented tests. * update deps. * remove polka patch * fixes * remove patch * revert cargo.lock * cargo update -p sp-trie polkadot-service * fix collator test (using parent state root). * Update pallets/parachain-system/src/validate_block/implementation.rs Co-authored-by: Bastian Köcher <[email protected]> * Remove encode_witness test function. * Update pallets/parachain-system/src/validate_block/implementation.rs * Fix compilation Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Jun 07, 2021
-
-
Bastian Köcher authored
This is basically a hack that prevents the inclusion of `:code` in the storage proof. A proper fix requires some changes to the trie crate to not include nodes that aren't read.
-
- Jun 04, 2021
-
-
Xiliang Chen authored
* update substrate * try again
-
- Jun 01, 2021
-
-
Gavin Wood authored
* Add Statemint * Versioning. * Fixes * Fixes * Fixes * Fixes * Fixes * Benchmarking * kick patch (paritytech/statemin#88) * Westmint Chain Spec (paritytech/statemint#90) * Tidy the common .toml * Update weights * add westmint sudo key comment * Port consensus stuff * fix typo * fix typo ... again * Recognise Westmint Co-authored-by: Alexander Popiak <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-