Guillaume Thiolliere
364a8d751d
fix test ( #3240 )
2021-06-14 12:56:36 -05:00
Gavin Wood
3d6df31cbe
Named reserve companion ( #3176 )
...
* fix build
* fix tests
* update
* fix
* update
* Bump
Co-authored-by: Bryan Chen <xlchen1291@gmail.com >
2021-06-04 11:17:59 +02:00
ferrell-code
002f49fb03
Companion for Substrate#8663 ( #2945 )
...
* add pallet_authorship to test
* update Substrate
Co-authored-by: parity-processbot <>
2021-05-03 04:13:23 +00:00
Shawn Tabrizi
9c0bb140c8
Companion for substrate#8665 (Bounded Treasury) ( #2932 )
...
* Add MaxApprovals for Bounded Treasury
* update weight
* update Substrate
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_treasury --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_treasury --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
Co-authored-by: parity-processbot <>
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
2021-04-26 16:09:42 +00:00
Shawn Tabrizi
322e1f3dff
ModuleId to PalletId ( #2864 )
...
* lock substrate version for testing
* `ModuleId` to `PalletId`
* release substrate version
* Update Cargo.lock
Co-authored-by: Xavier Lau <c.estlavie@icloud.com >
2021-04-09 12:33:21 +02:00
Gavin Wood
a960e2ff6d
Companion for OnSetCode #8496 ( #2794 )
...
* Make build with OnSetCode
* Fixes
* update Substrate
Co-authored-by: parity-processbot <>
2021-04-01 15:19:57 +02:00
Shaun Wang
9047bbb392
Companion for #8372 (Replace 'Module' with 'Pallet' in construct_runtime macro) ( #2629 )
...
* Replace 'Module' with 'Pallet'.
* "Update Substrate"
* fix babe usage
* fix benchmark
Co-authored-by: parity-processbot <>
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-03-18 10:10:17 +00:00
Andrew Jones
50d1522a49
Companion for #7936 : Migrate pallet-balances to pallet attribute macro ( #2331 )
...
* Fix up balances Events
* "Update Substrate"
* Update substrate
Co-authored-by: parity-processbot <>
2021-02-10 13:50:51 +00:00
Andrew Jones
7343c974a2
Use construct_runtime in tests, remove default PalletInfo impl ( #2409 )
...
* Claims
* Crowdloan
* Runtime common
* Parachains registrar
* Impls
* Purchase
* Slots
* parachains runtime mock
* Use MockGenesisConfig in tests
* Update runtime/common/src/claims.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
2021-02-09 16:36:15 +00:00
Alexander Theißen
2c1f43a989
Companion for #7810 (Define ss58 prefix inside the runtime) ( #2182 )
...
* Companion for #7810
* Added missing trait items for tests
* Add another missing trait item
* fixup
* "Update Substrate"
Co-authored-by: parity-processbot <>
2020-12-30 22:52:35 +00:00
RK
1ecc2e0389
Companion for #7536 (Pallet Treasury Refactor) ( #2025 )
...
* wk2048 | D6 | issue-7143-treasury-refactor | integration
* wk2048 | D6 | issue-7143-treasury-refactor | integration | p2
* trait -> config
* fix weight files and import
* missed some
* fix import
* fix imports
* alphabetize
* fix config traits
* fix trait
* update traits
* update weights
* "Update Substrate"
* fix features
* Update runtime/kusama/src/lib.rs
* Update runtime/polkadot/src/lib.rs
* add bounties and tips in proxy filters
* remove unused
* remove unused
* remove unused
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2020-12-16 15:29:07 +00:00
Tomasz Drwięga
f28333aedb
Companion for #6629 (weight params refactor) ( #1420 )
...
* Change branch.
* Update runtime.
* Revert "Change branch."
This reverts commit 841c59f3398136c27cc235a29d7d459e8a4c8ce0.
* Update substrate.
* Fix tests.
* Fix compilation.
* Fix frame system imports.
* Fix usages of system
* Fix stuff.
* Fix compilation.
* Fixes.
* Fix block_weight usage.
* Bump substrate.
2020-12-08 12:55:57 +00:00
Guillaume Thiolliere
2d4aa3a42e
Companion: Rename pallet trait Trait to Config ( #2014 )
...
* rename Trait -> Config
* revert diener changes
* rename HostConfig to ActiveConfig as more meaningful
* fix merge
* "Update Substrate"
* cargo update -p sp-io
Co-authored-by: parity-processbot <>
2020-11-30 15:13:43 +00:00
Shawn Tabrizi
70ef6a6e12
Update Tips to go 100% to Author ( #1836 )
...
* 100% of tip goes to Author
* refactor dealwithfees into common
* add fee and tip test
* fix
2020-10-29 10:12:39 +00:00
Kian Paimani
c5d041041f
Companion for substrate/pull/6896 ( #1610 )
...
* make polkadot work again,
* Fix build
* "Update Substrate"
Co-authored-by: parity-processbot <>
2020-10-08 15:10:21 +00:00
Robert Habermeier
57aef8eef5
Remove v0 parachains runtime ( #1501 )
...
* remove v0 parachains modules and switch to v1 primitives
* get tests compiling for runtime-common
* remove registrar module
* Add a dummy module
* remove runtime-parachains
* mostly remove old parachains code from polkadot-runtime
* remove slots::Trait implementation
* remove sp_std prelude import
* add a ZeroSizedTypeDifferentiator to dummy
* finish porting over polkadot runtime
* ZeroSizedTypeDifferentiator was actually unnecessary
* westend
* kusama
* test-runtime (no dummy modules)
* fix warning
* fix chain-specs
* fix test-service
* test-client
* remove dead import
* remove unused needed_extrinsics parameter
* runtimes compile
* remove rococo-v0
* remove remaining references to Rococo
* bump versions
2020-08-13 15:55:27 +02:00
Shawn Tabrizi
73f09e5154
Unalias Substrate Imports ( #1530 )
...
* cargo.toml updates
* session and system
* more
* more
* more
* more
* more
* fix
* compiles
* fix tests
* fix more tests
* fix mock
* fix deleted space
* Update validation/Cargo.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update Cargo.lock
* update rococo
* remove unused warning
* update add benchmarks
* rename weight file
* forgot a file
* Update chain_spec.rs
* Revert "remove unused warning"
This reverts commit 4227cd0d1525286fb466dccb817564c9b37f8645.
* fix merge
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-08-04 13:23:33 +00:00
Robert Habermeier
3b13cd9a85
Refactor primitives ( #1383 )
...
* create a v1 primitives module
* Improve guide on availability types
* punctuate
* new parachains runtime uses new primitives
* tests of new runtime now use new primitives
* add ErasureChunk to guide
* export erasure chunk from v1 primitives
* subsystem crate uses v1 primitives
* node-primitives uses new v1 primitives
* port overseer to new primitives
* new-proposer uses v1 primitives (no ParachainHost anymore)
* fix no-std compilation for primitives
* service-new uses v1 primitives
* network-bridge uses new primitives
* statement distribution uses v1 primitives
* PoV distribution uses v1 primitives; add PoV::hash fn
* move parachain to v0
* remove inclusion_inherent module and place into v1
* remove everything from primitives crate root
* remove some unused old types from v0 primitives
* point everything else at primitives::v0
* squanch some warns up
* add RuntimeDebug import to no-std as well
* port over statement-table and validation
* fix final errors in validation and node-primitives
* add dummy Ord impl to committed candidate receipt
* guide: update CandidateValidationMessage
* add primitive for validationoutputs
* expand CandidateValidationMessage further
* bikeshed
* add some impls to omitted-validation-data and available-data
* expand CandidateValidationMessage
* make erasure-coding generic over v1/v0
* update usages of erasure-coding
* implement commitments.hash()
* use Arc<Pov> for CandidateValidation
* improve new erasure-coding method names
* fix up candidate backing
* update docs a bit
* fix most tests and add short-circuiting to make_pov_available
* fix remainder of candidate backing tests
* squanching warns
* squanch it up
* some fallout
* overseer fallout
* free from polkadot-test-service hell
2020-07-09 21:23:03 -04:00
Kian Paimani
3c9d72fb57
Companion for substrate/pull/6334 ( #1263 )
...
* fix all runtimes and add test'
* Fix build
* Undo changes to lock file?
* Fix runtime test
* Remove unused imports
* cargo update -p sp-io
* Update Cargo.lock
* bump spec version
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2020-06-18 09:41:39 +02:00
Marcio Diaz
780f4a564e
Companion PR for #6214 ( #1204 )
...
* Rename Fixed128 to FixedI128.
* Bump cargo, merge #6236 fixes
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2020-06-06 23:00:32 +02:00
Marcio Diaz
aa13e5df14
Companion for #5877 ( #1123 )
...
* Fixed point methods renames.
* Bump
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Gav Wood <gavin@parity.io >
2020-05-21 22:11:33 +02:00
Shawn Tabrizi
b01ee6eb00
Companion for #6046 ( #1104 )
...
* Update impls.rs
* companion for substrate#6069
* update to latest changes
* Update Cargo.lock
* Bump
Co-authored-by: André Silva <andre.beat@gmail.com >
Co-authored-by: Gav Wood <gavin@parity.io >
2020-05-21 17:00:45 +02:00
Shawn Tabrizi
105b4b4d56
Companion PR for paritytech/substrate#5954 ( #1081 )
...
* Update for split weights
* Update `Cargo.lock`
* Bump all `spec_version`s
Co-authored-by: Bastian Köcher <git@kchr.de >
2020-05-12 14:07:20 +02:00
Shawn Tabrizi
58f992fa33
Companion PR for substrate#5446 (Update Weights to u64) ( #994 )
2020-04-16 11:31:41 +02:00
Shawn Tabrizi
70a5bda2ce
Benchmark Polkadot Claims Pallet ( #876 )
...
* fix
* Starting to add benchmarks
* make compile
* add benchmarks
* Make work with Substrate master
* Bench validate unsigned
* back to polkadot master
* starting to add cli with feature flag
* more stuff
* Add to kusama
* Update Cargo.lock
* fix dev dep
* bump wasm builder
* Remove encode from keccak benchmark
* bump spec
* Add weight documentation
* Update Cargo.lock
* Update check_runtime.sh
* Update publish_draft_release.sh
* Update Cargo.lock
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2020-03-13 10:42:31 +01:00
Shawn Tabrizi
c01ef7198f
Separate WeightToFee calculation for Kusama and Polkadot ( #854 )
...
* Separate `WeightToFee` calculation for Kusama and Polkadot
* Bump spec
2020-02-19 13:23:50 -08:00
Shawn Tabrizi
c975d4ee84
Update copyright year ( #718 )
2020-01-05 17:57:13 +01:00
Arkadiy Paronyan
a00d74d825
Support both polkadot and kusama runtimes ( #704 )
...
* Allow both polkadot and kusama runtimes
* Allow both polkadot and kusama runtimes
* Make `collator` build
* Removed kusama runtime
* Introduced common runtime
* Updated for latest substrate
* Updated CI targets
* Updated CI version check
* Removed unused dependency
* Pulled latests substrate
* Pulled latest substrate
* Fixed version
* Apply suggestions from code review
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* NEW_HEADS_IDENTIFIER moved to primitives
* Updated CI check script
* Fixed script
* Set epoch duration for polkadot
* ci: check_runtime for both runtimes
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: gabriel klawitter <gabreal@users.noreply.github.com >
2020-01-03 18:31:39 +00:00