Bastian Köcher
57b5ec4053
Switch to custom BlockAnnounceData ( #310 )
...
* Switch to custom `BlockAnnounceData`
Instead of sending a `SignedFullStatement` this switches to a new struct
`BlockAnnounceData` that is being send alongside the block announcement.
The signed full statement contains the candidate commitments, meaning it
could be a full runtime upgrade that we send alongside a block
announcement... To prevent this, we now only send the candidate receipt
and the compact statement.
* Update to latest polkadot
2021-01-26 03:32:03 +01:00
Alexander Krupenkin
a060991bbe
Update to latest polkadot & substrate ( #266 )
2020-12-16 10:50:05 +01:00
Alexander Krupenkin
ea10fa8230
Upgdate to latest polkadot & substrate ( #263 )
...
* Upgdate to latest polkadot & substrate
* Fix code formatting (cargo fmt)
* Fix unit tests
2020-12-10 14:28:02 +01:00
Sergei Shulepov
ba1fa36411
Update polkadot to the latest master ( #251 )
...
* update cumulus to latest polkadot
* s/Trait/Config
To be more consistent with the new naming.
* Update Cargo.lock
* fix network tests
2020-12-01 19:21:40 +01:00
Bastian Köcher
66576cb6b4
Update to latest master ( #246 )
2020-11-23 19:09:25 +01:00
Bastian Köcher
63efcc49c3
Wait for relay chain block import before validatiing a block announcement ( #227 )
...
* 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
* Write test that should fail
* Add `WaitOnRelayChainBlock`
* Update git versions
* Make it all work
* Update logging
* Switch to provided method for pushing an extrinsic
* Try to debug CI
* Aaaa
* Only use Debug
* Updates
* Use native execution to hopefully make CI happy...
2020-11-23 00:21:02 +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
2c63ccb9eb
One node two runtimes ( #191 )
...
* One node two runtimes
This enables the rococo-collator to run the normal and the contracts runtime.
* Fix tests
2020-08-11 11:35:54 +02:00
Cecile Tonglet
3f3beea7f0
Don't validate a block announcement when syncing ( #177 )
2020-08-06 13:30:55 +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
f26dd45e78
Collate only if --validator is given ( #161 )
2020-07-29 20:49:31 +02:00
Bastian Köcher
03205eb601
Update Substrate & Polkadot ( #141 )
2020-07-09 15:28:45 +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
Cecile Tonglet
1afdba7464
Reject blocks without justification which don't have the best number ( #105 )
...
* Initial commit
Forked at: 8f02e233da
Parent branch: origin/master
* Reject blocks without justification
* Revert "Reject blocks without justification"
This reverts commit ee60e12097939d4ccfe987a71db9a876319ae5ba.
* WIP
Forked at: 8f02e233da
Parent branch: origin/master
* WIP
Forked at: 8f02e233da
Parent branch: origin/master
* WIP
Forked at: 8f02e233da
Parent branch: origin/master
* CLEANUP
Forked at: 8f02e233da
Parent branch: origin/master
* WIP
Forked at: 8f02e233da
Parent branch: origin/master
* WIP
Forked at: 8f02e233da
Parent branch: origin/master
* CLEANUP
Forked at: 8f02e233da
Parent branch: origin/master
* WIP
Forked at: 8f02e233da
Parent branch: origin/master
* WIP
Forked at: 8f02e233da
Parent branch: origin/master
* Move HeadData to primitives
* 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 >
* CLEANUP
Forked at: 8f02e233da
Parent branch: origin/master
* fix
* CLEANUP
Forked at: 8f02e233da
Parent branch: origin/master
* messages
* for the greater good
* Update primitives/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 >
* 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 >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-06-03 14:15:52 +02:00
Cecile Tonglet
8f02e233da
Ensure relay chain parent is the relay chain head ( #103 )
2020-05-27 14:43:45 +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
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
Bastian Köcher
41817628b7
Update Polkadot/Substrate ( #68 )
...
* Update Polkadot/Substrate
* Update branch
2020-02-24 21:52:49 +01:00
Bastian Köcher
1bcb147669
Make everything compile and fix tests
2020-01-14 22:23:16 +01:00
thiolliere
997b02d8e6
allow empty data
2019-10-31 15:31:42 +01:00
thiolliere
647d376a4f
improve doc
2019-10-31 15:28:16 +01:00
thiolliere
6cf27d9e97
use gossip message directly
2019-10-31 15:22:14 +01:00
thiolliere
83d2425eaf
copyright
2019-10-24 13:52:10 +02:00
thiolliere
280c89f149
doc
2019-10-24 13:44:05 +02:00
thiolliere
05249cac55
code moved
2019-10-24 13:41:58 +02:00