Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More changes for Tanssi Data Preservers container chain spawning on assignment #26

Merged
merged 4 commits into from
Jul 16, 2024

Conversation

nanocryk
Copy link
Collaborator

@nanocryk nanocryk commented Jul 15, 2024

Companion of moondance-labs/tanssi#625

  • Adds new functions to OrchestratorChainInterface to get rid of the need for a client+runtime api
  • Remove functions added in previous PR as they are only used for collation, which will now still have access to the client.
  • Move container chain primitive to dancekit (to be used by the interface functions)
  • Remove RPC impl of OrchestratorChainInterface which will be moved to Tanssi


use super::*;

fn expected_container_chain_genesis_data() -> ContainerChainGenesisData<ConstU32<255>> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
fn expected_container_chain_genesis_data() -> ContainerChainGenesisData<ConstU32<255>> {
fn expected_container_chain_genesis_data() -> ContainerChainGenesisData {

Why is the CI green when this shouldn't compile?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feature-gated json. Since locally tanssi compiles it seems this feature is not used?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably that feature is enabled for build but disabled when running tests...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked the CI script and we do the same as in the tanssi repo, so we will encounter this issue there as well, as long as there is some feature which is not enabled by default, our unit tests will not run 😕

I guess the easiest way to notice that is to check the generated coverage file

@nanocryk nanocryk merged commit 1377728 into master Jul 16, 2024
8 checks passed
@nanocryk nanocryk deleted the jeremy-more-interface-fn-for-cc-spawner branch July 16, 2024 15:18
nanocryk added a commit that referenced this pull request Jul 16, 2024
…ssignment (#26)

* add new interface fn + move rpc interface to tanssi

* remove unused fn in Tanssi

* fmt

* remove generic
girazoki pushed a commit that referenced this pull request Aug 1, 2024
…ssignment (#26)

* add new interface fn + move rpc interface to tanssi

* remove unused fn in Tanssi

* fmt

* remove generic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants