Commit Graph

756 Commits

Author SHA1 Message Date
Gavin Wood 8a1f24982b Enable governance transactions (#628) 2019-11-28 12:38:47 +00:00
Gavin Wood 756e0cd165 Update Substrate (#623)
* Update to latest Substrate master (#615)

* Update to latest Substrate master

* Remove unneeded patch + warning

* Update `Cargo.lock`

* Fix tests

* Update again

* Bump Substrate (#616)

* Update lock

* Fix

* Few fixes

* Bump to latest Substrate

* Fixes

* fix pre-tx-pool compilation

* more compilation fixes

* Updates for the injection period

- Liberal slash-refunding
- Instant unbonding

* *: Enable refactored authority discovery (#624)

* *: Enable authority discovery module

* *: List authority discovery id after parachain validator id

Make sure existing key types don't change their order by appending the
authority discovery id instead of injecting it between im online id and
parachain validator id.

* *: Gate authority discovery module behind feature flag

* cli/src/lib.rs: Fix warnings

* cli/src/lib.rs: Shorten line length

* Bump Substrate

* Bump Substrate

* Line widths

* Line widths again

* Revert bump.
2019-11-28 12:08:37 +00:00
Wei Tang c7743cd86b Mark unreachable match clause as unreachable! (#620)
* Mark unreachable match clause as unreachable!

* Fix indentation
2019-11-27 18:03:45 +01:00
Wei Tang 311d2a271d Move propose_with into a dedicated blocking threadpool (#614) 2019-11-26 19:34:06 +01:00
Arsen A. Gutsal 3e31268893 sentry-docker-compose.yml initial version created (#410)
* Dockerfile fixed.

* docker: use init.sh to setup rust env

* CMD replaced with ENTRYPOINT in Dockefile

* WIP Sentry/Validator basic setup

* Dockerfile modifier to correspond to master version

* `environment` block added to both sentry and validator

* some environment variables are now used to pass params to containers
2019-11-23 00:28:33 +01:00
Tommy Giardina f61e532e91 Clarifying README (#590)
Made two small changes to the README.adoc that will help first-time users. First, I added notifications that the user may need to edit their PATH env variable after installing Rust. Second, I added a 'Hello world!' name tag to the Kusama Canary Network connect command so that new users will be better able to find their node on telemetry.
2019-11-23 00:27:36 +01:00
joe petrowski c9b1e3d959 Update for Substrate master (#600)
* update substrate for change to palette

* change paint to palette

* update lock

* Fix missing import

* change to polkadot-master

* Use same commit hash of parity-common

* Resolve linking errors

* Rename to frame

* bump spec

* Subsume #602 and #596

* Fix DispatchInfo

* Merge `futures03` and `joe-update-to-palette` (#606)

* Change repo and branch

* Made changes

* Bumped async-std version

* Fix line width

* Bump spec_version

* Fix `run_to_block` for Crowdfund module (#603)

Probably a copy paste error.

* Bump dependencies

* Update trie-db to be inline with substrate

* Fix documentation warning

* Fix test compilation
2019-11-23 00:16:04 +01:00
Shawn Tabrizi e229074f79 Fix run_to_block for Crowdfund module (#603)
Probably a copy paste error.
2019-11-22 16:22:07 +01:00
Gavin Wood d5c521a086 Update Substrate after repository reorganisation (#587) (#598)
* Update Substrate after repository reorganisation

* Switch back to polkadot-master

* Bump `bitvec` and `parity-scale-codec` (#591)

Also bump other dependencies, but respect semver on them.
2019-11-19 18:30:01 +01:00
Sergei Pepyakin 6962a6a6b8 Update issue templates (#586) 2019-11-19 10:04:17 +01:00
Gavin Wood d04b97dc3e Bump Substrate (#578) 2019-11-12 20:41:39 +01:00
Gavin Wood a4c1907178 Allow Root to add a claim (#577)
* Allow Root to add a claim.

* Additional test

* Update lock
2019-11-12 16:47:54 +01:00
Gavin Wood 0ed7ac6ce3 Bump Substrate (#576)
* Bump Substrate

* Bump again.
2019-11-12 14:53:14 +01:00
Gavin Wood a7dfc317d5 Bump Substrate & version (#574)
* Bump Substrate.

* Bump version
2019-11-12 12:14:38 +01:00
Gavin Wood cc0e775810 Master backports (#571)
* Update to latest Substrate master (#570)

* Bump substrate/version (#557)

* Bump version and Substrate (#560)

* Bump version and Substrate

* Bump version and Substrate

* Bump versions

* bump substrate to release specific v0.6.15

* Update lock

* Prepare Polkadot update for Substrate runtime interface 2.0 (#563)

* Prepare Polkadot update for Substrate runtime interface 2.0

* bump substrate to release specific v0.6.15

* Switch to `polkadot-master`

* Version bump

* Master backports

* Bump runtime

* Fix tests

* Fix tests

* Another fix.
2019-11-12 02:10:02 +01:00
André Silva 40f1d22cd8 cli: fix node shutdown (#568) 2019-11-11 16:35:47 +01:00
gabriel klawitter 663ff3db91 ci: add runtime version check (#555) 2019-11-09 10:46:36 +01:00
Pierre Krieger 1c0cb62567 Remove deprecated methods from NetworkSpecialization (#553) 2019-11-08 14:38:24 +01:00
Gavin Wood bd79b34bb3 Backport all v0.6 changes to master... (#552)
* Bump Substrate and versions (#531)

* Bump versions

* Build fix.

* Enable governance (#536)

* Enable governance

* Tweak a few parameters

* Bump substrate, versions. (#538)

* Bump substrate, versions.

* Build fix

* Bump rpc deps (#537)

* Update to latest sub

* Revert branch update

* Update.

* Update tests.

* Ignore warnings in tests.

* Revert substrate (#540)

* Version bump

* Bump Substrate, versions. (#542)

* Bump Substrate, versions.

Also revert the enabling of democracy

* Build fix

* Bump Substrate (#544)

* Bump Substrate

* Fix

* A few tidyups

* Bump Substrate (#547)

* Bump Substrate

* Another bump

* Fixed build for new block_import API

* Enable grandpa migration. (#549)

* Enable grandpa migration.

* Bump runtime version
2019-11-08 11:49:04 +01:00
Xiliang Chen 88150e83d2 add comments for WonRenewal event (#533)
* add comments for WonRenewal event

* make event argument order consistent
2019-11-05 12:09:04 +01:00
Kian Paimani bcdf6c02fc Bump rpc deps (#537)
* Update to latest sub

* Revert branch update

* Update.

* Update tests.

* Ignore warnings in tests.
2019-11-05 11:58:07 +01:00
Gavin Wood 615c58f379 im-online module should report offences (#527)
* im-online module should report offences

* Bump runtime
2019-11-02 16:46:48 +01:00
Gavin Wood 848784e8ec Bump runtime version, update substrate. (#526)
* Bump substrate

* Bump runtime version

* Fix Configuration stuff

* switch to custom branch

* add new backend entry, ignore it

* Bump runtime version, update substrate.

* Rename branch back

* Update substrate
2019-11-01 15:57:07 +00:00
Gavin Wood 80662344f1 Bump Substrate master (#522)
* Bump substrate

* Bump runtime version

* Fix Configuration stuff

* fix extract_proof return type

* add ImOnline module as Authorship event handler
2019-10-31 16:08:16 +00:00
Denis Pisarev 676f1562b9 retry on gitlab system failures (#521)
* retry on gitlab system failures

* max is just 2
2019-10-31 11:12:23 +01:00
André Silva b16bd4de8d bump version to 0.6.6 (#516) 2019-10-30 10:48:45 +01:00
Gavin Wood 0168e2f0fe Update Substrate (#514)
* Update Substrate

* Attempt a fix

* Update substrate again

* Fix compilation

* update substrate add support for sentry

* Fixes tests
2019-10-29 22:00:12 +01:00
Kian Paimani 16e0e4afd1 Integrate fee RPC (#508)
* Update cargo files

* First round of build fixes

* update lock file

* Fix builds again

* Revert cargo file

* remove elections genesis

* Fix chain spec

* Remove imports

* Update runtime/src/lib.rs

Co-Authored-By: Gavin Wood <gavin@parity.io>
2019-10-28 17:22:56 +01:00
Gavin Wood fd7640e097 Backport fix lock (#507)
* Fix locking, from an updated Substrate (#506)

* Fix locking, from an updated Substrate

* Bump runtime version

* Lock file.

* Bump version and extra fix.
2019-10-28 16:26:24 +01:00
Gavin Wood b1f9b1ad07 Revert "Update to latest substrate (#504)" (#505)
This reverts commit 8fb635b5e5.
2019-10-28 14:44:29 +01:00
Gav Wood 8e0c8f037a Quick runtime bump 2019-10-28 14:31:41 +01:00
Kian Paimani 8fb635b5e5 Update to latest substrate (#504)
* Update cargo files

* First round of build fixes

* update lock file
2019-10-28 14:28:13 +01:00
Gavin Wood ca8aa4c4cd Enable nicknaming for accounts (#500) (#501)
* Update Substrate and add support for account nicknames

* Bump spec version

* Bump substrate branch

* Make nicks callable.

* Bump Substrate
2019-10-27 16:24:57 +01:00
Gavin Wood 6c14bad4e8 Final tweaks for Kusama PrePos. (#499)
* Final tweaks for Kusama PrePos.

* Replace old code

* Extra utility function.

* Update to latest Substrate

* Update to latest again
2019-10-25 16:29:07 +02:00
André Silva 6d71392500 service: don't use the grandpa observer (#494) (#498)
* service: don't use the grandpa observer

* service: remove unnecessary boxing

* service: fix indentation

* service: remove unnecessary on_exit

tasks spawned with `spawn_task`/`spawn_essential_task` are already
guarded by `on_exit`.

* Update service/src/lib.rs

Co-Authored-By: Gavin Wood <gavin@parity.io>
2019-10-25 12:47:42 +02:00
André Silva a84a5f472c Update to latest substrate polkadot-master (#496)
* update to latest substrate polkadot-master

* Bump to 0.6.3
2019-10-25 12:12:41 +02:00
André Silva d51cdff423 service: cleanup task spawning (#495) 2019-10-25 11:09:54 +01:00
Gavin Wood 425b884931 Switch elections to Phragmen, enable them in PoA (#492)
* Switch elections to Phragmen, enable them in PoA

* Remove superfluous code.

* Build fixes

* Update to substrate master

* Build fixes

* Add warning

* Disable authority discovery for now

* Remove commented code

* Fix warning
2019-10-24 18:55:02 +02:00
André Silva dd2b43cd10 Update to latest substrate master (#491)
* update to latest substrate master

* Fix compilation
2019-10-23 17:17:49 +02:00
Tomasz Drwięga 8dc443dc5b Support account_nextIndex RPC. (#460)
* Use node-rpc extensions to support account_nextIndex.

* Remove todo.

* Update lock.

* Use new srml_system_rpc crate.

* Update to substrate=master

* Update lockfile.

* Update to polkadot-master.

* Apply suggestions from code review

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
2019-10-23 13:17:53 +02:00
gabriel klawitter 203cd74466 ci: fix publishing of ci builds (#488) 2019-10-22 11:44:05 +02:00
Bastian Köcher 11afe6a30c Only register one gossip validator for full nodes (#487) 2019-10-21 15:06:00 -04:00
fbranciard fee152fa51 fix dockerfile build - upgrade image base from ubuntu 16 to 18 (#423) 2019-10-21 12:32:11 +02:00
Bastian Köcher 7732e6cc60 Fixes required for Cumulus (#485)
* Collator node need to register all gossip validators as well

* Make sure that parachain authorities are only written once at genesis

* Fix test
2019-10-21 10:10:20 +02:00
Bastian Köcher 2e47302ead Update to latest Substrate master (#486) 2019-10-20 21:23:16 +02:00
Kian Paimani f861486fd2 integrate minor weight/fee changes (#482)
* Update cargo files

* Make it build again.

* Fix build

* revert cargo file

* New lockfile

* Bump.
2019-10-19 15:03:18 +02:00
Bastian Köcher 687244f989 Pass client and task_executor to BuildParachainContext (#484)
* Pass `client` and `task_executor` to `BuildParachainContext`

* Update `Cargo.lock`
2019-10-19 13:26:15 +02:00
Bastian Köcher 2842be7b81 Make ParaId constructible from a const context (#483) 2019-10-19 13:09:21 +02:00
gabriel klawitter b890df6cde change versioning and tagging of releases (#476)
* change versioning and tagging of releases
2019-10-16 16:03:28 +02:00
yjh 78fc9edd5f fix var name for post_upward_message (#474)
Signed-off-by: yjhmelody <465402634@qq.com>
2019-10-11 13:25:36 +02:00