Skip to content
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

Wait for ProgramTest to support overwriting builtins with BPF programs #4

Closed
buffalojoec opened this issue Mar 6, 2024 · 2 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@buffalojoec
Copy link
Contributor

Problem

The runtime only recently was modified to allow builtin programs to be overwritten (#).

In order to use solana-program-test to test Core BPF versions of builtin programs, we'll need to wait
until this change is made available.

Until then, we have to use an arbitrary program address, which can make testing both inaccurate and
annoying.

Solution

Wait for the next release to use the updated runtime through solana-program-test.

@buffalojoec buffalojoec added the help wanted Extra attention is needed label Mar 6, 2024
@buffalojoec buffalojoec self-assigned this Mar 7, 2024
@buffalojoec
Copy link
Contributor Author

Looks like we might need to take a closer look at this one. It only works if you set prefer_bpf to false.

@buffalojoec
Copy link
Contributor Author

Closing in favor of #16.

@buffalojoec buffalojoec closed this as not planned Won't fix, can't repro, duplicate, stale Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant