-
Notifications
You must be signed in to change notification settings - Fork 308
[solana] Start to implement the solana receiver contract #557
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
target_chains/solana/cli/Cargo.toml
Outdated
| @@ -0,0 +1,15 @@ | |||
| [package] | |||
| name = "solana-receiver-cli" | |||
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.
A cli is good to play around but to test the program I recommend rust tests with simulated VAA (synthetic accounts that correspond to a posted VAA). See how I did it here https://github.com/pyth-network/pyth-crosschain/blob/main/governance/remote_executor/programs/remote-executor/src/tests/executor_simulator.rs#L148
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.
I think you can also use that to iterate fast
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.
Good point. I am working on it and should have it ready later this week. Will ping you on slack when I finish.
guibescos
left a comment
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.
Looks good to me, please address feedback
guibescos
left a comment
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.
Thank you!
No description provided.