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

Modified order of event logs to be processed in processor create UTXO #605

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

purplesmoke05
Copy link
Member

@purplesmoke05 purplesmoke05 commented Mar 12, 2024

Close: #600

db_session=db_session,
token_contract=token_contract,
block_from=block_from,
block_to=block_to,
)
event_triggered = event_triggered | await self.__process_unlock(
event_triggered = event_triggered | await self.__process_redeem(
db_session=db_session,
token_contract=token_contract,
block_from=block_from,
Copy link
Member Author

Choose a reason for hiding this comment

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

  • Changed the order in which events are processed
  • Moved processing of Unlock events into processing of Transfer

@purplesmoke05 purplesmoke05 marked this pull request as ready for review March 13, 2024 01:20
@YoshihitoAso
Copy link
Member

YoshihitoAso commented Mar 13, 2024

We had a similar problem with https://github.com/orgs/community/discussions/43181 and couldn't merge, so we merged it manually on the backend. Therefore, this PR will be closed.

a4979e9
e6d692c

@YoshihitoAso YoshihitoAso merged commit e6d692c into dev-24.3 Mar 13, 2024
5 checks passed
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.

[BUG] balance changes due to transfers immediately following an additional issue are not reflected in UTXO
2 participants