ddorgan
1e0ec19945
Use DNS hostnames for westend bootnodes ( #1528 )
2020-08-05 10:55:18 +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
Bastian Köcher
c01aa8bae8
Rewrite client handling ( #1531 )
...
* Rewrite client handling
We are supporting muliple polkadot-like chains and all have different
client types. This pr reworks the client handling by having all of them
in one enum combined. Besides that, there is added a special trait
`ExecuteWithClient` to use the internal client.
* Apply suggestions from code review
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
* Up the versions
* Fix Cargo.lock
* Fix merge conflict
* ......................
* ....v2
* yep
* I'm dumb...
* Browser lol
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2020-08-04 14:53:47 +02:00
Bastian Köcher
5a4bca765e
Add Rococo test network ( #1363 )
...
* Add Rococo test network
* Correct license header
* Add bootNodes address
* Fix compile errors
* Change bootNodes
* Change rococo bootNodes
* Add new bootNodes
* Fix bootNodes typo
* Remove public telemetry
* Add rococo-local chain spec
* Remove staking
* Remove staking from chain spec
* use rococo-staging chain spec and preserve bootnodes
* Same but with --raw
* update chain name and remove telemetry
* Empty commit to re-trigger CI
* Fix revision (temp. until I merge master)
* Revert to branch = master to avoid conflicts
* Revert to branch = master to avoid conflicts
* Disable test (temp)
* Revert to branch = master to avoid conflicts
* Revert to branch = master to avoid conflicts
* Change bootNodes IPs for second rococo network
* Revert "Disable test (temp)"
This reverts commit a159f12e3131d1a25dabb1a4d2834642f2bcdc26.
* Revert purchase
* Update chain spec
* FUUU
* Update service/src/lib.rs
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
* Update runtime/rococo/src/lib.rs
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
* Fix compilation
Co-authored-by: Evaldo <contato@evaldofelipe.com >
Co-authored-by: David Dorgan <david@parity.io >
Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com >
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2020-08-04 09:41:39 +00:00
Bastian Köcher
277fd75179
Fix transaction payment runtime api companion ( #1519 )
...
* Fix transaction payment runtime api companion
Companion for Substrate pr: https://github.com/paritytech/substrate/pull/6792
* 'Update substrate'
Co-authored-by: parity-processbot <>
2020-08-03 09:06:03 +00:00
Ashley
610dd1368c
Companion PR for Add a DefaultQueue type alias to remove the need to use sp_api::TransactionFor`` ( #1499 )
...
* BabeImportQueue -> DefaultImportQueue
* Use DefaultImportQueue from the top level of consensus_common
* 'Update substrate'
Co-authored-by: parity-processbot <>
2020-07-30 09:25:59 +00:00
Gavin Wood
756f95c407
Update Substrate, bump versions, clean up sort ( #1496 )
...
* Sort cleanups
* Bump versions
2020-07-29 14:31:31 +02:00
Bastian Köcher
8f3317d056
Update scale codec to latest version to fix bug in future rustc version ( #1491 )
...
* Update scale codec to latest version to fix bug in future rustc version
Companion of: https://github.com/paritytech/substrate/pull/6746
* 'Update substrate'
Co-authored-by: parity-processbot <>
2020-07-28 20:43:38 +00:00
Ashley
7c7b02ece0
Companion PR for Various small improvements to service construction.. ( #1472 )
...
* Initial commit
Forked at: 1ed17cd467
Parent branch: origin/master
* Refactor
* Refactor
* Remove macro
* WIP
Forked at: 1ed17cd467
Parent branch: origin/master
* CLEANUP
Forked at: 1ed17cd467
Parent branch: origin/master
* small fix
* fix for browser
* Switch branch
* Rewrite service builds
* Update branch
* Fix sp-core branch
* Switch branch back and update
Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com >
2020-07-28 20:18:11 +02:00
Cecile Tonglet
1cb92aa83e
Refactor service to allow building full (and light) node matching chain spec ( #1467 )
2020-07-27 07:54:24 +02:00
Wei Tang
b8de0ff16f
Companion PR for #6569 ( #1394 )
...
* Update wasm-builder version to 2.0.0
* Fix all crate compile
* Update cargo lock
* Bump runtime impl_version
2020-07-24 12:00:34 +00:00
Ashley
6919c3030c
Companion PR for Remove the service builder ( #1448 )
...
* Switch branch
* Update branch
* Change service code
* Change light service stuff to be functions ^_^
* Update substrate branch
* Remove accidental 'f'
* Rework LightBackend/LightClient types
* Update substrate branch
* Remove unused imports in test-service
* Add #[cfg(feature = full-node)]
2020-07-23 14:12:53 +02:00
Gavin Wood
1ff810ee10
Bump Substrate, version ( #1456 )
...
* Bump Substrate
* Bump
2020-07-22 19:43:27 +02:00
Gavin Wood
3f57b1c6e8
Enable transfers ( #1443 )
...
* Enable transfers
Also quash any conviction from Referendum Zero; Sudo was always
going to have been removed so lock-voting doesn't make sense in
this case.
* Add test for migration; remove superfluous comment.
* Fixes
* Bump
* Weekly elections
2020-07-21 12:19:23 +02:00
Gavin Wood
760d49c551
Remove Sudo ( #1437 )
...
* Remove Sudo
NOTE: To ensure minimal index changes to pre-existing pallet deployments,
this is done with a "swap_remove" style; the previous last pallet
(Purchase), which is hitherto unused, has been shifted into the old index
of Sudo.
* Remove CC1 designation.
* Fixes
* Bump
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
2020-07-20 17:47:09 +02:00
Gavin Wood
c5bf161738
Bump version, enable full governance ( #1433 )
2020-07-20 12:18:27 +02:00
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