* 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>
* Don't use wallet object for account.createInstruction function 2112
* added publicKey type check
* yarn test pass
* Don't use wallet object for account.createInstruction function 2112
* added publicKey type check
* yarn test pass
Co-authored-by: henrye <henry@notanemail>
* feat: ata create idempotent and drop rent
* add the token program id
* cargo fmt
Co-authored-by: Arrowana <8245419+Arrowana@users.noreply.github.com>
Co-authored-by: henrye <henry@notanemail>
* Add support for 256-bit integers in the IDL
Signed-off-by: Lucas Steuernagel <lucas.tnagel@gmail.com>
* Fix lint warnings
Signed-off-by: Lucas Steuernagel <lucas.tnagel@gmail.com>
* 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>
* drop back rust version to allow earlier cli to compile
* update solana program to 1.13.5 latest mainnet version
Co-authored-by: henrye <henry@notanemail>
* 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>
* trying out different solutions to zero copy issue (none work yet)
* using a newer version of the CLI should fix the issue
* re update solana client version
* add cargo.lock for some reason
* comment out broken test, get help later
* clippy doesn't like the new option
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
* upgrade solana version to 1.13.3
* get everything to compile correctly
* update to using struct constructor to avoid deprecated field usage
* update deprecated functions
* more fixes to pass tests
* update auction-house submodule commit
* update the swap submodule
Co-authored-by: henrye <henry@notanemail>