Merged
Conversation
…ecks out as expected.
* ground work for emode Rust tests + config test * invalid args test + cleanup * emode borrow tests * emode liquidation tests * improve comments a bit * attempt to fix CI build
…run at SuPeR SpEeD
…he primary rust test suite,
Contributor
|
In program terms this PR largely consists of version updates, modifications to imports and some deprecation / changes to SWB oracle parsing. Quite a lot of the PR just addresses import modifications to the tests. It looks fairly safe, assuming anchor 31.1 is itself safe. |
This was referenced Apr 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Includes anchor updates up to 0.31.1
Update your toolset to:
Note that you must
rustup updateand your1.88.0-nightlytoolset as well as your 1.79.0 toolset should be up to date. You shouldanchor cleanandcargo cleanbefore attempting to build. You may delete and rebuild your lockfile to validate it can actually be regenerated now.We must complete this update to enjoy the coming 0.31.1 hotfix that will patch the proc_macro issue which prevents us from building the idl without a hacky approach using the nightly compiler, see (solana-foundation/anchor#3663).Notable fun facts and changes
test-program-remix.sh), howevertest-program-remix.shno longer occasionally hangs because a failing tx hasn't returned an error. In the future, we can remove simulate for any tx where we don't care about confirmation, and also reduce the confirmation level, which should speed the suite up again.parse_swb_ignore_alignmentto parse swb accounts while ignoring that their local-system alignment is wrong. If you were seeing something like:then this is why and it's now fixed
WIP: