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

[PVM] Fix CaminoRewardValidatorTx onAbort address state #344

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

evlekht
Copy link
Member

@evlekht evlekht commented Jul 23, 2024

Why this should be merged

CaminoRewardValidatorTx execution has error, most likely copy-paste mistake. It expected, that onCommit and onAbort states will be identical, but tx is not setting deferred addressState bit in onAbort state and setting it twice in onCommit state.

How this works

This looks like a simple copy-paste error. So PR simply replaces onCommit state with onAbort state.

How this was tested

It wasn't.

Additional references

Original PR based on cortina-19 dev
#322

@evlekht evlekht force-pushed the cortina-15-dev/fix-reward-validator-on-abort branch from 66044cf to aa7dd22 Compare July 24, 2024 10:40
havan
havan previously approved these changes Jul 24, 2024
@mo-c4t mo-c4t self-requested a review July 24, 2024 11:59
mo-c4t
mo-c4t previously approved these changes Jul 24, 2024
@havan havan added the checked Temporary label for Cortina-15 revert label Jul 24, 2024
@evlekht evlekht changed the base branch from evlekht/new-dev-resulting to dev July 25, 2024 12:48
@evlekht evlekht dismissed stale reviews from mo-c4t and havan July 25, 2024 12:48

The base branch was changed.

@evlekht evlekht marked this pull request as ready for review July 25, 2024 12:48
@evlekht evlekht merged commit 0fe6350 into dev Jul 25, 2024
3 checks passed
@evlekht evlekht deleted the cortina-15-dev/fix-reward-validator-on-abort branch July 25, 2024 12:50
evlekht added a commit that referenced this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
checked Temporary label for Cortina-15 revert
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants