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

Implement ParachainHost_para_backing_state runtime call #4416

Open
2 tasks done
EclesioMeloJunior opened this issue Dec 17, 2024 · 0 comments
Open
2 tasks done

Implement ParachainHost_para_backing_state runtime call #4416

EclesioMeloJunior opened this issue Dec 17, 2024 · 0 comments
Assignees
Labels
C-complex Complex changes across multiple modules. Possibly will require additional research. P-high this should be addressed ASAP. S-subsystems-backing issues related to polkadot host backing subsystem functionality. T-feat this issue/pr is a new feature or functionality. T-implementation this issue/pr is a new feature or functionality.

Comments

@EclesioMeloJunior
Copy link
Member

EclesioMeloJunior commented Dec 17, 2024

Issue summary

  • This runtime API method is responsible to provide informations about the current backing state for a parachain ID
  • This informations are used by Prospective Parachains subsystem to validate incoming parachain candidate blocks and perform a ahead of time check to ensure that the building blocks are following specific Constraints.

Implementation details

  • This is essentially an implementation in the runtime/wazero/instance.go file, where we will define the method string, ParachainHost_para_backing_state that will be used at instance.Exec method
  • We should also introduce the returned values as types under parachaintypes package

Other information and links

Acceptance criteria

@EclesioMeloJunior EclesioMeloJunior added C-complex Complex changes across multiple modules. Possibly will require additional research. P-high this should be addressed ASAP. S-subsystems-backing issues related to polkadot host backing subsystem functionality. T-feat this issue/pr is a new feature or functionality. T-implementation this issue/pr is a new feature or functionality. labels Dec 17, 2024
@EclesioMeloJunior EclesioMeloJunior self-assigned this Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-complex Complex changes across multiple modules. Possibly will require additional research. P-high this should be addressed ASAP. S-subsystems-backing issues related to polkadot host backing subsystem functionality. T-feat this issue/pr is a new feature or functionality. T-implementation this issue/pr is a new feature or functionality.
Projects
None yet
Development

No branches or pull requests

1 participant