Skip to content

Conversation

@yhzhang0128
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Feb 1, 2023

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

2 Ignored Deployments
Name Status Preview Comments Updated
example-oracle-amm ⬜️ Ignored (Inspect) Feb 8, 2023 at 3:02PM (UTC)
xc-admin-frontend ⬜️ Ignored (Inspect) Feb 8, 2023 at 3:02PM (UTC)

@@ -0,0 +1,15 @@
[package]
name = "solana-receiver-cli"
Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor

@guibescos guibescos left a 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 guibescos changed the title Start to implement the solana receiver contract [solana] Start to implement the solana receiver contract Feb 1, 2023
Copy link
Contributor

@guibescos guibescos left a comment

Choose a reason for hiding this comment

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

Thank you!

@ali-behjati ali-behjati merged commit 16caff1 into pyth-network:main Feb 15, 2023
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.

3 participants