Commit Graph

25 Commits

Author SHA1 Message Date
Cecile Tonglet adc88bf167 Use JustifiedBlockAnnounceValidator for parachain block announce validator (#96) 2020-05-19 17:56:31 +02:00
Cecile Tonglet 0a7cde6610 Integration test (#91) 2020-05-18 17:17:34 +02:00
Peter Goodspeed-Niklaus c163d8702b fix test collator compilation failure (#89)
* fix test collator compilation failure

Closes #88.

* copy method instead of using feature

Using a feature gate like "test-features" is problematic because
it is leaky: depending on situational considitons such as the
current working directory when compilation is attempted, the
feature may or may not be applied, which makes success inconsistent.
It's simpler in this case to copy a dozen lines of code than to
work out all the issues with test features.
2020-05-08 00:27:33 +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
Bastian Köcher 41817628b7 Update Polkadot/Substrate (#68)
* Update Polkadot/Substrate

* Update branch
2020-02-24 21:52:49 +01:00
Cecile Tonglet e13511bd8a Fix: relay chain arguments need a first argument "command" (#65)
Otherwise the first positional argument is just swallowed

Fixes #62

Forked at: cd1eb3786d
Parent branch: origin/master
2020-02-18 15:22:40 +01:00
Cecile Tonglet ea65c31654 Disable mdns polkadot (#58)
Deactivate mdns for polkadot node as it prevents the process to exit properly

Fixes #57
2020-02-11 13:11:21 +01:00
Cecile Tonglet e880fe43e9 Update polkadot & substrate (#55) 2020-02-10 18:01:59 +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
Cecile Tonglet a7d2700b99 Splitting relaychain and parachain command-line arguments (#42)
Fixes #34

Added .editorconfig
2020-01-28 10:00:45 +01:00
Bastian Köcher 704b25d123 Fix missing keystore config in test collator (#46) 2020-01-21 13:44:56 +01:00
Bastian Köcher 1bcb147669 Make everything compile and fix tests 2020-01-14 22:23:16 +01:00
Bastian Köcher 0edc170036 The parachain does not need any bootnodes for now 2019-10-22 16:41:13 +02: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