Bastian Köcher
9f0085c097
Wait for block import in parachain consensus ( #271 )
...
* Wait for block import in parachain consensus
There was a bug in the parachain consensus that when importing a relay
chain block that sets a new best parachain block, but the required
parachain block was not yet imported. This pr fixes this by waiting for
the block to be imported.
* Finish docs
2021-01-05 22:14:27 +00:00
Bastian Köcher
c75b59758d
Update everything to latest master ( #247 )
2020-11-25 15:45:49 +01:00
Bastian Köcher
182109ef5f
Switch to polkadot master branch ( #230 )
...
* Switch to polkadot master branch
* Fix compilation
2020-11-09 13:05:00 +01:00
Bastian Köcher
76f9ecae47
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
9603b2fe5f
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
e8e8881a68
Announce block after it is being enacted as new best block ( #182 )
2020-08-06 20:37:36 +02:00
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
Cecile Tonglet
f26dd45e78
Collate only if --validator is given ( #161 )
2020-07-29 20:49:31 +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
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
Bastian Köcher
cd7e06c643
Update Substrate & Polkadot ( #84 )
2020-04-29 14:23:18 +02:00
Bastian Köcher
c0769c6ae6
Introduce message broker for receiving and sending relay chain messages ( #80 )
...
* Start message broker implementation
* Finish first stub implementation
* Add features
* Fix attribute
* Update primitives/src/lib.rs
Co-Authored-By: Joshy Orndorff <JoshOrndorff@users.noreply.github.com >
Co-authored-by: Joshy Orndorff <JoshOrndorff@users.noreply.github.com >
2020-04-20 16:22:05 +02:00
Cecile Tonglet
dd5b344274
Update polkadot and substrate ( #71 )
2020-03-11 17:45:44 +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
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
Bastian Köcher
f0baba94fb
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
1bcb147669
Make everything compile and fix tests
2020-01-14 22:23:16 +01:00
thiolliere
712a2a1580
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
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
Bastian Köcher
92aefe924d
Provide SelectChain implementation for parachains
2019-10-08 14:38:27 +02:00
Bastian Köcher
7d1c5ab554
Enable feature
2019-10-02 19:45:52 +02:00
Bastian Köcher
600586573b
Make everything compile again
2019-10-02 16:52:08 +02:00
Bastian Köcher
bc4499b640
Try to fix the build
2019-09-29 02:05:49 +02:00
Bastian Köcher
ce064775fc
Some updates
2019-09-26 09:44:21 +02:00
Bastian Köcher
84c9092530
Update Substrate, Polkadot and switch to wasm-builder
2019-06-18 08:43:39 +02:00
Bastian Köcher
d8e901300d
Update to latest Substrate + Polkadot
2019-06-05 20:38:26 +02:00
Bastian Köcher
815e466c41
Trying to get the tests back working
2019-04-12 12:01:16 +02:00
Bastian Köcher
80b222c79d
Update to latest polkadot/substrate
2019-03-28 17:33:14 +01:00
Bastian Köcher
86fc19933d
Make the tests pass
2019-03-07 10:56:00 +01:00
Bastian Köcher
68100e7545
Adds test-runtime to start working on tests
2019-03-06 13:51:23 +01:00
Bastian Köcher
ecbf2c45c2
Adds validate_block support for runtime
2019-03-06 12:53:41 +01:00
Robert Habermeier
2ed6549530
implement mark_best using set_head
2019-02-18 17:33:22 -03:00
Robert Habermeier
b47cae17f0
implement parachain_key
2019-02-01 20:45:30 -03:00
Robert Habermeier
9c7c3d7088
implement PolkadotClient for polkadot clients without parachain key
2019-01-21 21:47:21 -03:00
Robert Habermeier
bcedf20c6c
implement LocalClient for relevant substrate clients
2019-01-21 20:18:07 -03:00
Robert Habermeier
1e0aeab26f
skeleton code for following a polkadot parachain
2019-01-21 19:54:44 -03:00
Robert Habermeier
e27600f07e
add deps for consensus crate
2019-01-15 18:01:23 -03:00
Robert Habermeier
ab44dc618e
Skeleton for Cumulus-consensus
2019-01-15 16:33:11 -03:00