-
Notifications
You must be signed in to change notification settings - Fork 43
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
Updated interface tests to use unique PDA per test #1027
Merged
Merged
Conversation
This file contains 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
db40431
to
2299904
Compare
ca453b1
to
c68e6ab
Compare
|
chris-de-leon-cll
pushed a commit
that referenced
this pull request
Feb 7, 2025
* Added Address searcher for decoded data * Introduced new Solana config * Completed iteration of ChainWriter config * Created sample configuration for execute method * Cleaned up exec config and added comments * Added commit report config example * Updated ChainWriter implementation to reflect new design changes * Added codec implementation * updated CCIP example * unit tests for lookups * Added utils to their own package * Updated lookup tests and helpers * Removed helpers_test * refactored ccip example * Completed chained lookup integration test * ChainWriter unit tests (#948) * Added ChainWriter unit tests for GetFeeComponents and GetTransactionStatus * Created SubmitTransaction tests * Created SubmitTransaction tests * Moved txm utils into own package and generated txm mock * Updated chain writer tests to use txm mock * Added GetAddresses unit test and fixed SubmitTransaction unit test * Fixed linting and removed file read for IDL * Fixed filter lookup table error case and fixed linting * Added filter lookup table addresses unit tests * Added new test case and fixed formatting issues * Addressed golang lint suggestions * Cleaned out unused dependency and fixed remaining golang lint errors * Added derived lookup table indeces unit tests --------- Co-authored-by: Silas Lenihan <[email protected]> * merged with develop * Removed write_test and moved logic to contract_reader_interface test program * addressed feedback comments * solved conflicts between TXM changes and unit test changes * updated comments and slight tweaks * Updated PDALookups Seeds field and fixed default accounts * Updated codec usage * updated comments and slight tweaks * Got ChainComponentsTests working with ChainWriter * Updated interface tests to use unique PDA per test (#1027) * Updated interface tests to initialize ContractReader and ContractWriter configs with a test index as a PDA seed * Disabled tests that require a second program * Updated contract reader test programs to enable interface tests * Add Test Struct PDA * Fixed interface tests for the latest ChainWriter changes * Enabled test struct interface test * Added store test struct method to secondary contract * Enabled test struct batch interface test * Enabled multi contract interface tests * Removed failing Solana specific tests * Removed Solana byte string modifier zero-value check * Fixed rust linting * Fixed Solana address modifier test * Fixed rust linting * Fixed interface tests on loop --------- Co-authored-by: ilija <[email protected]> * Disabled interface loop test * Regenerated ts pnpm lock file with compatible version * Regenerated example helloworld pnpm lock file with compatible version * Fix merge conflicts * Fixed interface tests after merge conflict --------- Co-authored-by: amit-momin <[email protected]> Co-authored-by: amit-momin <[email protected]> Co-authored-by: ilija <[email protected]>
chris-de-leon-cll
pushed a commit
that referenced
this pull request
Feb 8, 2025
* Added Address searcher for decoded data * Introduced new Solana config * Completed iteration of ChainWriter config * Created sample configuration for execute method * Cleaned up exec config and added comments * Added commit report config example * Updated ChainWriter implementation to reflect new design changes * Added codec implementation * updated CCIP example * unit tests for lookups * Added utils to their own package * Updated lookup tests and helpers * Removed helpers_test * refactored ccip example * Completed chained lookup integration test * ChainWriter unit tests (#948) * Added ChainWriter unit tests for GetFeeComponents and GetTransactionStatus * Created SubmitTransaction tests * Created SubmitTransaction tests * Moved txm utils into own package and generated txm mock * Updated chain writer tests to use txm mock * Added GetAddresses unit test and fixed SubmitTransaction unit test * Fixed linting and removed file read for IDL * Fixed filter lookup table error case and fixed linting * Added filter lookup table addresses unit tests * Added new test case and fixed formatting issues * Addressed golang lint suggestions * Cleaned out unused dependency and fixed remaining golang lint errors * Added derived lookup table indeces unit tests --------- Co-authored-by: Silas Lenihan <[email protected]> * merged with develop * Removed write_test and moved logic to contract_reader_interface test program * addressed feedback comments * solved conflicts between TXM changes and unit test changes * updated comments and slight tweaks * Updated PDALookups Seeds field and fixed default accounts * Updated codec usage * updated comments and slight tweaks * Got ChainComponentsTests working with ChainWriter * Updated interface tests to use unique PDA per test (#1027) * Updated interface tests to initialize ContractReader and ContractWriter configs with a test index as a PDA seed * Disabled tests that require a second program * Updated contract reader test programs to enable interface tests * Add Test Struct PDA * Fixed interface tests for the latest ChainWriter changes * Enabled test struct interface test * Added store test struct method to secondary contract * Enabled test struct batch interface test * Enabled multi contract interface tests * Removed failing Solana specific tests * Removed Solana byte string modifier zero-value check * Fixed rust linting * Fixed Solana address modifier test * Fixed rust linting * Fixed interface tests on loop --------- Co-authored-by: ilija <[email protected]> * Disabled interface loop test * Regenerated ts pnpm lock file with compatible version * Regenerated example helloworld pnpm lock file with compatible version * Implement multireader * merge lint * merge lint * Format contracts * Regenerated anchor-go * Fix merge conflicts * Fixed account initialization issue for interface tests * Fixed interface tests after merge conflict * Fix merge conflicts * Fix merge conflicts * Format CR test contract * lint * Regenerated anchor-go contracts * Regenerated anchor-go --------- Co-authored-by: Silas Lenihan <[email protected]> Co-authored-by: amit-momin <[email protected]> Co-authored-by: amit-momin <[email protected]>
akuzni2
pushed a commit
that referenced
this pull request
Feb 10, 2025
* Added Address searcher for decoded data * Introduced new Solana config * Completed iteration of ChainWriter config * Created sample configuration for execute method * Cleaned up exec config and added comments * Added commit report config example * Updated ChainWriter implementation to reflect new design changes * Added codec implementation * updated CCIP example * unit tests for lookups * Added utils to their own package * Updated lookup tests and helpers * Removed helpers_test * refactored ccip example * Completed chained lookup integration test * ChainWriter unit tests (#948) * Added ChainWriter unit tests for GetFeeComponents and GetTransactionStatus * Created SubmitTransaction tests * Created SubmitTransaction tests * Moved txm utils into own package and generated txm mock * Updated chain writer tests to use txm mock * Added GetAddresses unit test and fixed SubmitTransaction unit test * Fixed linting and removed file read for IDL * Fixed filter lookup table error case and fixed linting * Added filter lookup table addresses unit tests * Added new test case and fixed formatting issues * Addressed golang lint suggestions * Cleaned out unused dependency and fixed remaining golang lint errors * Added derived lookup table indeces unit tests --------- Co-authored-by: Silas Lenihan <[email protected]> * merged with develop * Removed write_test and moved logic to contract_reader_interface test program * addressed feedback comments * solved conflicts between TXM changes and unit test changes * updated comments and slight tweaks * Updated PDALookups Seeds field and fixed default accounts * Updated codec usage * updated comments and slight tweaks * Got ChainComponentsTests working with ChainWriter * Updated interface tests to use unique PDA per test (#1027) * Updated interface tests to initialize ContractReader and ContractWriter configs with a test index as a PDA seed * Disabled tests that require a second program * Updated contract reader test programs to enable interface tests * Add Test Struct PDA * Fixed interface tests for the latest ChainWriter changes * Enabled test struct interface test * Added store test struct method to secondary contract * Enabled test struct batch interface test * Enabled multi contract interface tests * Removed failing Solana specific tests * Removed Solana byte string modifier zero-value check * Fixed rust linting * Fixed Solana address modifier test * Fixed rust linting * Fixed interface tests on loop --------- Co-authored-by: ilija <[email protected]> * Disabled interface loop test * Regenerated ts pnpm lock file with compatible version * Regenerated example helloworld pnpm lock file with compatible version * Fix merge conflicts * Fixed interface tests after merge conflict --------- Co-authored-by: amit-momin <[email protected]> Co-authored-by: amit-momin <[email protected]> Co-authored-by: ilija <[email protected]>
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.
No description provided.