Gavin Wood
327ada997d
Bump Substrate & versions ( #1406 )
2020-07-14 19:25:26 +02:00
Max Inden
59f5eb4c17
*: Enable authority discovery by default ( #1395 )
...
* *: Enable authority discovery by default
Instead of having to explicitly enable the authority discovery module on
validator and sentry nodes, this commit enables the module by default.
Today there is no way for non validator or sentry nodes to run the
module. That might change in the future.
* service/src/lib: Fix typo in new_full! for test
2020-07-13 18:19:48 -04: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
Ashley
1c5f9b09ba
Companion PR for ' Simplify a few chain components creation APIs related to the service' ( #1384 )
...
* Switch branch
* Fix service creation
* Revert "Switch branch"
This reverts commit a706335821eb1553e48f86e0b0c5b3c11d589a1d.
* Switch branch again
* Revert "Switch branch again"
This reverts commit 04afc5095e408ff9a116c526ef84f6b101482ee1.
* Update substrate branch
2020-07-09 16:59:58 +02:00
Cecile Tonglet
a4fa71ed17
Make a test crate to make the runtime-test usable ( #1258 )
...
Fixes #833
2020-07-09 15:12:52 +02:00
Pierre Krieger
647e303df5
Update the Kusama bootnode IDs ( #1377 )
2020-07-08 18:24:38 +02:00
Bastian Köcher
283ffd4ec4
Companion for #6599 ( #1371 )
...
* Companion for #6599
https://github.com/paritytech/substrate/pull/6599
* Update Substrate ref
2020-07-08 16:15:59 +00:00
André Silva
19ef40a7c9
babe: enable equivocation reporting on all runtimes ( #1330 )
...
* enable BABE equivocation reporting on all runtimes
* runtime: fix parachains mock test runtime
* cargo update -p sp-io
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2020-07-04 15:19:58 +02:00
Gavin Wood
79954ae589
Reduce Westend deposit requirements ( #1341 )
...
* Switch branch
* Return chain ops parts in new_chain_ops
* Remove where param from new_chain_ops
* Add task manager to new_chain_ops return
* Revert branch switch
* Revert "Revert branch switch"
This reverts commit 7c7900c047abd794ddc759aa092811db4961a7a6.
* network/test/src/lib: Adjust network worker polling
Companion for https://github.com/paritytech/substrate/pull/6552 .
* Fix adder parachain
* Fix collator tests
* Revert branch switch
* Bump everything
- Remove old migration code
- Reduce deposit requried for westend
* Reapply fixes
* Bump locl
* Fix for #6550
* Fix message
Co-authored-by: Ashley Ruglys <ashley.ruglys@gmail.com >
Co-authored-by: Max Inden <mail@max-inden.de >
2020-07-03 15:35:36 +02:00
Ashley
b26f6d08ac
Companion PR for Remove the service, replacing it with a struct of individual chain components ( #1288 )
...
* Switch branch
* Fix service things
* Fix browser node compilation
* Update branch
* fixed new service
* Update for new branch
* Fix browser node
* Update branch
* Revert "Switch branch"
This reverts commit 3623adff7681124a1539a385a718c34e85931254.
* Update cargo.lock
Co-authored-by: Bastian Köcher <git@kchr.de >
2020-06-30 12:06:55 +00:00
Gavin Wood
b2b0902ddd
Companion for #6503 ( #1315 )
...
* Companion for #6503
* Remove old filtering
* Bump tx version
* Bump version
* Bump
2020-06-26 12:08:43 +02:00
Ashley
aacc251af9
Companion PR for Fix the browser node and ensure it doesn't colour the informant output #6457 ( #1307 )
...
* Companion for Substrate #6269 (nested storage tx)
* Adjust to PR changes
* Bump to newest substrate
* Bump spec
* Switch branch
* Remove redundant informant_prefix
* Fix collator tests
* Update branch
* Revert "Switch branch"
This reverts commit bcce560c51fbc9db604cf3b0f615bfd21419f87d.
Co-authored-by: Alexander Theißen <alexander.theissen@parity.io >
2020-06-24 12:04:07 +02:00
Gavin Wood
5045262fa7
Update staking reward curves ( #1302 )
...
* Update staking reward curve for pre-parachain situation.
* Bump runtime.
* Bump versions
2020-06-23 17:40:41 +02:00
André Silva
6feeabbc7e
node: spawn babe and grandpa as blocking tasks ( #1292 )
...
* node: spawn babe and grandpa as blocking tasks
* update to latest substrate
2020-06-22 19:27:38 +02:00
Pierre Krieger
2338b80af1
Use /dns/ rather than /dns4/ ( #1275 )
...
* Use /dns4/ rather than /dns/
* Update polkadot.json
2020-06-22 19:19:50 +02:00
Gavin Wood
d52751d9e6
Bump Substrate ( #1286 )
2020-06-19 11:57:03 +02:00
Gavin Wood
fdda80295f
v0.8.10 (Polkadot 10) ( #1277 )
...
* Rename old labels.
* Bump runtimes
* Bump versions
* Bump lock
2020-06-17 13:03:23 +02:00
Gavin Wood
3adb08d916
Bump ( #1273 )
2020-06-16 18:20:59 +02:00
Gav Wood
ef2aa428d7
Version and lock
2020-06-12 16:10:10 +02:00
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
André Silva
9bb2e0dadc
service: update to latest ServiceBuilder changes ( #1245 )
...
* service: update to latest ServiceBuilder changes
* Update Cargo.lock
Co-authored-by: Bastian Köcher <git@kchr.de >
2020-06-11 13:43:20 +02:00
Cecile Tonglet
61e82c3495
Add the ability to change the informant's prefix ( #1221 )
...
* Initial commit
Forked at: 261d701c5b
Parent branch: origin/master
* Add the ability to change the informant's prefix
* Update Cargo.lock
* Update Cargo.lock
* fixed tests
* Rename prefix to informant prefix
2020-06-10 16:50:47 +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
Gavin Wood
f4ead58695
Bump Substrate version ( #1220 )
2020-06-09 18:29:20 +02:00
Rakan Alhneiti
261d701c5b
Companion PR to substrate/6178 ( #1167 )
...
* Cast keystore pointer
* Update cargo.lock
2020-06-09 14:05:43 +02:00
Gavin Wood
425f4bb060
Bump versions. ( #1219 )
...
* Bump versions.
* Update lock
2020-06-09 12:26:50 +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
Bastian Köcher
11140c4202
Companion for Substrate #6123 ( #1206 )
...
* Companion for Substrate #6123
* Update Substrate
2020-06-05 23:33:13 +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
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
Tomasz Drwięga
44c0ec5cf8
Use Substrate Block Proposer ( #1156 )
...
* Use Substrate block builder.
* Clean up metrics.
* Lock.
* Lock.
* Switch to newest basic authorship interface
* Update Substrate reference and polkadot spec_version
* Let's improve
Co-authored-by: Bastian Köcher <git@kchr.de >
2020-05-30 11:06:08 +02:00
Gavin Wood
7f30e2ed0f
Bump ( #1164 )
...
* Bump
* Bump
* Bump
2020-05-28 16:36:52 +02:00
Gav Wood
6fecdb8533
Introduce telemetry endpoint
2020-05-26 19:07:06 +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
Cecile Tonglet
0ff80d0355
Add HeaderBackend trait to BuildParachainContext for cumulus validation ( #1153 )
2020-05-26 17:23:36 +02:00
Gavin Wood
7889aaa4a7
Test CC1 spec ( #1154 )
...
* Test CC1 spec
* Adaptive default chainspec
2020-05-26 16:21:11 +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
Federico Gimenez
39191d83c5
use new network identity format for Kusama bootnodes ( #1124 )
2020-05-21 13:49:00 +02:00
Nikolay Volf
dc281e313d
Update substrate, add block construction metrics ( #1112 )
...
* add metrics
* reset & update
* update
2020-05-19 19:01:16 +02:00
Jon Häggblad
afb9af4cf0
Enable Babe RPC for getting epoch authorship ( #1065 )
...
Enable babe_epochAuthorship that was added in substrate#4729 for
querying information about slots that can be claimed in the current
epoch.
2020-05-16 12:46:21 +01: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
Benjamin Kampmann
b660c226d8
Companion for #6025 ( #1098 )
2020-05-15 19:35:39 +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
Jon Häggblad
a7f76b4edd
Companion PR for Substrate #5375 ( #1040 )
...
* Companion PR for Substrate #5375
* fix compilation
* Update rpc/Cargo.toml
* update substrate
Co-authored-by: André Silva <andre.beat@gmail.com >
Co-authored-by: Benjamin Kampmann <ben@gnunicorn.org >
2020-05-04 22:27:38 +02:00
Bastian Köcher
054a64af7e
Companion for Substrate#5860 ( #1061 )
...
* Companion for Substrate#5860
* Update Substrate
2020-05-04 20:20:06 +02:00
Pierre Krieger
626a4aeccf
Some fixes to compile for Android ( #1063 )
...
* Some fixes to compile for Android
* Revert change to cli
2020-05-04 16:04:33 +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