Skip to content

Commit 319e58e

Browse files
silaslenihanpablolagrecaamit-momin
authored
Solana ChainWriter (#935)
* Starting mapping out Solana ChainWriter * Added Address searcher for decoded data * Introduced new Solana config * Completed iteration of ChainWriter config * Refactored lookup tables * Created sample configuration for execute method * Update chain_writer_test.go * Cleaned up exec config and added comments * Removed ValueSeeds and consolidated into a single Seeds array * Added decode location * Added commit report config example * Slight changes to IDL and codec * Updated ChainWriter implementation to reflect new design changes * Added codec implementation * updated CCIP example * Moved lookups logic to separate file * 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 --------- Co-authored-by: pablolagreca <[email protected]> Co-authored-by: amit-momin <[email protected]>
1 parent 2e24ead commit 319e58e

31 files changed

+4479
-1380
lines changed

.mockery.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ packages:
3737
config:
3838
filename: simple_keystore.go
3939
case: underscore
40+
TxManager:
4041
github.com/smartcontractkit/chainlink-solana/pkg/solana/logpoller:
4142
interfaces:
4243
RPCClient:

contracts/generated/contract_reader_interface/InitializeLookupTable.go

+174
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/generated/contract_reader_interface/InitializeLookupTable_test.go

+32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/generated/contract_reader_interface/accounts.go

+76
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/generated/contract_reader_interface/instructions.go

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)