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

[Blockchain Watcher] Use Sui event's timestamp instead of checkpoint's #1803

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

M-Picco
Copy link
Collaborator

@M-Picco M-Picco commented Oct 17, 2024

No description provided.

@M-Picco M-Picco marked this pull request as ready for review October 17, 2024 13:47
@M-Picco M-Picco merged commit 01c2868 into main Oct 17, 2024
2 checks passed
@M-Picco M-Picco deleted the fix/bw-sui-timestamp branch October 17, 2024 14:18
@@ -28,7 +28,7 @@ export const suiLogMessagePublishedMapper = (
name: "log-message-published",
address: event.packageId,
blockHeight: BigInt(receipt.checkpoint || 0),
blockTime: Math.floor(Number(receipt.timestampMs) / 1000), // convert to seconds
blockTime: Math.floor(timestamp / 1000), // convert to seconds
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe we need to change the redeem mapper too? suiRedeemedTransactionFoundMapper

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.

2 participants