Noah Gundotra
92b1ea35bb
Account Compression: Typescript SDK v0.1.3 ( #3743 )
...
* ac-ts: update typescript to match v0.1.4 on-chain
* ac: add prettier, lint, typedoc config
* ac: test all init pairs
* ac: format everything
* ac: breaking changes to instructions helpers
* ac: update tests to use getCurrentBufferIndex
* ac: add docs to ts sdk
* ac: add examples to Readme, Canopy calculation explanation
* ac: ts helpers now require ValidDepthSizePair
* ac: restructure MerkleTree in tests to follow layout
* ac: lint, pretty
* ac: export MerkleTree file
* ac: revamp instruction helpers with merkle tree class
* ac: add docs
* ac: pretty, lint
* ac: update README with jnwng's feedback
* ac: export merkle-tree docs
2022-10-28 17:38:09 -04:00
Noah Gundotra
5504af4996
Account Compression: Add CMT checks for out of bounds leaf indices and initialization ( #3724 )
...
* cmt: add check for leaf index OOB
* ac: add checks for leaf index OOB
* ac: add tests for leaf index OOB
* nit: fix some poor logging & unused imports
* cmt: add initialization checks before public methods
* cmt: update LeafContentsModified error message
* cmt: make tests easier to read, add PartialEq, Eq to CMTError
* ac: make LeafOOB error the last error in the struct to prevent breaking changes
* ac: fmt fix
2022-10-21 14:06:47 -04:00
Noah Gundotra
6e81794844
Account Compression: JS SDK release 0.1.1 ( #3680 )
...
* ac: beet* as deps, not peerDeps
* ac: expose depth size pairs, add canopyDepth to CMTAccount getters
* ac: add tests for CMT Account
* ac: update README.md
* ac: update lockfile
2022-10-13 11:52:16 -04:00
Noah Gundotra
dad3fbaf1c
Account Compression: Version ChangeLog + Test ( #3632 )
...
* AC: export idl in SDK, add cmt helper functions
* AC: remove unnecessary events, emit statements
* AC: update noop program id
* AC: make events a typed struct (remove anchor event attr)
* AC: update AC program id, only emit events via cpi
* AC: update TS sdk
* AC: add event tests
* AC: update Anchor.toml
* AC: remove old program ids
2022-09-22 15:05:24 -04:00