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

fix: missing RawTransfer event emission #77

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

xJonathanLEI
Copy link
Contributor

The RawTransfer event that's meant to enable offchain raw balance tracking was incorrectly not emitted in certain cases, defeating its own purpose. This commit fixes it.

Note that since it's impossible to apply the fix retrospectively, users before this fix is deployed would have broken history. A separate mechanism is needed to somehow "snapshot" raw balances of old users to allow offchain indexing applications to reconcile accordingly.

The `RawTransfer` event that's meant to enable offchain raw balance
tracking was incorrectly not emitted in certain cases, defeating its own
purpose. This commit fixes it.

Note that since it's impossible to apply the fix retrospectively,
users before this fix is deployed would have broken history. A separate
mechanism is needed to somehow "snapshot" raw balances of old users to
allow offchain indexing applications to reconcile accordingly.
@xJonathanLEI xJonathanLEI merged commit 76f43d9 into master Apr 12, 2024
4 checks passed
@xJonathanLEI xJonathanLEI deleted the fix/ztoken_raw_transfer branch April 12, 2024 02:53
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.

None yet

1 participant