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

[core] Use Envelope for TransactionEffects #5967

Merged
merged 1 commit into from
Nov 15, 2022
Merged

Conversation

lxfind
Copy link
Contributor

@lxfind lxfind commented Nov 9, 2022

Consolidate effects envelope data structure. Main changes are in messages.rs. Rest are just refactorings.

@vercel
Copy link

vercel bot commented Nov 9, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
explorer ❌ Failed (Inspect) Nov 9, 2022 at 5:27AM (UTC)

@lxfind
Copy link
Contributor Author

lxfind commented Nov 15, 2022

ping :)

@lxfind lxfind force-pushed the core-effects-use-envelope branch from e197590 to 032ba63 Compare November 15, 2022 18:24
@@ -1741,7 +1743,7 @@ where
?tx_digest,
name=?name.concise(),
expected_epoch=?self.committee.epoch,
returned_epoch=?inner_signed.auth_sig().epoch,
returned_epoch=?inner_signed.epoch(),
Copy link
Contributor

Choose a reason for hiding this comment

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

whats the difference btw the epoch in auth sig vs the epoch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's the same thing. Just a shortcut function.

Copy link
Contributor

@joyqvq joyqvq left a comment

Choose a reason for hiding this comment

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

lgtm!

@lxfind lxfind merged commit 0a6da9a into main Nov 15, 2022
@lxfind lxfind deleted the core-effects-use-envelope branch November 15, 2022 18:40
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