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

Add data_preserver_active_assignment fn to OrchestratorChainInterface #32

Merged
merged 3 commits into from
Aug 27, 2024

Conversation

nanocryk
Copy link
Collaborator

Allows to query the current data preserver assignment status.

Returns a simple enum describing the current status of the assignment (not assigned, assigned+active, assigned+inactive). In Tanssi it will be implemented by a runtime api that will look at the assignment and its witness to return the current status. Having this simple enum avoids depending on types configured in the runtime, and avoids client side changes when new payment methods are supported in the runtime.

@tmpolaczyk
Copy link
Collaborator

@nanocryk please fix fmt and warnings before merging

@nanocryk nanocryk merged commit c88954e into master Aug 27, 2024
9 checks passed
@nanocryk nanocryk deleted the jeremy-interface-rpc-assignment branch August 27, 2024 12:50
nanocryk added a commit that referenced this pull request Aug 27, 2024
…ace` (#32)

* get_active_assignment interface fn

* rename interface fn

* fmt and warnings
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.

3 participants