-
Notifications
You must be signed in to change notification settings - Fork 10
test validator #176
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
base: main
Are you sure you want to change the base?
test validator #176
Conversation
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.
1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
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.
1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
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.
LGTM! Thanks
Something is wrong with Solana or Cloudflare SSL handshake, which is breaking the CI. Let me check wth is going on before merging it. |
Problem
What problem are you trying to solve?
Currently cannot run tests without program deployment keypairs
Solution
How did you solve the problem?
Runs tests in an ephemeral local validator with pre-loaded programs for testing
New scripts:
tests/test-validator.sh
: Runs tests in a local validator that lasts the duration of the tests.Greptile Summary
Added a test validator script that initializes an ephemeral local Solana validator with pre-loaded programs and accounts for testing purposes.
/tests/test-validator.sh
to launch validator with 9 BPF programs and 2 test accounts> /dev/null 2>&1
) to reduce noise during testsset -euo pipefail
for script robustness💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!