Commit Graph

793 Commits

Author SHA1 Message Date
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
Shawn Tabrizi f64c2a940f Update Runtime Weights and Fee Calculation (#1064)
* Update Runtime Weights and Fee Calculation

* bump spec

* Order of operations avoids saturation

* Update runtime/polkadot/src/constants.rs

* Use frame consts

* Update Cargo.lock

* Update Cargo.lock

* Update Cargo.lock

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2020-05-05 09:41:41 +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
Bastian Köcher 3b309c776c Update to latest Substrate master (#1058)
* Update to latest Substrate master

* again
2020-04-30 14:30:41 +02:00
Cody Lamson 1a2ac3cb5f add space to bottom of file to trigger license detection (#1057) 2020-04-30 14:11:16 +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
André Silva ac9be5a077 add bad runtime upgrade block to westend chainspec (#1055) 2020-04-29 18:56:53 +02:00
Seun Lanlege 1b73920de1 remove ClientProvider import (#1054) 2020-04-29 18:48:07 +02:00
pscott 15c0e6e3ed Companion PR for #5647 (#1035) 2020-04-29 18:46:51 +02:00
Bastian Köcher c1ecc9b6cd Use correct executor for Westend (#1053) 2020-04-29 15:15:49 +02:00
Seun Lanlege befd6815a3 remove ClientProvider for feature PolkadotClient (#1052) 2020-04-29 13:10:03 +01:00
thiolliere 9ff3091e35 Companion PR for treasury weight update (merged) Fix polkadot with substrate master (#1044)
* fix tests

* add cargo lock

* update substrate
2020-04-28 19:35:46 +02:00
Bastian Köcher 365af458af Fix collator interfaces to make them work with Cumulus (#1048)
* Fix collator interfaces to make them work with Cumulus

* Fix the fix
2020-04-28 16:49:21 +01: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
Bastian Köcher a211a2519f Fix some features handling (#1045) 2020-04-28 14:30:23 +02:00
Nikolay Volf e54811646a update substrate, set new version (#1043) 2020-04-28 10:25:35 +02:00
Kian Paimani 7076651c75 Companion Substaret/5683 (#1039)
* update polkadot

* Fix build

* Bump Substrate

Co-authored-by: Gav Wood <gavin@parity.io>
2020-04-27 20:34:46 +02:00
Shawn Tabrizi fb5421b1d6 Add weights to claims (#1036) 2020-04-27 18:56:22 +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
Shawn Tabrizi b15cfb736d Add runtime benchmarking suite to all runtimes (#1034)
* Add benchmarking suite to all runtimes

* Add `runtime-benchmarks` feature to `test-linux-stable`

* Update Cargo.lock

* Update Cargo.lock

* Update Cargo.lock

* "user" instead of "caller"

* undo these changes
2020-04-27 16:19:46 +02:00
s3krit a09ed5e519 Add 2 channels to release announcements github action (#1033)
* Add channels to release announcement github action

* release-bot.yml: Make all steps a single job
2020-04-27 10:17:55 +02:00
Nikolay Volf 3252ba8383 assign db weights (#1011) 2020-04-25 15:47:26 +02:00
Shawn Tabrizi 0a10e37c99 Introduce BlockExecutionWeight and ExtrinsicBaseWeight (#1023)
* Update to changes in Substrate

* Fix trait

* Remove `TransactionBaseFee`

* add temporary values for extrinsic base weight and block execution weight

* Update Cargo.lock
2020-04-25 10:04:35 +02:00
Wei Tang 5733869389 Companion PR for #5501 and #5680 (#1012)
* Companion PR for #5501

* Bump runtime versions

* add MaxRegistrars config

* Pull substrate master in PR-5501

* Attempt to fix pin commit again

* update to substrate master

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
Co-authored-by: André Silva <andre.beat@gmail.com>
2020-04-24 16:39:40 +01:00
Bernhard Schuster 8151b175bc Companion PR for #5200 (#1025) 2020-04-24 16:48:01 +02:00
Benjamin Kampmann 37ec3f1748 Fix github license detection (#1032)
* add readme license name

* rename file to hide it from license autodetection
2020-04-24 15:45:16 +02:00
Bastian Köcher 88451e0b7c Companion PR to #5695 (#1030)
* add module ids to kusama runtime

* update kusam with polkadot runtimes to have moduleids configured

* trivial

* define module id for treasury in crowdfund.rs

* crodfund builds without issue

* remove commented out code

* switch crowdfund  to configurable moduleid

* test-runtime passing

* trivial syntax

* add module id to mock

* Update `Cargo.lock`

Co-authored-by: zeke <emostov@middlebury.edu>
2020-04-24 12:46:51 +02:00
s3krit 9ce4513e79 [CI] Changelog generation: add westend spec version and check changes against labels (#1016)
* Add westend spec version and check labels for polkadot

... And remove reference to `polkadot-master`

* Add changelog section for runtimenoteworthy labels

And change markdown nesting header style
2020-04-24 11:55:40 +02:00
Bastian Köcher a8be8e01fb Companion pr for Substrate #5741 (#1026)
* Companion pr for Substrate #5741

* update to substrate master

Co-authored-by: André Silva <andre.beat@gmail.com>
2020-04-23 18:07:11 +01:00
Bastian Köcher d5d2b6a50d Bump Westend spec_version after the latest runtime upgrade (#1022) 2020-04-23 09:26:49 +02:00
Kian Paimani bbe42763c7 Enable (#1021) 2020-04-22 18:05:59 +02:00
Rakan Alhneiti 283d9d6dc6 Offchain signing followup (#1017)
* Use the fishermanId for AppCrypto on runtimes

* Make sure at least one transaction was submitted

* Use find_map
2020-04-22 13:36:27 +02:00
Kian Paimani 97fed89079 Companion for substrate/5686 (#1008)
* Companion for substrate/5686

* Update substrate
2020-04-22 09:51:55 +02:00
Bastian Köcher ed9c8ce662 Fix extensions handling for Parachain validation (#1015)
The `TaskExecutor` extension is now required by Substrate to batch verify signatures.

Co-authored-by: NikVolf <nikvolf@gmail.com>
2020-04-21 19:59:59 +03:00
Rakan Alhneiti 2e521d30ea Companion PR to #5182 - Substrate offchain signing (#985)
* Implement offchain::SendTransactionTypes

* Fix test-runtime

* Fix Kusama

* Add SendTransactiontypes to Kusama

* impl SendTransactiontypes for parachains and registrar

* Fix typos

* Provided extrinsic type

* Implement AppCrypto for signing transactions

* Add signing capabilities to runtime

* Fix test runtimes

* Implement CreateSignedtransaction for Test

* Implement signing types for test runtimes

* Fix test runtime create transaction impl

* Fix build

* Bump kusama's spec version

* Update substrate

* Use all_accounts
2020-04-21 18:50:32 +02:00
Bastian Köcher 765c456a10 Fix building master (#1014)
* Fix building master

* Fix westend chainspec
2020-04-21 16:21:11 +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
cheme 1a4db93c50 Companion to child trie api change #4857 (#950) 2020-04-21 10:39:35 +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
thesilk-tux 79dcce1674 update local chain name in docker-compose and docu (#1009)
* update local chain name in docker-compose and docu

the name of a local network changed from local to polkadot-local so
some local test environments were broken and the ticket #965 was
created

* using CLI flags --alice in local dev

as this directly adds the required keys to the keystore

Co-authored-by: Christian Seidemann <christian.seidemann@t-systems.com>
2020-04-20 13:57:11 +02: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
Gav Wood abd2650a58 Update Substrate 2020-04-17 12:11:48 +02:00