* add 'ticks-per-slot' option passing to test validator
* add 'ticks-per-slot' option passing to test validator
* add 'ticks-per-slot' option passing to test validator
* cargo fmt and changelog
Co-authored-by: henrye <henry@notanemail>
* ts: Fixed `.fetchNullable()` to be robust towards accounts only holding a balance
* update changelog to new PR id
* prettier
Co-authored-by: Martin Riedel <web@riedel-it.de>
Co-authored-by: henrye <henry@notanemail>
* Add build borsh package to yarn build anchor package
* update changelog with rsh stuff; clean up full stops
* make it even clearer in the changelog
* missing full stop
Co-authored-by: henrye <henry@notanemail>
* cli: run subset of tests with --run
* changelog
* test
* fix run test path
* test: added missing package.json
* cli: run subset of tests with --run
* changelog
* test
* fix run test path
* test: added missing package.json
Co-authored-by: Armani Ferrante <armaniferrante@gmail.com>
Co-authored-by: henrye <henry@notanemail>
* add geyser_plugin_config support for anchor localnet
* run cargo fmt
* remove duplicate code that came from #2150
Co-authored-by: Tommy Johnson <tommy@psyoptions.io>
* allow ability to pass in feePayer to Provider methods
* align comments
* prettier
* check if feePayer set, handle if not
* remove unnecessary spaces in comments
* update changelog
* strict equality check
* use null check
* use logical or
* use logical or
Co-authored-by: Henry-E <henry.elder@adaptcentre.ie>
* don't allow people to initialize the payer as a program account
* update changelog
* accidentally commented out part of another test
Co-authored-by: henrye <henry@notanemail>
lang: Add into `Discriminator` trait constant `DISCRIMINATOR`
So that during match instructions or other entities there is no explicit instruction call of `discriminator()`
lang: Add `Owner` impl to instructions
Co-authored-by: Mikhail Gorbachev <m.gorbachev@joinsprouttherapy.com>
* update rust from v1.56 to v1.65
* remove unnecessary borrows to appease clippy
* stop clippy complaining for now
* use 1.64 instead because of CI stuff
* update CHANGLEOG
* just seeing if the cli version is affecting the available rust version
* ok, back to 1.62
Co-authored-by: henrye <henry@notanemail>
* ts: Remove SPL coders from Anchor package
* Replace old SPL custom coder tests
* Build and link new SPL packages before tests and decode token account for AccountStore
* Fix Github actions ts setup
* Fix u64 buffer length
* Update submodules
* Update CHANGELOG
* Checkout correct submodule commits
* Add filler program to generate idls in order for anchor test to pass
* fix other lints to make the test pass
(cherry picked from commit d6e43c1ed6a176caa60dfdabe406ec125c3d34cf)
* update close to make it safe to call manually
* fix test script
* re-add safety warnings for deprecated account types
* update close checking logic
* readd logic for deprecated methods
* add additional checks to account_loader in exit
* update solana web3 package to 1.64.0
* fix some missing packages; update changelog
* fix weird prettier thing messing with changelog
* also upgrade the yarn.lock in tests