Commit Graph

30 Commits

Author SHA1 Message Date
Bastian Köcher e6f37cb7cf Update everything to latest master (#247) 2020-11-25 15:45:49 +01:00
Bastian Köcher 28338431fe Update Cumulus for Parachains V1 (#224)
* Start with something

* Whatever

* Update

* MOARE

* Make cumulus-network compile and tests work

* Update more and fixes

* More stuff

* More fixes

* Make collator build

* Make test almost work

* Remove contracts runtime

* More test work

* Make service compile

* Fix test-service

* Fix test client

* More fixes

* Fix collator test

* Fix network tests (again)

* Make everything compile, finally

* Fix tests

* Update to latest masters

* Remove ignore

* Switch to different branch in polkadot for now

* Update reference

* Make it compile with latest changes

* Update collator/src/lib.rs

Co-authored-by: Robert Habermeier <rphmeier@gmail.com>

* Update to latest upstream

* Update to latest master

* Fix test

Co-authored-by: Robert Habermeier <rphmeier@gmail.com>
2020-11-08 22:18:09 +01:00
Bastian Köcher 2efe482c40 Add cumulus-service (#187)
* Add cumulus-service

Crate that abstracts the service of a parachain.

* Make finalization infallible
2020-08-08 08:07:33 +02:00
Bastian Köcher dd7c741b53 Announce block after it is being enacted as new best block (#182) 2020-08-06 20:37:36 +02:00
Cecile Tonglet d1d40765c7 Collate only if --validator is given (#161) 2020-07-29 20:49:31 +02:00
Bastian Köcher 6ca066c893 Fix multi collator setup (#133)
* Start

* Fix compilation

* Fix chainspec

* Don't set best 2 times for the same block

* Check the status of a block before building on it

* Check that the block exists before setting it as the new best

* Reorder code

* Fork choice depends on sync status

* Switch branch again
2020-07-02 12:50:04 +02:00
Bastian Köcher 30ad930159 Update to latest Substrate & Polkadot (#131)
* Switch to latest Substrate & Polkadot

* Update again
2020-07-01 10:38:26 +02:00
Bastian Köcher 0326d049c5 Update to latest Substrate & Polkadot (#107)
* Update to latest Substrate & Polkadot

* Replace --unsafe-rpc-export with --unsafe-rpc-external

* Add --rpc-methods=Unsafe

Documented in substrate 24486f52929e9e518eeccbc6ad6da70e9e5bdf8a

* typos

* more typo

* fixed rpc expose

* Disable the integration test

Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
2020-06-05 16:57:02 +02:00
Bastian Köcher 5f008af15f Update Substrate & Polkadot (#84) 2020-04-29 14:23:18 +02:00
Cecile Tonglet 28687351df Update polkadot and substrate (#71) 2020-03-11 17:45:44 +01:00
Bastian Köcher ad8b70a8e4 Update Polkadot/Substrate (#68)
* Update Polkadot/Substrate

* Update branch
2020-02-24 21:52:49 +01:00
Cecile Tonglet 4a3ffe07e7 Update substrate and polkadot (#50)
* Update Cargo.lock

* Fix for substrate update

* Update Cargo.lock

* Fix for substrate update

* Fix for substrate update

* Fix for substrate update

* Fix for substrate update

* Update Cargo.lock

* Fix for substrate update

* Fix for substrate update

* Fix for substrate update

* Fix for substrate update

* Fix for substrate update

* WIP

* Temporary fix until polkadot is fixed

* WIP

* WIP
2020-02-03 15:39:51 +01:00
Bastian Köcher 14fc05171e Don't finalize the same block multiple times
This fixes the `Safety violation:...` logging.
2020-01-15 16:59:23 +01:00
Bastian Köcher 828447d49c Make everything compile and fix tests 2020-01-14 22:23:16 +01:00
thiolliere bbe889e9c3 Fix inconsistent head_data (#18)
* fix

* Update consensus/src/lib.rs

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
2019-10-22 15:26:35 +02:00
Bastian Köcher b5bc9a21a3 Make basic collation working 2019-10-18 14:16:32 +02:00
Bastian Köcher d9c6bc408c Begin to add a test parachain 2019-10-16 13:39:38 +02:00
Bastian Köcher 398e3489ed Provide SelectChain implementation for parachains 2019-10-08 14:38:27 +02:00
Bastian Köcher e91c8e78f2 Make everything compile again 2019-10-02 16:52:08 +02:00
Bastian Köcher 1ceecff053 Try to fix the build 2019-09-29 02:05:49 +02:00
Bastian Köcher 2d92c9acb3 Update Substrate, Polkadot and switch to wasm-builder 2019-06-18 08:43:39 +02:00
Bastian Köcher 7acbc36a7e Update to latest Substrate + Polkadot 2019-06-05 20:38:26 +02:00
Bastian Köcher 79a7868c6c Make the tests pass 2019-03-07 10:56:00 +01:00
Robert Habermeier e8c5c1ead4 implement mark_best using set_head 2019-02-18 17:33:22 -03:00
Robert Habermeier 303a1c37f9 implement parachain_key 2019-02-01 20:45:30 -03:00
Robert Habermeier 6397c786ff implement PolkadotClient for polkadot clients without parachain key 2019-01-21 21:47:21 -03:00
Robert Habermeier bf49f5624a implement LocalClient for relevant substrate clients 2019-01-21 20:18:07 -03:00
Robert Habermeier 74981f268f skeleton code for following a polkadot parachain 2019-01-21 19:54:44 -03:00
Robert Habermeier aa6cd4f231 add deps for consensus crate 2019-01-15 18:01:23 -03:00
Robert Habermeier 3474145090 Skeleton for Cumulus-consensus 2019-01-15 16:33:11 -03:00