-
Notifications
You must be signed in to change notification settings - Fork 222
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
feat(target_chains/ton): wormhole contract #1814
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
6a0452a
to
9daa9c1
Compare
9daa9c1
to
3674f60
Compare
@@ -290,7 +290,7 @@ slice begin_parse(cell c) asm "CTOS"; | |||
;;; Preloads the first reference from the slice. | |||
cell preload_ref(slice s) asm "PLDREF"; | |||
|
|||
{- Functions below are commented because are implemented on compilator level for optimisation -} | |||
{- Functions below are commented because are implemented on compilator level for optimisation -} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably pre-commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good but because the language is very low-level I like you to add much more documentations to the methods and logics so a less familiar reader can navigate through it easily.
Most of my comments are minor but I like to take another look after you've replied to/addressed them.
"0x6FBEBC898F403E4773E95FEB15E80C9A99C8348D", | ||
]; | ||
|
||
export function createGuardianSetUpgradeBytes( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't there any function in wormhole sdk to do it? we might have some ourselves too.
4a2cb1d
to
f68bcb6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
As a todo for future we should test that the code fails with incorrect VAAs.
parse_encoded_upgrade
main code and testparse_and_verify_wormhole_vm
main code and test