Gavin Wood
4317d1b980
Bump versions, tweak deposit costs. ( #1252 )
...
* Bump versions, tweak deposit costs.
* Version
* Lock
* Make test work ok when numbers are not round.
* Bump Substrate
* Lock
2020-06-12 16:08:31 +02:00
Gavin Wood
2978c1b9f4
v0.8.7 ( #1222 )
...
* Bump Substrate again.
* update kusama runtmie for ensure origin
* update polkadot runtime for ensure origin
* fix imports
* root only available for runtime benchmarks
* Fix lock file
* Bump Substrate
* Update lock
* Remove questionable feature-gating.
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2020-06-10 13:06:33 +02:00
Seun Lanlege
752f560a0a
companion pr for #6235 ( #1215 )
...
* companion pr for paritytech/substrate#6235
* ???
* nah doesn't work for my branch
* bump Cargo.lock
* bump kusama spec versin
* bump kusama spec version
* revert to master
* bump Cargo.lock
Co-authored-by: Bastian Köcher <git@kchr.de >
2020-06-09 23:13:01 +02:00
Gavin Wood
f4ead58695
Bump Substrate version ( #1220 )
2020-06-09 18:29:20 +02:00
Gavin Wood
425f4bb060
Bump versions. ( #1219 )
...
* Bump versions.
* Update lock
2020-06-09 12:26:50 +02:00
Gavin Wood
3e5e67855b
Admin facility to move claims with council permission. ( #1198 )
2020-06-09 11:09:17 +02:00
Gavin Wood
cd0258d224
Bump versions, tweak SudoBalances constraint to add batching. ( #1216 )
2020-06-08 20:11:34 +02:00
Gavin Wood
c7f957ceec
Companion for #6273 (Introduce stacked filtering) ( #1212 )
...
* Fix for new Substrate
* Fix
* Remove Utility constraint in NonTransfer
* Bump
* Fixes
* Allow limited utilities in proxy filters.
* Fix
* Add SudoBalances proxy restrictions
2020-06-08 17:23:56 +02:00
Gavin Wood
f2c6eee7f1
Generalised proxies in Polkadot ( #1190 )
...
* Introduce generalised proxies to polkadot
* Introduce proxy to westend
* Add proxy to Kusama.
* Fix
2020-06-04 20:30:38 +02:00
Kian Paimani
491f3bcb88
Comanion for substrate/pull/6173 ( #1184 )
...
* Make it work
* Upsub
2020-06-02 19:52:19 +02:00
Gavin Wood
3c98185e1c
Identity pallet ( #1178 )
...
* Identity
* Bump spec
* Update runtime/polkadot/src/lib.rs
Co-authored-by: kaichao <kaichaosuna@gmail.com >
* Fix runtime
* Bump runtimes
Co-authored-by: kaichao <kaichaosuna@gmail.com >
2020-06-01 20:03:28 +02:00
Bastian Köcher
d28df302b4
Update wasm builder to fix bugs in detecting changed files ( #1169 )
2020-05-29 15:52:34 +02:00
Gavin Wood
7f30e2ed0f
Bump ( #1164 )
...
* Bump
* Bump
* Bump
2020-05-28 16:36:52 +02:00
Kian Paimani
357ed9f3ec
companion for substrate/pull/6132 ( #1159 )
...
* companion for https://github.com/paritytech/substrate/pull/6132
* Fix more tests
* upsub
* Bump
* Update runtime/common/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* remove cleanup
* Update runtime/westend/src/lib.rs
* Apply suggestions from code review
* Fix build
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-05-27 19:13:56 +02:00
Gavin Wood
1697ce1b7b
Chain Candidate One: Final changes ( #1155 )
...
* Test CC1 spec
* Adaptive default chainspec
* Strip -pre
* Update to next CC1 iteration
* Raw chainspec
2020-05-26 18:55:22 +02:00
Gavin Wood
b170d9674f
Prepare for final genesis ( #1131 )
...
* Update claim statements
* Update URLs
* Minor tweak to make enum agree with URL
* final html multihashes
* New hashes
* Version
* updated SAFT statement hash
* Update runtimes; this relies on substrate #6131
* Bump
* Share transaction filterer and fix Kusama
* Warning
* Gah!
* Tidy
* Westend fixes
* Westend fix
* Tweak constants
* Implement TCF stuff
* Fix
* Warning
* 15 minute lookahead
* 15 minute lookahead in Polkadot
* update max transactions
* Enable utility, disable vested_transfer
* Update runtime/common/src/lib.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* Filter calls for validate unsigned also
* Deduplicate
* Fix
* Introduce Polkadot (mainnet) chainspec
* Fix naming.
* Enable indices and fix comment.
* Fix compilation
* Enable indices and fix comment.
* polkadot: babe: enable secondary VRF slots
* Test JSON
* Allow set_heads
* Fix
* Raw chain spec added
Co-authored-by: keorn <github@i.keorn.org >
Co-authored-by: NikVolf <nikvolf@gmail.com >
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
Co-authored-by: Tomasz Drwięga <tomasz@parity.io >
Co-authored-by: André Silva <andre.beat@gmail.com >
2020-05-26 15:27:48 +02:00
Shawn Tabrizi
b407af2672
Companion for Substrate #5961 (on_offence weight) ( #1103 )
...
* Add new trait to offences
* companion for substrate#6069
* update to latest changes
* Update Cargo.lock
Co-authored-by: André Silva <andre.beat@gmail.com >
Co-authored-by: Gav Wood <gavin@parity.io >
2020-05-21 14:32:25 +01:00
Alexander Theißen
b6829b6d21
Companion for #6076 (Allow fee calculation to happen off-chain) ( #1111 )
...
* Switch from Convert to WeightToFeePolynomial
* Bump
Co-authored-by: Gav Wood <gavin@parity.io >
2020-05-21 13:47:55 +02:00
Tomasz Drwięga
e08e5ff462
Companion for #6067 ( #1110 )
...
* Companion to #6067
* Fix tests?
* Use AvailableBlockLimit instead of hardcoding the value.
* Bump substrate.
2020-05-20 16:03:28 +02:00
Gavin Wood
8cb7cdbc64
Extra requirements for claimants ( #1091 )
...
* Introduce mandatory statement signing into claims
* Introduce SignedExtension
* Tests passing
* Bump runtime version
* Bump version, fix test
* Test for validate
* Another couple of tests
* Enable PrevalidateAttests on Polkadot
* Enable PrevalidateAttests on Polkadot
* Fix build
* Fixes
* More fixes
* Fix bench tests
* Fix & test Preclaim clobbering.
* Fix for errant claim logic
* Add test
* Update tests, always use Vec as input
* mint_claim can add signature, some_benchmarks
* Add claim with statement test
* finish benchmarks
* put the correct number of claims with benchmarks
* fix compiler warning
* Update weights
* Weight comments for validation
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2020-05-16 12:56:49 +02:00
Demi Obenour
c45b14d1f3
Add ‘transaction_version’ to the signed transaction ( #1092 )
...
This allows hardware wallets to know which transactions they can safely
sign.
2020-05-15 00:58:25 +02:00
Bastian Köcher
a62382269d
Update to latest Substrate master ( #1074 )
2020-05-07 16:59:37 +02:00
André Silva
41699f5d6e
grandpa: report equivocations on all runtimes ( #1000 )
...
* grandpa: report equivocations on all runtimes
* runtime: fix test-runtime compilation
* runtime: enable historical session manager on all runtimes
* runtime: fix indentation
* runtime: use strong key types in KeyOwnerProofSystem definitions
* update substrate
* bump spec_version of runtimes
2020-05-06 19:27:28 +01:00
Gavin Wood
efd738be82
Bump version ( #1070 )
2020-05-05 18:20:36 +02:00
Shawn Tabrizi
f64c2a940f
Update Runtime Weights and Fee Calculation ( #1064 )
...
* Update Runtime Weights and Fee Calculation
* bump spec
* Order of operations avoids saturation
* Update runtime/polkadot/src/constants.rs
* Use frame consts
* Update Cargo.lock
* Update Cargo.lock
* Update Cargo.lock
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-05-05 09:41:41 +02:00
Gavin Wood
f6b9cd4e4d
Prep v0.7.32 ( #1056 )
...
* Bump Westend runtime version
* Bump Substrate
* Prep for release of 0.7.32
* Update lock
2020-04-29 19:27:37 +02:00
Seun Lanlege
0e0760d56c
Drop sc-client ( #1037 )
...
* WIP
* collator
* fix missing reference
* Make collator builder more generic
* all clear
* revert start colator fn
* fix return type of start_collator
* sc-consensus
* bump back to master
* Update collator/src/lib.rs
Co-Authored-By: Benjamin Kampmann <ben@gnunicorn.org >
* Update collator/src/lib.rs
Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com >
* uncomment type MaxIterations
* reactivate append storage feature
Co-authored-by: Benjamin Kampmann <ben@gnunicorn.org >
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com >
2020-04-28 16:20:47 +02:00
Nikolay Volf
e54811646a
update substrate, set new version ( #1043 )
2020-04-28 10:25:35 +02:00
Kian Paimani
7076651c75
Companion Substaret/5683 ( #1039 )
...
* update polkadot
* Fix build
* Bump Substrate
Co-authored-by: Gav Wood <gavin@parity.io >
2020-04-27 20:34:46 +02:00
Nikolay Volf
59f5743852
Companion PR for 5795 ( #1041 )
...
* add storage_append
* Bump versions
Co-authored-by: Gav Wood <gavin@parity.io >
2020-04-27 18:23:09 +02:00
Shawn Tabrizi
0a10e37c99
Introduce BlockExecutionWeight and ExtrinsicBaseWeight ( #1023 )
...
* Update to changes in Substrate
* Fix trait
* Remove `TransactionBaseFee`
* add temporary values for extrinsic base weight and block execution weight
* Update Cargo.lock
2020-04-25 10:04:35 +02:00
Wei Tang
5733869389
Companion PR for #5501 and #5680 ( #1012 )
...
* Companion PR for #5501
* Bump runtime versions
* add MaxRegistrars config
* Pull substrate master in PR-5501
* Attempt to fix pin commit again
* update to substrate master
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
Co-authored-by: André Silva <andre.beat@gmail.com >
2020-04-24 16:39:40 +01:00
Bernhard Schuster
8151b175bc
Companion PR for #5200 ( #1025 )
2020-04-24 16:48:01 +02:00
Rakan Alhneiti
2e521d30ea
Companion PR to #5182 - Substrate offchain signing ( #985 )
...
* Implement offchain::SendTransactionTypes
* Fix test-runtime
* Fix Kusama
* Add SendTransactiontypes to Kusama
* impl SendTransactiontypes for parachains and registrar
* Fix typos
* Provided extrinsic type
* Implement AppCrypto for signing transactions
* Add signing capabilities to runtime
* Fix test runtimes
* Implement CreateSignedtransaction for Test
* Implement signing types for test runtimes
* Fix test runtime create transaction impl
* Fix build
* Bump kusama's spec version
* Update substrate
* Use all_accounts
2020-04-21 18:50:32 +02:00
Bastian Köcher
765c456a10
Fix building master ( #1014 )
...
* Fix building master
* Fix westend chainspec
2020-04-21 16:21:11 +02:00
Ashley
14766804c0
Remove usage of substrate-test-runtime. ( #969 )
...
* Switch from using the substrate_test_runtime Extrinsic to the polkadot_test_runtime one
* Copy genesismap into test-runtime
* Add UncheckedExtrinsics
* Fix tests :^)
* Remove unused functions from genesismap
* DRY, clean up
* Clean up
* Update service/src/grandpa_support.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Fix indentation
* Update runtime/test-runtime/src/genesismap.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-04-21 12:56:22 +02:00
cheme
1a4db93c50
Companion to child trie api change #4857 ( #950 )
2020-04-21 10:39:35 +02:00
Bastian Köcher
eab3624096
Release 0.7.30 ( #1006 )
...
* Release 0.7.30
* Update Substrate & libp2p
2020-04-17 23:01:00 +02:00
Gavin Wood
e303f92f20
Companion for Runtime Semver ( #987 )
...
* Companion for Runtime Semver
* Fix
2020-04-17 12:10:58 +02:00
Fedor Sakharov
cf7cf4bd7d
Adds an offchain call to submit double vote reports ( #966 )
...
* Adds an offchain call to submit double vote reports
* Some tweaks
* Remove unnecessary IdentifyAccount impls
* Adds ValidateDoubleVoteReports to test runtime
* sp-application-crypto is only a dev dependency
2020-04-16 16:19:51 +01:00
Shawn Tabrizi
58f992fa33
Companion PR for substrate#5446 (Update Weights to u64) ( #994 )
2020-04-16 11:31:41 +02:00
Bastian Köcher
c6134cf91a
Release 0.7.29 ( #998 )
...
* Release 0.7.29
* Update `Cargo.lock`
2020-04-14 16:46:20 +02:00
Robert Habermeier
a5034dbe98
Use strong types in runtime for parachain heads and validation code ( #964 )
...
* use stronger types for HeadData and ValidationCode in runtime
* fix weird debug compile error
* fix runtime build
* update invocations invalidation.rs
* fix tests
2020-04-13 10:24:25 +02:00
Pierre Krieger
75ebe7fb2e
Companion PR to #5560 - Also includes polkadot#979 and polkadot#986 ( #982 )
...
* Companion PR to #5560
* Set priorities.
* Update substrate.
* Fix tests.
* Update Substrate
* Companion of SignedExtension refactor (#5540 )
Co-authored-by: Tomasz Drwięga <tomasz@parity.io >
Co-authored-by: Alexander Theißen <alexander.theissen@parity.io >
2020-04-08 16:12:28 +02:00
Kian Paimani
011528278b
Enable validate unsigned ( #974 )
2020-04-06 18:01:30 +02:00
Robert Habermeier
10cec3b591
Upgradeable validation functions ( #918 )
...
* upgrade primitives to allow changing validation function
* set up storage schema for old parachains code
* fix compilation errors
* fix test compilation
* add some tests for past code meta
* most of the runtime logic for code upgrades
* implement old-code pruning
* add a couple tests
* clean up remaining TODOs
* add a whole bunch of tests for runtime functionality
* remove unused function
* fix runtime compilation
* extract some primitives to parachain crate
* add validation-code upgrades to validation params and result
* extend validation params with code upgrade fields
* provide maximums to validation params
* port test-parachains
* add a code-upgrader test-parachain and tests
* fix collator tests
* move test-parachains to own folder to work around compilation errors
* fix test compilation
* update the Cargo.lock
* fix parachains tests
* remove dbg! invocation
* use new pool in code-upgrader
* bump lockfile
* link TODO to issue
2020-04-06 10:43:19 -04:00
Bastian Köcher
c021f854a2
Ensure that table router is always built ( #952 )
...
* Ensure that table router is always build
This pr ensures that the table router is always build, aka the future is
resolved. This is important, as the table router internally spawns tasks
to handle gossip messages. Handling gossip messages is not only required
on parachain validators, but also on relay chain validators to receive collations.
Tests are added to ensure that the assumptions hold.
* Fix compilation
* Switch to closures
* Remove empty line
* Revert "Remove empty line"
This reverts commit 0d4aaba1780aec1c8d61e1d5dcf7768918af02d9.
* Revert "Switch to closures"
This reverts commit d128c4ecc02c911552a3bfd2142b5a4f7b1338ba.
* Hybrid approach
* Rename test
* Make trait crate local
2020-04-03 16:33:52 -04:00
Gavin Wood
d8e1180030
Companion for #5412 ( #942 )
...
* Fixes for democracy using Scheduler
* Revert branch change
2020-04-01 17:01:14 +02:00
Bastian Köcher
b4c79556f3
Upgrade bitvec and parity-scale-codec ( #947 )
2020-03-30 13:08:15 +02:00
Kian Paimani
caa405e1eb
Enable Offchain Phragmén. ( #940 )
...
* fix for offchain phragmen
* Update unix time stuff
2020-03-26 17:52:10 +01:00