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

vms/platformvm: Process atomicRequests and onAcceptFunc in option blocks #2459

Merged
merged 9 commits into from
Dec 11, 2023

Conversation

dhrubabasu
Copy link
Contributor

@dhrubabasu dhrubabasu commented Dec 10, 2023

Why this should be merged

Once ProposalBlocks contain decision txs, these fields will be populated. We must duly process them.

This is a no-op change currently as these fields are not populated.

Factored out of #2451

How this works

  • Copied relevant processing code from the standardBlock function.
  • When populating fields of the option block, also copy over atomicRequests, inputs, onAcceptFunc

How this was tested

CI

@dhrubabasu dhrubabasu added this to the v1.10.18 milestone Dec 10, 2023
@dhrubabasu dhrubabasu self-assigned this Dec 10, 2023
abi87
abi87 previously requested changes Dec 11, 2023
Copy link
Contributor

@abi87 abi87 left a comment

Choose a reason for hiding this comment

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

@StephenButtolph should we evaluate the altenative design in #2439 before merging this?

@dhrubabasu dhrubabasu dismissed abi87’s stale review December 11, 2023 13:42

isn't a review but should be discussed

Copy link
Contributor

@abi87 abi87 left a comment

Choose a reason for hiding this comment

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

approved

@StephenButtolph StephenButtolph added this pull request to the merge queue Dec 11, 2023
Merged via the queue into dev with commit f5266fb Dec 11, 2023
@StephenButtolph StephenButtolph deleted the process-atomic-memory-and-on-accept-func branch December 11, 2023 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants