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
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
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
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
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
Bastian Köcher
c04c88d71e
Keep the table router for the lifetime of the validation instance alive ( #1175 )
...
This pr ensures that the table router stays alive for the lifetime of
the validation instance. This is required to ensure that the node
responds onto gossip messages for the particular relay chain round.
Before, the table router was only kept alive for relay chain nodes that
were assigned to a Parachain, however the lifetime was also relative
short. This lead to bugs where a relay chain node did not include
PoVBlock's, because it did not receive them (rejected them on receive,
because it was not listening on the particular round).
2020-06-01 09:07:29 -04:00
Gavin Wood
7f30e2ed0f
Bump ( #1164 )
...
* Bump
* Bump
* Bump
2020-05-28 16:36:52 +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
Arkadiy Paronyan
a6f35ee989
Companion PR to #6039 ( #1100 )
...
* remove on_block_imported
* remove on_block_imported
Co-authored-by: Gav Wood <gavin@parity.io >
2020-05-16 13:26:33 +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
Benjamin Kampmann
b660c226d8
Companion for #6025 ( #1098 )
2020-05-15 19:35:39 +02:00
Nikolay Volf
9049579103
Companion PR for substrate #5939 ( #1075 )
2020-05-11 12:13:24 +02:00
Max Inden
117fffb0cb
network/src/legacy/gossip: Return bounded channel when testing ( #1046 )
...
* network/src/legacy/gossip: Return bounded channel when testing
* Cargo.lock: Update to current Substrate master
2020-05-06 16:00:58 +02:00
Gavin Wood
efd738be82
Bump version ( #1070 )
2020-05-05 18:20:36 +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
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
pscott
15c0e6e3ed
Companion PR for #5647 ( #1035 )
2020-04-29 18:46:51 +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
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
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
Bastian Köcher
fb2e0c0ca9
Make sure collators join the validation network ( #1010 )
...
Collators need to join the validation network to tell its connected
relay chain peers the leaf they listen on. This is required to make the
Parachain validator send the signed statement to the collators as well.
2020-04-20 15:58:36 -04: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
Nikolay Volf
39e8013490
Companion PR for 5657 ( #1003 )
...
* prometheus registry to txpool
* Fix network tests
* Use None as the network config path
* update substrate
Co-authored-by: Ashley Ruglys <ashley.ruglys@gmail.com >
Co-authored-by: Bastian Köcher <git@kchr.de >
2020-04-17 17:29:33 +02:00
Arkadiy Paronyan
280bf3928a
Updated for the new db ( #996 )
...
* Updated for the new db
* Bumped version
* Sort out features
* Update to substrate master
2020-04-15 15:08:51 +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
Pierre Krieger
17c2882ae7
Companion PR to channel names ( #995 )
...
* Companion PR to channel names
* Err... fix missing event stream name
* Update Substrate
2020-04-14 16:00:25 +02:00
Bastian Köcher
70a30a9783
Make sure we send collators its role on connect ( #991 )
2020-04-14 15:01:46 +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
Cecile Tonglet
9477be3440
Update cli to new sc-cli API ( #935 )
...
* Initial commit
Forked at: 9283855dba
Parent branch: origin/master
* Switch substrate to branch cecton-the-revenge-of-the-cli
* Adapting code
* Update Cargo.lock
* Adapting code
* Adapt more code
* Implement force_kusama parameter
* Revert dependency update
* Adapt code to use ref to SubstrateCli object
* Updated to latest version
* Updated with latest changes
* Bump spec vesion
* Fixed tests
* WIP
Forked at: 9283855dba
Parent branch: origin/master
* More fixes
* Cargo.lock
* Updated code
* Fixed and adapt
* Fixed dependency issue with wasm
* Adapted code
* Revert branch change
* Cargo.lock
* Cargo.lock
* Adapt code
* Clean-up
* More clean-up
* Cargo.lock
2020-04-07 12:08:53 +02:00
Robert Habermeier
15a83079ba
refactor out validation hosts to pool struct ( #972 )
...
* refactor out validation hosts to pool struct
* make web-wasm compatible
* typo
* remove now-unused static hosts
2020-04-04 15:15:54 -04:00
André Silva
b3d326acca
Update substrate ( #970 )
...
* update substrate
* Hopefully fix compilation
* network: rename roles to role
* runtime: fix runtime-benchmarks compilation
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com >
2020-04-03 20:50:34 +02:00
Pierre Krieger
8ce7154111
Companion PR to splitting Roles ( #960 )
...
* Companion PR to splitting Roles
* Fix network tests
* Fix service build
* Even more fixing
* Oops, quick fix
* use is_network_authority in grandpa service config
Co-authored-by: André Silva <andre.beat@gmail.com >
2020-04-03 19:08:46 +02:00
Bastian Köcher
a26d919d8b
Make sure we send the validator key to collators on status ( #968 )
...
Before the validator only send the keys if it was updated and thus the
collators would "never" be informed about the key of the validator.
2020-04-03 12:59:25 -04:00
Pierre Krieger
5b5ab9757b
Don't depend directly on libp2p ( #963 )
...
* Don't depend directly on libp2p
* Fix bad import
2020-04-03 00:53:10 +02:00
Bastian Köcher
1e6f37076d
Rework consensus instance communication with the network worker ( #958 )
...
Up to now consensus instances used the main channel to communicate with
the background network worker. This lead to a race condition when
sending a local collation and dropping the router before driving the
send local collation future until it is finished. This pr changes the
communication between worker and the instances to use their own
channels. This has the advantage that we don't need an extra
`DropConsensusNetworking` message as the network is dropped
automatically when the last sender is dropped.
2020-04-01 17:01:59 +02:00
Gavin Wood
d8e1180030
Companion for #5412 ( #942 )
...
* Fixes for democracy using Scheduler
* Revert branch change
2020-04-01 17:01:14 +02:00
Robert Habermeier
cb5defc91d
PoV-block gossip ( #930 )
...
* add pov-block gossip message to network
* tests for pov-block gossip
* integrate pov-block gossip into main protocol
* message validation fetches pov blocks
* remove stray dbg! invocation
* test that pov-block is fetched from relay-parent topic
2020-03-31 23:05:42 +02:00
Bastian Köcher
4c3ca7bbb9
Companion pr for substrate#5448 ( #957 )
...
* Companion pr for substrate#5448
* Update Substrate reference
2020-03-31 14:09:36 +02:00
Cecile Tonglet
080eb240fa
Companion PR for https://github.com/paritytech/substrate/pull/5236 ( #955 )
...
* Adapt code to API changes
* Update sp-io
2020-03-31 11:45:53 +02:00