Bastian Köcher
f0b1e7484e
Substrate companion for fetching slot duration ( #864 )
...
* Substrate companion for fetching slot duration
https://github.com/paritytech/substrate/pull/10509
* update lockfile for substrate
* Update
Co-authored-by: parity-processbot <>
2021-12-20 23:46:45 +00:00
sandreim
df4fa291ee
Companion for #10440 (Add logger configuration hook) ( #856 )
...
* update `DefaultConfigurationValues` impl
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update lockfile for substrate
Co-authored-by: parity-processbot <>
2021-12-16 11:57:17 +00:00
Bastian Köcher
60ae6ad1d3
Update Substrate & Polkadot ( #861 )
2021-12-15 03:10:12 +00:00
Gavin Wood
ccf1811432
Companion for #10403 : Remove Default for AccountId ( #842 )
...
* author is Some
* Bump
* Lockfile
* Fixes
* Fixes
* Fixes
* Fixes
* Bump
* Update Cargo.lock
* bump substrate and polkadot
* fmt
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-12-14 09:07:51 +00:00
Gavin Wood
57a9c0f9f2
Bump Polkadot and fix ( #855 )
...
* Minor build fix
* Remove diener
* Update lock
2021-12-13 19:15:36 +01:00
Doordashcon
1b13673164
Update Substrate & Polkadot ( #849 )
...
* ERCSC
* update
* Update Substrate & Polkadot
Co-authored-by: doordashcon <jesse.chejieh@gmai.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-12-11 09:33:21 +00:00
Bastian Köcher
67cac33d62
Update again ( #852 )
2021-12-10 16:38:01 +01:00
Bastian Köcher
2a8c07bf0b
Update to latest Polkadot & Substrate ( #850 )
...
* Update to latest Polkadot & Substrate
* More fixes
2021-12-10 12:08:41 +01:00
Gavin Wood
a4b3b378eb
Companion for #10382 (Insufficient asset quotes and deposits) ( #804 )
...
* MaxConsumers
* Fixes
* Fixes
* Fixes
* Fixes
* Bump
* Fixes
* Fixes
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-12-09 17:24:32 +01:00
Keith Yeung
1bfbc7fe0c
Add CheckNonZeroSender to runtime configs ( #847 )
...
* Add CheckNonZeroSender to runtime configs
* cargo update -p polkadot-primitives
* Fixes
* Fixes
2021-12-09 14:53:51 +01:00
Ignacio Palacios
db2449b690
Seedling Runtime + Node ( #824 )
...
* 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
2021-12-08 12:54:59 +01:00
Kian Paimani
e70f7fd016
Integrate try-runtime into cumulus ( #793 )
...
* 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 <alexander.popiak@parity.io >
* Fix
* Fix
* fix benchmark
* fmt
* Remove wrong bench test
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
2021-12-02 14:00:54 +01:00
Shawn Tabrizi
17cad2efc8
Companion for #10379 (EnsureOneOf) ( #810 )
...
* new ensure one of
* Update Cargo.lock
* Update SUbstrate & Polkadot
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-12-01 23:06:50 +00:00
Guillaume Thiolliere
6bcafd40ce
companion for pallet order fix ( #711 )
...
* companion
* Run cargo update
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2021-12-01 01:51:58 +00:00
zjb0807
d246858d17
Companion for #10324 - update frame-benchmarking/runtime-benchmarks ( #802 )
...
* update frame-benchmarking/runtime-benchmarks
* cargo update
* add more feature flags
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-11-30 21:47:09 +01:00
Andronik Ordian
5d70b15088
cargo update -p polkadot-primitives ( #809 )
2021-11-29 18:12:59 +01:00
Bastian Köcher
5b245a21eb
Update Substrate & Polkadot ( #803 )
2021-11-28 07:43:50 +01:00
Gavin Wood
1ac616cd52
Bump ( #792 )
2021-11-24 16:14:04 +01:00
Bastian Köcher
03f73967f6
Update Substrate & Polkadot ( #789 )
2021-11-24 09:25:53 +01:00
Chevdor
5d91815914
Fix rococo naming for master ( #776 )
...
* package naming conflict fixed (#753 )
* Fix rococo naming
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
2021-11-22 13:58:15 +01:00
Bastian Köcher
d85a3a937f
Update Substrate & Polkadot ( #770 )
...
* Update Substrate & Polkadot
* Disable tests without debug assertions
2021-11-19 23:46:14 +01:00
Robert Klotzner
6b603201c5
Remove dead dep. ( #765 )
...
* Remove dead dep.
* cargo update -p polkadot-primitives
* Revert "cargo update -p polkadot-primitives"
This reverts commit 4e48e1dabe44fc1fb99c0d074281998e82584ba8.
* cargo update -p polkadot-primitives
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-11-19 17:41:11 +00:00
Georges
4a559a5872
Moving pallet-asset-tx-payment from cumulus to substrate ( #712 )
...
* 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
2021-11-19 14:06:38 +01:00
Bastian Köcher
c308c01b62
Update Substrate & Polkadot ( #766 )
2021-11-17 15:39:40 +01:00
Liu-Cheng Xu
9b6db48a42
Specify edition 2021 in .rustfmt.yml ( #760 )
...
This PR is mainly to fix the error `[E0670]: async fn is not permitted in the 2015 edition` when
using Vim along with rust-analyzer, it also removes an unused dependency from parachain-template.
Ref: https://github.com/rust-analyzer/rust-analyzer/issues/1959
2021-11-16 15:12:50 +01:00
David Salami
6efe0d4338
Update field event variants ( #749 )
...
* update field events
* update polkadot and substrate
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-11-16 03:31:36 +00:00
Shawn Tabrizi
821b5eb6d3
Update Cargo.lock ( #763 )
2021-11-15 21:00:53 +00:00
Arkadiy Paronyan
473af71987
Update for latests substrate & polkadot ( #756 )
...
* Update for latests substrate & polkadot
* fmt
2021-11-12 16:45:09 +01:00
sandreim
b968e54fe5
Companion to substrate #10196 - Add group name in task metrics ( #732 )
...
* Use blank task group name
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update Cargo.lock and switch from 0.9.12 to master
* format with LATEST nightly
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-11-11 19:41:36 +00:00
Sebastian Kunert
d4045c85e7
Port transaction pool benchmark ( #738 )
...
Adds a benchmark to measure transaction throughput.
2021-11-11 10:30:54 +01:00
Benjamin Kampmann
8a1201273b
Update to latest substrate and polkadot dependencies ( #745 )
2021-11-10 19:08:50 +01:00
Ignacio Palacios
66310bd6ce
Remove randomness collective flip new ( #726 )
...
* randomess collective flip removed
* cargo.lock + fix
* remove migration for statemint
* fmt fix
* update cargo.lock
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
2021-11-09 17:01:44 +01:00
Bastian Köcher
6b4fd91ad5
Rework the runtime upgrade test ( #727 )
...
* Rework the runtime upgrade test
* Update test/service/tests/runtime_upgrade.rs
* Update test/service/tests/runtime_upgrade.rs
* Update Cargo.lock
* FMT
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-11-09 15:02:34 +01:00
Alexander Popiak
e304662f04
Upstream Statemine Release v5 Changes to Master ( #720 )
...
* 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 <chevdor@users.noreply.github.com >
* 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 <xlchen1291@gmail.com >
* 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 <info@kchr.de >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
Co-authored-by: Gav Wood <gavin@parity.io >
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
Co-authored-by: Bryan Chen <xlchen1291@gmail.com >
Co-authored-by: joepetrowski <joe@parity.io >
2021-11-08 15:52:47 +01:00
Shawn Tabrizi
d21c7fd2b3
Companion for dispatch_as ( #715 )
...
* dispatch as companion
* oops, forgot to save file
* Update Cargo.lock
2021-11-04 16:44:18 +00:00
Guillaume Thiolliere
faedf76da2
Udpate polkadot substrate ( #713 )
...
* udpate polkadot substrate
* fmt with latest nightly
2021-10-31 13:45:54 +00:00
Bastian Köcher
f66be04c30
Update Substrate & Polkadot ( #709 )
...
* Update Substrate & Polkadot
* FMT
2021-10-30 01:17:48 +02:00
Keith Yeung
ad517067da
Bump syn to 1.0.81 ( #707 )
...
* Bump syn to 1.0.81
* Make formatting check happy
2021-10-27 19:26:49 +02:00
Chris Sosnin
8159c2c5f9
Companion for polkadot#3728 ( #693 )
...
* Update mock runtime API
* update Polkadot packages
Co-authored-by: joao-paulo-parity <joao-paulo@parity.io >
2021-10-22 16:31:58 +02:00
Martin Pugh
31aada1fc6
bump polkadot deps ( #670 )
2021-10-15 21:35:10 +02:00
Alexander Popiak
4de36d5776
fix feature selection ( #666 )
...
* select parachains-common/std feature when building rococo-runtime with std
* remove unnecessary dep on node-primitives
2021-10-15 12:45:12 +02:00
Andronik Ordian
902ae0d7ab
update polkadot ( #664 )
2021-10-15 10:03:31 +02:00
Bastian Köcher
fbf418a000
Update Substrate & Polkadot ( #660 )
2021-10-14 11:03:36 +02:00
Alexander Popiak
3520acc3f2
Asset Transaction Payment ( #488 )
...
* 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 <tomusdrw@users.noreply.github.com >
* Update pallets/asset-tx-payment/src/payment.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* 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 <bkchr@users.noreply.github.com >
* 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 <tomusdrw@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-10-11 11:57:37 +02:00
Alexander Popiak
eff56f60f3
Upstream Statemine v4 Changes ( #649 )
...
* 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 <alexander.popiak@parity.io >
* 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 <bkchr@users.noreply.github.com >
* Update deps
* Bump version to 4.0.0
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* 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 <ignacio.palacios.santos@gmail.com >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-10-11 10:27:49 +02:00
Alexander Popiak
f499617c01
update Substrate and Polkadot (to include new transaction priority) ( #645 )
...
* update Substrate and Polkadot
* Update parachain-template/runtime/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-10-05 11:48:33 +00:00
Alexander Popiak
caa8b8172b
Statemint Reserve Asset Transfer ( #552 )
...
* add AssetId type alias in statemint-common
* add FungiblesAdapter to allow for asset transactions via XCM
* use custom Polkadot
* fix FungiblesAdapter usage and add CheckingAccount
* update deps
* remove polkadot overrides
* update deps
* pull NonZeroIssuance struct into common + add FungiblesTransactor to Statemine and Westmint
* remove unnecessary tuple wrapping + adjust asset transactor comments
* accept statemint as reserve in rococo test parachain
* adjust parachain config (add Statemint as reserve)
* add test and docs for AssetsFrom
* cargo fmt
Co-authored-by: Ricardo Rius <ricardo@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-10-05 11:35:03 +02:00
Andronik Ordian
a9a09abcb0
docs: make collators actually work ( #638 )
...
* docs: make collators actually work
* bump polkadot
* include recent fix for overseer
2021-10-02 21:00:18 +02:00
Bastian Köcher
0fad3ae44c
Same procedure as not every day ( #636 )
...
* Same procedure as not every day
* Remove warning
* Update
2021-10-01 13:23:56 +02:00
Bastian Köcher
0b921ddbc3
Fix purge-chain test ( #624 )
...
* Fix purge-chain test
* Update Substrate & Polkadot
2021-09-26 15:25:35 +02:00