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

[ACP 151] Use current block's P-Chain height as context for verifying state of the inner block #3459

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

iansuvak
Copy link
Contributor

@iansuvak iansuvak commented Oct 10, 2024

Why this should be merged

Implements ACP 151 to improve UX of PChain and L1 interop for flows defined in ACP-77.

How this works

Passes in current block's P-Chain height into block.Context's PChainHeight field instead of the parent if Etna is activated.

How this was tested

Existing test mock expect was updated to reflect new behavior and a new test case for Pre-Etna behavior on the build side was added.

TODO: add testing for pre-etna verify

@iansuvak iansuvak self-assigned this Oct 11, 2024
@iansuvak iansuvak marked this pull request as ready for review October 11, 2024 21:10
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.

1 participant