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
Gavin Wood
8ec9040b00
Companion for #7363 (Account-providers ref-counting) ( #2152 )
...
* Fix
* Fix
* Bump Substrate
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-01-16 20:18:13 +01: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
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
Andronik Ordian
0a8a607a58
update most of the dependencies ( #1946 )
...
* update tiny-keccak to 0.2
* update deps except bitvec and shared_memory
* fix some warning after futures upgrade
* remove useless package rename caused by bug in cargo-upgrade
* revert parity-util-mem *
* remove unused import
* cargo update
* remove all renames on parity-scale-codec
* remove the leftovers
* remove unused dep
2020-11-17 11:16:31 +01:00
Bastian Köcher
1934a74cc7
Companion for ModuleToIndex to PalletInfo rename ( #1743 )
...
* Companion for `ModuleToIndex` to `PalletInfo` rename
* "Update Substrate"
Co-authored-by: parity-processbot <>
Co-authored-by: Benjamin Kampmann <ben@gnunicorn.org >
2020-09-22 16:19:12 +02:00
Shawn Tabrizi
2613ec66ca
Companion for #7103 (WeightInfo for Vesting) ( #1721 )
...
* Add weights and new trait
* update more trait instances
* Use () for tests
* update for new type
* "Update Substrate"
* bump spec version
* bump more spec
Co-authored-by: parity-processbot <>
2020-09-16 22:37:00 +02:00
Shawn Tabrizi
4d31f8159d
Remove Purchase Pallet from Polkadot + Westend ( #1636 )
...
* Remove purchase pallet
* Update runtime/common/src/purchase.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Actually check and fix compile
* Add events to dummy
* Fix kusama too
* remove events where it did not exist historically
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-09-08 09:10:28 -04:00
warfollowsme | ryabina.io
d2c4e0cc8e
Annotated parameter names for events ( #1440 )
...
* annotated parameter names for events
* Update runtime/parachains/src/inclusion.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-08-20 14:57:30 +00: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
Xiliang Chen
143f5600f4
update impl_outer_origin ( #1444 )
2020-07-21 20:02:41 +02:00
Shawn Tabrizi
3fa224bfa4
Pallet for Purchase ( #1369 )
...
* initial mock
* remove statement
* Merge branch 'master' into shawntabrizi-crowdsale
* only work for dead accounts
* Revert "Merge branch 'master' into shawntabrizi-crowdsale"
This reverts commit 5d26bc22f30fdbc58854dc64398bddc1f19c4d24.
* update storage name
* Re-mock
* Update comment
* payouts
* test signature verification
* Update wording
* fix tests
* support both free and locked balance
* Single statement set in configuration trait
* Configurable purchase limit, initiated status
* Account creation tests
* make note about `max_amount` check
* Update validity status tests
* update balance tests
* payment test
* finish tests
* enable in runtime
* Test and verify ed25519
* make purchase pallet more configurable on the fly
* Remove runtime check on purchase amount.
* clean up trait
* add basic weights
* add extra super saftey check for vesting
* Add vat tracking
* remove unused const
* Update to W3F Origins
* remove stale comment
* Support existing accounts w/o existing vesting schedule
* Update runtime/common/src/purchase.rs
Co-authored-by: Gavin Wood <gavin@parity.io >
* Add support for partially unlocked portion of purchased DOTs
* add trait import
* Expose constants from pallet
* Fixes
* Fixes
* Update runtime/polkadot/src/lib.rs
Co-authored-by: Gavin Wood <gavin@parity.io >
2020-07-17 14:23:56 +02:00