Commit Graph

423 Commits

Author SHA1 Message Date
Logan Saether a554e72e91 Add Kusama to the README (#399) 2019-08-24 13:42:15 +02:00
Gavin Wood ccfa2b1828 Bump all versions to 0.6.0 (#397) 2019-08-24 13:40:57 +02:00
Gav Wood 4ee086f80a Bump runtime version 2019-08-24 03:06:08 -07:00
Gavin Wood 9011168ee1 Fix up bonding period. (#396) 2019-08-24 12:04:16 +02:00
Arkadiy Paronyan 908473c26b Allow parallel parachain validation (#370)
* Allow parallel parachain validation

* Fixed test interference

* Switch to pooled implementation

* Apply suggestions from code review

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* Update validation_host.rs

* Minor cleanups

* Fixed build
2019-08-24 11:52:00 +02:00
Gavin Wood 7ae4f606c1 Kusama CC1 chain spec(!) (#395)
* CC-1 chain spec

* Name tweak
2019-08-23 12:14:34 +02:00
Jaco Greeff 9a32065c74 Add networkId to Kusama chain spec (#393)
* Add networkId to Kusama chain spec

* ss58Format
2019-08-21 17:24:48 +02:00
Gavin Wood 823aaabb60 Tweak treasury params (#392)
* Tweak treasury params

* Revert clobber
2019-08-21 16:47:08 +02:00
Robert Habermeier 7d78d9ace6 pay out slashes to the treasury (#391) 2019-08-20 18:33:14 +02:00
Federico Gimenez 2a78213040 fix Dockerfile (#386) 2019-08-20 15:09:23 +02:00
André Silva ac672a7881 runtime: disable grandpa offline fallback (#390) 2019-08-20 14:14:28 +02:00
Gavin Wood 6bcb0e57bf Update substrate and add some sensible values (#387)
* Update substrate

* Update substrate and some chain spec

* Undo old change

* Use hex ser/de for ethereum addresses

* Add docs.

* Accidental line

* incorrect fix

* Fix build
2019-08-20 13:29:05 +02:00
Pierre Krieger fdd014b862 Bump multistream-select to fix a debug_assert! (#389) 2019-08-20 13:16:06 +02:00
Gavin Wood ee630db943 Runtime version affinity enabled in transactions. (#384)
* Update to latest substrate

* Update lock

* Introduce tx version check

* Move to release constants

* fixes

* More updates

* More fixes
2019-08-19 09:18:03 +02:00
Robert Habermeier 742730c865 error variant for failed deadline compute in validation worker (#383)
* error variant for failed deadline compute

* fix compilation
2019-08-18 17:12:46 +02:00
Gavin Wood e6fb85a203 Move sudo to the last module (#381) 2019-08-18 15:36:36 +02:00
Gavin Wood cdefa9f9ad Enable session module during PoA (#380) 2019-08-17 19:13:06 +02:00
Gavin Wood 406aad0f9b Blocktime and epoch length tweaks. (#379)
* Blocktime and epoch length tweaks.

* Tweak probabilities.

* Deduplication.

* Add testnet values.
2019-08-16 21:48:42 +02:00
Bastian Köcher da39da8a04 Fix service setup for non-validator nodes (#378)
* Fix service setup for non-validator nodes

* Apply suggestions
2019-08-16 20:10:58 +02:00
Gavin Wood 2c6409a942 Update to latest Substrate (#377)
* Update to latest substrate

* Propagate substrate#3225

* Fixes

* Build

* Fix
2019-08-16 17:56:56 +02:00
Federico Gimenez 1054a531b5 non-root user for running node in Dockerfile (#369) 2019-08-16 13:42:37 +02:00
Shawn Tabrizi 481ded5509 Update Claims EcdsaSignature Codec (#373)
* Update to use [u8; 65] for EcdsaSignature

* Fix warning
2019-08-16 13:40:52 +02:00
cheme 873b974566 Config genesis json with children. (#372) 2019-08-16 13:39:15 +02:00
Tomasz Drwięga 46dd1d71d8 Add provides tag to claims transactions. (#375) 2019-08-16 12:12:53 +02:00
Pierre Krieger f3d8024799 Replace parse_and_execute with parse_and_prepare (#368) 2019-08-15 16:56:31 +02:00
Gavin Wood b4bb9c771c Claims module uses a hex representation of the address not raw (#371)
* Claims module uses a hex representation of the address not raw

* Fix test
2019-08-15 16:56:12 +02:00
thiolliere 2e4ce7f558 Reward validity statements from validators (#356)
* impl reward

* typo

* more clean RewardAttestation trait

* reward by index

* address grumble
2019-08-14 14:41:20 +02:00
Gavin Wood 7bd46ffbcb Prepare stuff for Kusama (i.e. disable most things) (#362)
* Prepare stuff for Kusama (i.e. disable most things)

* Fix service (hopefully)

* Remove curated grandpa.

* Block unwanted transactions a cleaner way.

* Add feature for restricting tx types

* Cleanups

* Make blocktime 1/10th of normal

* Fix ordering in construct_runtime

* Restore original timing

* Revert name change
2019-08-13 20:36:27 +02:00
Kian Paimani 10fc88f6b1 Update to latest Substrate master. (#353)
* Integrate srml/im-online

* Fix all build errors with old aura.

* Fix most of the build errors.

* Builds and tests seem to pass (I will not trust this commit yet)

* Apply suggestions from code review

Co-Authored-By: Robert Habermeier <rphmeier@gmail.com>

* Kill some warnings.

* fix panics on 0 validators

* Fix dev chain.

* Fix author stuff

* fix im online integration.

* Some tweaks

* Introduce app-crypto

* Initial build work

* codec update / tweaks

* patch polkadot-erasure-coding input

* More fixes for new crypto

* More fixes

* Update parachains module

* evamp parachain crypto

* More crypto work.

* Chain spec and service.

* ChainSpec stuff

* Last bits for a clean build

* Tweak coment

* adapt polkadot-validation to the new keystore

* polkadot-network compiles, but tests don't

* Integrate the new parachain validation stuff

* delete message_routing file

* make polkadot-network tests compile and pass

* runtime tests compile and pass

* update substrate ref

* service compiles

* all tests pass

* Add TODO, change branch back to polkadot-master

* Lock file

* TODOs done

* Issue number

* Remove old tODO

* Remove commented code
2019-08-12 15:48:29 +02:00
Gavin Wood 9b6e630816 Integrate the claims module (#355)
* Integrate the claims.

* Remove accidetnal code.

* Update runtime/src/lib.rs

Co-Authored-By: thiolliere <gui.thiolliere@gmail.com>

* Add Config.

* Introduce claims to config

* Expose claims module signing Prefix (#358)

* Update parking_lot, bette trait args
2019-08-07 23:49:32 +02:00
Robert Habermeier 4d19de4bd9 Track received attestations from recent blocks (#337)
* record attestations in storage ringbuffer

* remove some reliance on Aura

* fix up test configuration

* extract attestations stuff out to its own module

* add dummy inherent

* use double_map

* fix a couple more compilation errors
2019-08-06 23:08:38 +02:00
Robert Habermeier 8c4d882407 sanity check on validity-votes length (#354) 2019-08-06 15:37:38 +02:00
Pierre Krieger 14cf3142d3 Remove tokio dependency from networking and service (#351)
* Remove tokio dependency from networking

* Also remove tokio from service

* Finally fix tests
2019-08-06 11:36:06 +02:00
Pierre Krieger 56845f74b5 Make polkadot-parachain compile for WASM (#350) 2019-08-06 01:07:24 +02:00
Stanislav Tkach c660c31937 Pass indices in serialized form (#318)
* Pass indices in serialized form

* Fix indentation and remove panic

* Fix tests and other code

* Remove unique voters tracking

* Restore validator group check

* Fix lock file

* Add test

* Add attestation sorting

* Add validation to the check_candidate function

* Update codec version one more time

* Remove patch versions
2019-08-05 22:44:05 +02:00
Bastian Köcher 4d5db52ca0 Update to latest Substrate (#340)
* Update Substrate

* Update Substrate again

* Integrate weight/fee stuff.

* Add new files.
2019-07-26 12:19:41 +02:00
Stefanie Doll 86e5b3d0bb Port dev account balance changes from Substrate PR 2883 to Polkadot (#339) 2019-07-25 10:11:45 +02:00
Yuanchao Sun 2af72cef83 Fix fetch_candidates (#330)
fix the following error in the log:
Could not extract candidates from block body of imported block ...
2019-07-23 11:11:50 +02:00
Arkadiy Paronyan f1fdb0cb83 Parachain validation moved to external process (#325)
* Improved execution & tests

* Style

* Made CLI arg const

* Moved Upwards message

* CLI subcommand for validation worker

* Build halting parachain

* Build halting parachain

* Made stuff private

* Reorganized parachain tests

* Comment

* Whitespace

* Apply suggestions from code review

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* Fixed call data size check and introduced an enum

* Apply suggestions from code review

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
2019-07-23 11:09:30 +02:00
Jualy 157cd9a217 Update Dockerfile (#332)
/data path should link to /root/.local/share/polkadot
2019-07-22 10:42:59 +02:00
Jualy 0815a25edf Add command example for rpc port 9933 (#333)
Connect rpc port 9933 failed if polkadot startup without --rpc-external
2019-07-21 11:51:12 +02:00
Shawn Tabrizi 2c66adfb0a Update to latest Substrate (7688cbc) (#329)
* Initial fixes

* Clean up Timestamp

* Patch futures

* Typo

* Fix compilation of tests

* Fix parachains tests

* Update runtime/src/parachains.rs

Co-Authored-By: thiolliere <gui.thiolliere@gmail.com>

* Update runtime/src/parachains.rs

Co-Authored-By: Gavin Wood <github@gavwood.com>
2019-07-19 14:15:14 +08:00
Shawn Tabrizi 1ded51d77b Update runtime to use Root origin (#327)
* Update runtime to use Origin

Needed for: https://github.com/paritytech/substrate/pull/3045

When we merge to latest Substrate

* Fix formatting
2019-07-16 07:42:13 +02:00
Arsen A. Gutsal 0ea2e1cb8c Dockerfile fixed. (#308)
* Dockerfile fixed.

* docker: use init.sh to setup rust env
2019-07-12 13:01:49 +01:00
Bastian Köcher d814150d07 Fix chainspec and runtime (#326) 2019-07-11 15:57:50 +01:00
Bastian Köcher 5dfc0aab05 Poll the service to drive the whole node (#321) 2019-07-10 12:16:35 +02:00
Stanislav Tkach 158ff12710 Remove duplicated '.idea' entry from the gitignore (#322) 2019-07-10 11:14:58 +01:00
Bastian Köcher c0b065837e Update to latest Substrate master (#320)
* Make `collator::Network` require `Send + Sync` to make it work

* Update packages

* Update to latest Substrate

* Make it compile and make tests work

* Use `polkadot-master`

* Fix CI

* Remove `build.sh` from readmes

* Delete old stuff

* Bring one back
2019-07-09 15:33:49 +01:00
Bastian Köcher d99f721540 Make collator::Network require Send + Sync to make it work (#316) 2019-07-05 15:37:05 +02:00
Bastian Köcher f1c8f5e36d Make communication_for exit when we end a round (#313)
* Make `communication_for` exit when we end a round

* Fix compilation
2019-07-05 11:42:57 +02:00