chore: cleanup light client and light-program-test#1720
Merged
Conversation
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.
Changes:
rate_limiter.rstoforester_utils1.1. remove
RateLimitfunctions fromRpcConnectiontraitrpc_pooltoforester_utilsSolanaRpcConnectionProgramTestRpcConnectionTransactionParamsbehinddevenvfeatureTransactionParamsforRpcConnectionfunctions which use it and hide the version withTransactionParamsbehinddevenvPhotonIndexer(so that we can remove the governor crate from light-client)assert_rpc_errortolight_program_test::assert::assert_rpc_errorsolana_sdkwith individual solana crates to reduce compile time (it is still too high we should reduce it further)TestRpcConnectionwithfn set_accountandfn warp_to_slot11.1. add
skip_*_treestoGeneralConfigis used inperform_active_work11.2.
IndexerType:11.2.1. implement it directly for Indexer types instead of passing lndexer trait as generic
11.3.
12.1. rename
EnvAccounts->TestAccounts12.2. refactor
EnvAccountsstructure intoprotocol,v1_state_trees,v2_state_treesand address tree fields12.3. rename
ProgramTestRpcConnection->LightProgramTest