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
Gavin Wood
e303f92f20
Companion for Runtime Semver ( #987 )
...
* Companion for Runtime Semver
* Fix
2020-04-17 12:10:58 +02:00
Nikolay Volf
b50d2f2d1f
Companion PR for 5023 ( #939 )
...
* add extension registrations
* update to latest
* merge&update
2020-04-16 22:58:16 +02:00
Max Inden
70becefb3d
service/src/lib: Enable authority discovery on sentry nodes ( #984 )
...
* service/src/lib: Enable authority discovery on sentry nodes
When run as a sentry node, the authority discovery module does not
publish any addresses to the dht, but still discovers validators and
sentry nodes of validators.
* bin/node/cli/src/service: Use expressions instead of statements
* Cargo.lock: Run `cargo update`
* service/src/lib: Fix compile error
2020-04-16 20:30:22 +01:00
Fedor Sakharov
cf7cf4bd7d
Adds an offchain call to submit double vote reports ( #966 )
...
* Adds an offchain call to submit double vote reports
* Some tweaks
* Remove unnecessary IdentifyAccount impls
* Adds ValidateDoubleVoteReports to test runtime
* sp-application-crypto is only a dev dependency
2020-04-16 16:19:51 +01:00
Shawn Tabrizi
58f992fa33
Companion PR for substrate#5446 (Update Weights to u64) ( #994 )
2020-04-16 11:31:41 +02:00
Arkadiy Paronyan
fa81636b1c
Bump substrate ( #1001 )
2020-04-15 19:20:44 +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
Arkadiy Paronyan
9cd8216d76
Bump trie-db ( #997 )
2020-04-14 14:55:23 +02:00
ddorgan
4f9f1c879f
Westend Mark II ( #983 )
...
* Initial draft
* More work
* Build
* Docs
* Insert westend keys
* Add badBlock to fork from old chain
* Updated spec to reset westend
* Use raw spec
* Fix spec format and use westend2 for both id's
* Correct public key for bootnode 3
* Build
* Extra space
* Fix build
* Lock
* Update lock
* Fixes
* Fix for he startup text
* Bump
Co-authored-by: Gav Wood <gavin@parity.io >
2020-04-14 09:34:40 +02:00
pscott
14b9ea691c
Use tempdir for tests ( #993 )
...
* Use tempdir for tests
* Rename tmp to tempdir
* Update Cargo.lock
* Update expect error message in run_command_and_kill
* Call with .path() rather than creating an string slice
* Call tempdir with arg instead of args
* Update tests/purge_chain_works.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-04-13 18:48:51 +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
31dc9acf89
Update to Substrate master ( #990 )
2020-04-09 23:58:43 +02:00
Pierre Krieger
66489cb839
Update to Substrate master ( #989 )
2020-04-09 14:13:42 +02:00
Bastian Köcher
fc91d130ec
Companion pr for new chain type RPC ( #988 )
...
* Companion pr for new chain type RPC
* Update `Cargo.lock`
2020-04-08 21:10:58 +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
Benjamin Kampmann
335961c520
Update to upstream reed-solomon-erasure ( #978 )
2020-04-08 11:30:34 +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
Kian Paimani
011528278b
Enable validate unsigned ( #974 )
2020-04-06 18:01:30 +02:00
Robert Habermeier
10cec3b591
Upgradeable validation functions ( #918 )
...
* upgrade primitives to allow changing validation function
* set up storage schema for old parachains code
* fix compilation errors
* fix test compilation
* add some tests for past code meta
* most of the runtime logic for code upgrades
* implement old-code pruning
* add a couple tests
* clean up remaining TODOs
* add a whole bunch of tests for runtime functionality
* remove unused function
* fix runtime compilation
* extract some primitives to parachain crate
* add validation-code upgrades to validation params and result
* extend validation params with code upgrade fields
* provide maximums to validation params
* port test-parachains
* add a code-upgrader test-parachain and tests
* fix collator tests
* move test-parachains to own folder to work around compilation errors
* fix test compilation
* update the Cargo.lock
* fix parachains tests
* remove dbg! invocation
* use new pool in code-upgrader
* bump lockfile
* link TODO to issue
2020-04-06 10:43:19 -04:00
Bastian Köcher
b31b52dddf
Fix master by updating Cargo.lock ( #976 )
2020-04-06 11:29:32 +01:00
gabriel klawitter
65c5a1b5ac
ci: deploy: remove test branch ( #975 )
2020-04-06 11:48:02 +02:00
Gavin Wood
7f838b0c35
Update for using Mandatory inherents ( #967 )
...
* Update for using Mandatory inherents.
* use
2020-04-05 14:27:58 +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
Gav Wood
a2a4f4c755
Merge branch 'master' of github.com:paritytech/polkadot
2020-04-04 13:44:51 +02:00
Gav Wood
cf82c77b79
use
2020-04-04 13:43:21 +02:00