-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: observation of inbound SOL token deposit (#2465)
* add a cmd as an experimental testbed for solana * cmd(solana): sign ECDSA and build withdraw tx * e2e: localnet solana WIP: initialize gateway program * e2e(solana): start deposit test * update solana program with chain id commit in TSS signature * fix the initialize of solana program after update the program * zetaclient(solana): observe and filter and parse deposit instruction * zetaclient(solana): remember last observed tx to save RPC calls * zetaclient(solana): report to zetacored about deposit * localnet: deploy sol zrc20 * use solana chain from merged commits * fix solana rpc localnet config * fix chain params for solana * initialted inbound observation on SOL deposit * Use docker image and add make targets * polish Solana initialize and deposit E2E tests * make Solana inbound e2e test passing * clean up unused files; reduce log prints * added entry to changelog * revert Dockerfile-localnet * remove solana-test in Makefile because Solana e2e tests is ran as part of start-e2e-test * polished e2e tests, solana config and chain parameters * add issue link for TODO * remove panics * move Solana gateway program initialization to the contract setup phase * refactor e2e clients creation; add context to Solana signature query * fix unit tests * added inbound last_scanned_block_number metrics * integrate solana tests into CI * filter at most two events [SOL + SPL] per solana tx to be consistent with EVM chain inbound observation * fix unit test compile * use observer context for Solana RPC calls * better format stack information on panic * move stack print into logError() to avoid duplicate log print * Fix `bg` * fix unit test * rename pdaID as pda to be a more correct Solana terminology --------- Co-authored-by: brewmaster012 <[email protected]> Co-authored-by: Alex Gartner <[email protected]> Co-authored-by: Dmitry <[email protected]>
- Loading branch information
1 parent
331ba6b
commit 3ad6f99
Showing
74 changed files
with
3,071 additions
and
157 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.