Commit Graph

4187 Commits

Author SHA1 Message Date
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
s3krit 57c2ded955 [CI] Add Polkadot runtime version to release notes, change release title to Polkadot CC1 (#1136)
* Include polkadot spec in release notes, retitle releases

* add CC1 to release title
2020-05-26 15:46:23 +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
Robert Habermeier cbb412f515 include implementor's guide in this repo (#1137)
* include implementor's guide in this repo

* most updated guide
2020-05-25 19:11:36 -04:00
joe petrowski 2906690893 Update README (#1134)
* update readme for current networks

* remove networks docs (they were copy/paste from readme)

* remove trailing whitespace

* add polkadot wiki

* remove hello world name

* remove authors/revision
2020-05-25 18:34:04 -04:00
Shawn Tabrizi 55d41a255b Expose more benchmarks (Scheduler, Elections) (#1128)
* More benchmarks

* Apply suggestions from code review

* update cargo

Co-authored-by: Gavin Wood <gavin@parity.io>
2020-05-22 13:58:08 +02:00
Marcio Diaz aa13e5df14 Companion for #5877 (#1123)
* Fixed point methods renames.

* Bump

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: Gav Wood <gavin@parity.io>
2020-05-21 22:11:33 +02:00
André Silva ddc6d5d5f8 cli: set default ss58 address format for each chain (#1127) 2020-05-21 19:52:18 +02:00
Shawn Tabrizi b01ee6eb00 Companion for #6046 (#1104)
* Update impls.rs

* companion for substrate#6069

* update to latest changes

* Update Cargo.lock

* Bump

Co-authored-by: André Silva <andre.beat@gmail.com>
Co-authored-by: Gav Wood <gavin@parity.io>
2020-05-21 17:00:45 +02:00
Dudley bf79c453d9 updated from k < 3 to 0 < k <= 3 (#1119)
Co-authored-by: dud1337 <grant@dud.li>
2020-05-21 16:12:20 +02:00
Shawn Tabrizi 40b40de590 Add System to benchmarks (#1126)
* add system to benchmarks

* Update cargo files
2020-05-21 16:10:55 +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
thiolliere 882b73492d [Companion PR] make council members able to note preimage using operation extirnsic (#1120)
* make council members able to note preimage using operation extirnsic

* Bump

Co-authored-by: Gav Wood <gavin@parity.io>
2020-05-21 14:26:18 +02:00
Federico Gimenez 39191d83c5 use new network identity format for Kusama bootnodes (#1124) 2020-05-21 13:49:00 +02: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
Arkadiy Paronyan 162baa62fb Bump substrate (#1125) 2020-05-21 10:26:21 +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
s3krit a184320503 [CI] Move check-labels to .post stage (#1114) 2020-05-20 12:26:10 +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
Pierre Krieger 58566274a0 Update to latest Substrate (#1107) 2020-05-18 23:55:04 +02:00
André Silva f6e8b10de4 fix Cargo.lock dependency version (#1105) 2020-05-17 11:10:01 +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
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
s3krit 5d58f7a43a [CI] Expose WASM binaries on publish (#1093)
* add build-wasm-release CI job

* temporarily run build-wasm-release everywhere

* temporary job to inspect artifacts dir

* fix test job

* fix test job again

* remove temporary job

* remove FIXME for when to run jobs

* remove pointless echo

* Change cargo build for wasm-pack

* Checksum polkadot_cli files

* make separate wasm dir for artifacts

* fix nits
2020-05-15 16:29:48 +02:00
Denis Pisarev 11cd00567a change (ci): fail test on warnings (#1102) 2020-05-15 16:29:11 +02:00
thiolliere 3beecb028c Companion: Democracy add weight. (#1076) 2020-05-15 13:48:11 +02:00
gabriel klawitter 6f1d6e9dcc ci: github api use token for pull requests (#1099) 2020-05-15 16:56:02 +05:30
Benjamin Kampmann 41f234f39d Update to lastest substrate master (#1101) 2020-05-15 11:37:24 +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
Alexander Popiak cb1e21cb0c Companion PR to 5802 (#1050) 2020-05-14 17:20:07 +02:00
Bastian Köcher 45f64055a4 Companion pr for #6012 (#1095)
* Companion pr for #6012

* Update `Cargo.lock`
2020-05-13 20:19:44 +02:00
joe petrowski 0792aba17f change BlockHashCount parameter (#1086) 2020-05-12 15:19:27 +02:00
Shawn Tabrizi 105b4b4d56 Companion PR for paritytech/substrate#5954 (#1081)
* Update for split weights

* Update `Cargo.lock`

* Bump all `spec_version`s

Co-authored-by: Bastian Köcher <git@kchr.de>
2020-05-12 14:07:20 +02:00
Bastian Köcher d5033456bb Check for correct tag in check_tags.sh (#1087) 2020-05-12 13:08:05 +02:00
Max Inden 4084820f0e cli/src/cli.rs: Document --enable-authority-discovery flag (#1085) 2020-05-11 14:14:07 +02:00
Nikolay Volf 9049579103 Companion PR for substrate #5939 (#1075) 2020-05-11 12:13:24 +02:00
s3krit b2655b5220 [CI] add check_tags CI job (#1072)
* add check_tags CI job

* fix typo in gitlab-ci.yml

* add more useful CI output

* Make presence of github token optional
2020-05-08 17:31:23 +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
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 cc37fda55b Bump version (#1071) 2020-05-06 15:40:14 +02:00
Gavin Wood efd738be82 Bump version (#1070) 2020-05-05 18:20:36 +02:00
Tomasz Drwięga 7703130e6e Fix unsigned priority of im-online @ kusama. (#1068) 2020-05-05 17:41:02 +02:00
Bastian Köcher 2abee92f89 Increment Westend spec_version (#1066) 2020-05-05 17:40:47 +02:00
Bastian Köcher 1f5771e898 Companion pr for Substrate #5889 (#1067)
* Companion pr for Substrate #5889

* Update Substrate ref
2020-05-05 14:47:40 +01:00