-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable ChainReader to read PDA account state (#1003)
* Implemented PDA account reading in ChainReader * Fixed linting * Updated PDA account reads to use the codec to encode seeds in params * Removed string seed encoder * Reverted moving ChainWriter helper methods to utils * Updated the PDA codec entry to use the existing builder methods * Removed duplicated public key encoder * Added builder method for IDL string types * Updated PDA account read test to use input modifier * Moved PDA seed IDL type builder out of the config * Added new PDA account read unit tests * Fixed linting * Added back encoder codec def for normal account reads * Merged the pda read binding with the existing account read binding
- Loading branch information
1 parent
81a855e
commit 933f88f
Showing
11 changed files
with
362 additions
and
26 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
Oops, something went wrong.