-
Notifications
You must be signed in to change notification settings - Fork 45
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
tilt: solana-test-validator multi-platform support #563
Conversation
314adc7
to
a397e8e
Compare
a47fd43
to
cb2e671
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.
Changes look OK but it seems like the solana tests are failing.
@johnsaigle the CLI check is not a required check. There is an open PR from @nvsriram to fix this: #573 |
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.
Approving, assuming that the failure is caused by another issue as Nikhil mentioned
This PR adds support for solana-test-validator within Docker / Tilt for M-series Macs. See also wormhole-foundation/wormhole#4175 and wormhole-foundation/wormhole#4181 which made this possible.
It also changes the
sed
line to one that works on Mac and Linux / WSL. To confirm that line still works in ci, I did a run with the guardian log level oninfo
here where you can search for8bf0b547c96edc5c1d512ca25c5c1d1812a180438a0046e511d1fb61561d5cdf
and the other emitters added to confirm they are being accounted (search forgacct
guardian logs).Bonus: this changes the result of
solana/Dockerfile
to only contain the required artifacts, reducing the image size from 24.82 GB to 5.27 MB!oh, and you can now run
tilt up -- --evm2 --generic_relayer --solana_watcher --wormchain --guardiand_loglevel=warn
on your Mac just like in CI and it passes!