deps: Bump program and interface deps to v4, clients to v3.1 #883
+1,950
−1,428
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
The repo is still on all v3 crates, but some v4 SDK crates and agave v3.1 crates are out.
Summary of changes
Bump whatever is possible. Since agave crates still pin sdk crates as of v3.1, we can't bump the sdk crates in the client / cli crates here.
While doing this, I ported the assert_instruction_count tests to mollusk, mostly copying the existing tests on the token repo. This way we can avoid solana-program-test and bump the program crates.