Commit Graph

29 Commits

Author SHA1 Message Date
Bastian Köcher 6f50d0928d Add parachains for rococo (#144)
* Add parachains for rococo

* Fix chain specs

* Update to revert log rotation

* Support selecting the chain in `export-genesis-state`

* Add subcommand for exporting the genesis wasm of a Parachain

* Update stuff

* Fix `export-genesis-wasm`

* Update the polkadot ref

* Add bootNodes address

* Add bootNodes address - track

* Add bootNodes address - trick

* Fix incorrect peer id (trick)

* Fixes https://github.com/paritytech/cumulus/issues/157

* Update chainspecs

* Update specs again

* Set correct sudo account

* Update properties

* Update readme

* Update `Cargo.lock`

* Switch to rococo-branch

Co-authored-by: Evaldo <contato@evaldofelipe.com>
Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
2020-08-04 17:33:20 +02:00
Bastian Köcher 1f83a231c2 Fix block announcement validation (#171)
* Fix block announce

* Fix compilation
2020-08-04 15:19:36 +02:00
Cecile Tonglet 9843ebc16e Fix Polkadot CLI arguments not properly parsed (#163)
* Initial commit

Forked at: f26dd45e78
Parent branch: origin/master

* Fix polkadot cli arguments not properly parsed

* Update test/parachain/src/command.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2020-07-30 09:59:25 +02:00
Cecile Tonglet f26dd45e78 Collate only if --validator is given (#161) 2020-07-29 20:49:31 +02:00
Cecile Tonglet bcc627799a Fix integration test (#124) 2020-07-23 16:12:11 +02:00
Bastian Köcher 03205eb601 Update Substrate & Polkadot (#141) 2020-07-09 15:28:45 +02:00
Bastian Köcher 416c97030c Upgrade Polkadot & Substrate (#139)
* Upgrade Polkadot & Substrate

* Update test/parachain/src/command.rs

Co-authored-by: Cecile Tonglet <cecile@parity.io>

Co-authored-by: Cecile Tonglet <cecile@parity.io>
2020-07-09 14:33:00 +02:00
Bastian Köcher 82db23f2ed 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 6a6fec66fb Update to latest Substrate & Polkadot (#131)
* Switch to latest Substrate & Polkadot

* Update again
2020-07-01 10:38:26 +02:00
Bastian Köcher 62c22b88b9 Implement basic upward & downward messages (#118)
* Start by replacing branch names and set `DownwardMessage`

* Add the upward-message crate

* Add Kusama & Polkadot

* More work on getting the upward messages working

* Fix build

* Begin to integrate it into the test Parachain

* Update

* Make everything compile again

* Switch to westend and print parachain account on startup

* Use MultiSignature etc

* Fix validate block

* Some downward messages work

* Update git reference

* More downward messages integration

* Update test runtime for downward messages

* Enable downward message handler and withdraw send tokens

* Add some docs

* Begin to implement simple XCMP

* More work

* Fixes and make parachain id configurable

* Make parachain ID be part of the genesis

* Finishing the XCMP message demo

* Update and fixes tests

* Update branch
2020-06-18 12:10:20 +02:00
Cecile Tonglet 8b1fd65ed6 Update polkadot & substrate (#112) 2020-06-15 12:40:15 +02:00
Cecile Tonglet 41376cef61 Prefix logs of parachain and relaychain differently + remove light client of relay chain (#109) 2020-06-11 12:39:20 +02:00
Bastian Köcher b3603d1c13 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
Cecile Tonglet adc88bf167 Use JustifiedBlockAnnounceValidator for parachain block announce validator (#96) 2020-05-19 17:56:31 +02:00
Cecile Tonglet 032595ddd0 Keep unpinned blocks for a while before announcing (#83)
* Initial commit

Forked at: 461b971ccc
Parent branch: origin/master

* Change substrate and polkadot branch to cecton-cumulus-branch

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* update .editorconfig

* should probably be --dev

* formatting

* Change substrate & polkadot branch to cecton-keep-unpinned-para-blocks

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* Update polkadot & substrate branches

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* Some fixes

* Updated polkadot

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* WIP

Forked at: 461b971ccc
Parent branch: origin/master

* Cargo.lock

* WIP

Forked at: cd1eb3786d
Parent branch: origin/master

* WIP

Forked at: cd1eb3786d
Parent branch: origin/master

* Update substrate & polkadot branches

* Clean-up

* WIP

Forked at: cd1eb3786d
Parent branch: origin/master

* WIP

Forked at: cd1eb3786d
Parent branch: origin/master

* WIP

Forked at: cd1eb3786d
Parent branch: origin/master

* WIP

Forked at: cd1eb3786d
Parent branch: origin/master

* WIP

Forked at: cd1eb3786d
Parent branch: origin/master

* Use JustifiedBlockAnnounceValidator

* debug

* Revert "debug"

This reverts commit 2404121b840984d6ffc1012ccec1e6a784fa236c.

* Revert "Use JustifiedBlockAnnounceValidator"

This reverts commit 33e2efef21a1553c294b2bc23fca8b08bf77be2b.

* Revert branch to cumulus-branch

* clean-up

* clean-up

* cleanup

* cleanup

* Update branches

* debug

* Cancel previous task when new one is created

* Remove stream-cancel

* Clean-up

* cleanup

* cleanup

* Fix merge issue

* Update polkadot_chainspec.json

* Update network/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Update network/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Use closure instead of NetworkService to announce_block

* doc

* WIP

Forked at: cd1eb3786d
Parent branch: origin/master

* Move disable announcement to its own function with doc

* Change substrate and polkadot branch to cumulus-master

Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2020-05-06 12:50:56 +02:00
Bastian Köcher cd7e06c643 Update Substrate & Polkadot (#84) 2020-04-29 14:23:18 +02:00
Cecile Tonglet b9793bc2f6 Update substrate & polkadot (#82) 2020-04-21 12:17:50 +02:00
Cecile Tonglet 7431075d01 Update polkadot & substrate (#76) 2020-04-15 12:25:41 +02:00
Bastian Köcher 461b971ccc Update to latest Polkadot & Substrate (#75)
* Start fixing compilation errors

* Switch to git version of `WasmBuilder`

* Fix compilation

* More updates

* Adapt to latest Substrate/Polkadot changes
2020-04-06 21:55:32 +02:00
Cecile Tonglet dd5b344274 Update polkadot and substrate (#71) 2020-03-11 17:45:44 +01:00
Cecile Tonglet f8631d8dd5 Run polkadot using future (#63)
Fixes #56 and #44
2020-02-27 17:54:52 +01:00
Cecile Tonglet 2941569e8a Update CLI (#53)
* Initial commit

Forked at: 0efd15c0c5
Parent branch: master

* Update substrate: more CLI improvement

* Update substrate and polkadot to cecton-cumulus-branch

* WIP

Forked at: 0efd15c0c5
Parent branch: master

* Update Cargo.lock

* WIP

Forked at: 0efd15c0c5
Parent branch: master

* WIP

Forked at: 0efd15c0c5
Parent branch: master

* Update Cargo.lock

* WIP

Forked at: 0efd15c0c5
Parent branch: master

* WIP

Forked at: 0efd15c0c5
Parent branch: master

* Test running node and interrupts

* WIP

Forked at: 0efd15c0c5
Parent branch: master

* Update Cargo.lock

* Update test/parachain/tests/running_the_node_and_interrupt.rs

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2020-02-10 12:39:32 +01:00
Cecile Tonglet 0efd15c0c5 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
Cecile Tonglet 7fb8b2fb47 Update substrate async api (#49)
* Update substrate: async API fix

* Fix to update polkadot and substrate

* Update substrate & polkadot to use cumulus-branch

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2020-02-01 16:28:33 +01:00
Bastian Köcher 1bcb147669 Make everything compile and fix tests 2020-01-14 22:23:16 +01:00
Bastian Köcher d3ed1df0ea Implement block import 2019-10-22 15:26:11 +02:00
Bastian Köcher 982b2a7cf4 Make collator generate the correct block data 2019-10-19 15:45:02 +02:00
Bastian Köcher c7e229bf6e Make basic collation working 2019-10-18 14:16:32 +02:00
Bastian Köcher d9edf82783 Begin to add a test parachain 2019-10-16 13:39:38 +02:00