Bastian Köcher
326da935bb
Fix export-genesis-state ( #200 )
...
Fix `--parachain-id` CLI argument for `export-genesis-state` and don't
print genesis state without newline.
2020-08-13 09:53:02 +02:00
Bastian Köcher
2381e5addf
Implement storage::next_key ( #195 )
2020-08-12 09:54:12 +02: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
Bastian Köcher
96da14c14f
Rework default values used by the RelayChainCli ( #189 )
...
This reworks the default values used by the RelayChainCli for stuff like
the listen port etc.
This also renames all the contracts related stuff to `cumulus-*` to
support `.cargo/config` overrides.
2020-08-10 09:53:07 +02: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
817507f990
Update to integrate network fix from Substrate ( #184 )
2020-08-06 22:05:45 +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
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
Bastian Köcher
db2c0b8861
Try to workaround the invalid compilation ( #159 )
...
There is probably some bug in rustc which result in an invalid
compilation when using an `expect` at the given position. I'm still not
sure why this is happening, but this fix should fix it for now.
2020-07-27 10:28:05 +02:00
Bastian Köcher
c3a9c51051
Switch to StorageProof ( #160 )
2020-07-27 10:22:58 +02:00
Bastian Köcher
ec40d451a3
Fix storage_append ( #158 )
2020-07-26 21:22:35 +02:00
Bastian Köcher
5fab0fc118
Harden storage against re-entry ( #156 )
2020-07-25 23:34:52 +02:00
Bastian Köcher
03205eb601
Update Substrate & Polkadot ( #141 )
2020-07-09 15:28:45 +02:00
Bastian Köcher and Cecile Tonglet
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
05a83e8bdb
Take storage root from parent header ( #123 )
2020-06-19 13:15:56 +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
Bastian Köcher and Cecile Tonglet
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
e183d8bd30
Put cumulus-parachain-upgrade into the test parachain ( #98 )
...
This ensures that the crate compiles for `no_std`. Besides this, there
are some fixes to the crate code itself.
2020-05-15 16:10:22 +02:00
Bastian Köcher
cd7e06c643
Update Substrate & Polkadot ( #84 )
2020-04-29 14:23:18 +02:00
Bastian Köcher
04f93b6a1c
Don't leak std feature to WASM ( #81 )
2020-04-21 10:34:41 +02:00
Bastian Köcher and Joshy Orndorff
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
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
5168bf85c5
Adds some highlevel docs for Cumulus ( #54 )
...
* Adds some highlevel docs for Cumulus
* Apply suggestions from code review
Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-Authored-By: Joshy Orndorff <JoshOrndorff@users.noreply.github.com >
Co-Authored-By: Nikolay Volf <nikvolf@gmail.com >
* Update docs/overview.md
Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update docs/overview.md
Co-Authored-By: Robert Habermeier <rphmeier@gmail.com >
* Add sentence
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Joshy Orndorff <JoshOrndorff@users.noreply.github.com >
Co-authored-by: Nikolay Volf <nikvolf@gmail.com >
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2020-03-13 14:28:17 +01: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
3ab7998909
Update README.md ( #66 )
2020-02-20 09:23:02 +01:00
Bastian Köcher
cd1eb3786d
Remove unwrap_trie_error and replace with expect ( #64 )
2020-02-18 12:25:11 +01:00
Bastian Köcher
0d83b55741
Update README to fix the startup ( #61 )
...
* Update README to fix the startup
* Add missing `=`
* Apply suggestions from code review
2020-02-14 22:03:11 +01:00
Bastian Köcher
0c3fb0dde7
Update Polkadot chain-spec and switch to new wasm builder ( #60 )
2020-02-14 11:44:27 +01:00
Bastian Köcher
3f4c51f14c
Update chainspec to make the test parachain work again ( #47 )
2020-01-22 11:29:57 +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
4b2cdb6c14
Update the README ( #45 )
2020-01-20 13:13:36 +01:00
Bastian Köcher
765a38932f
Update Substrate & Polkadot ( #41 )
2020-01-16 17:26:49 +01:00
Bastian Köcher
6a04f4dbf7
Merge pull request #39 from paritytech/bkchr-safety-violation
...
Don't finalize the same block multiple times
2020-01-16 08:43:53 +01:00
Bastian Köcher
dcde10c918
Merge pull request #33 from paritytech/bkchr-make-it-work-again
...
Make everything compile and fix tests
2020-01-15 12:22:37 +01:00
Bastian Köcher
e115da25e6
Merge pull request #32 from paritytech/CI_optimizations
...
CI optimizations
2019-12-08 14:31:46 +01:00
Bastian Köcher
f9a7199b65
Merge pull request #29 from paritytech/joshy-clarify-instructions
...
Clarify instructions for registering a parachain.
2019-11-30 11:37:57 +01:00
Bastian Köcher
e025dabe76
Merge pull request #17 from paritytech/gui-candidate-justification
...
implementation of BlockAnnounceValidator
2019-11-06 09:49:58 +01:00
Bastian Köcher
d0f855b246
Merge pull request #22 from paritytech/bkchr-test-parachain
...
Add test parachain
2019-11-06 09:15:12 +01:00
Bastian Köcher
b1df91dafe
Merge pull request #21 from paritytech/retry_on_gitlab_system_failures
...
retry on gitlab system failures
2019-10-31 09:26:46 +01:00
Bastian Köcher
debf9a2b95
Update .gitlab-ci.yml
2019-10-31 09:25:50 +01:00
Bastian Köcher
c10f05eeee
Merge pull request #11 from paritytech/bkchr-collator
...
Implement Collator
2019-10-08 09:53:16 +02:00
Bastian Köcher
03b49b4ab2
Merge pull request #14 from paritytech/create_ci
...
a simple CI for the start
2019-10-01 10:01:11 +02:00
Bastian Köcher
a1b8a0678b
Merge pull request #13 from paritytech/stas-gitignore-common-ide
...
Add common ignored files
2019-07-11 23:17:51 +02:00
Bastian Köcher
6c5fddda63
Merge pull request #12 from paritytech/bkchr-validate_block_2
...
Switch to `parachain::ValidationParams`
2019-06-21 15:39:48 +02:00
Bastian Köcher
1f76160e03
Merge pull request #10 from paritytech/bkchr-update-to-latest-substrate
...
Update to latest Substrate + Polkadot
2019-06-06 14:00:11 +02:00
Bastian Köcher
15362b6d9d
Merge pull request #9 from paritytech/stas-6-validate-block-parent-hash
...
Pass parent hash to the validate_block function
2019-05-07 08:33:39 +02:00