* added a flag to check if the recipient address is correct
* small fix
* Made the changes of adding the check to a suggested block
* updating from base
* was able to clear merge conflicts
* added a couple tests
* better names for tests
* done with fixes
* cargo fmt
* token-cli: Add tests for all cases from docs
* Add TestValidator and build.rs for programs
* Fix solana-test-validator version
* Add solana-test-validator to patch script
* security: Add policy
* Update SECURITY.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* Set expectations
* Relax a bit more
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* Float exponentiation and logarithm instructions
* Corrections to instructions and tests
* Revamping Math Instructions
* Changed E Constant and modified compute max
* Formatting and Clippy Linting
* increased log computation allowance
Co-authored-by: Ronald Hood <ronald.hood@yale.edu>
The current example of requesting an airdrop of 10 sol three times results in failed transactions due to the current airdrop limit of 2 sol per request and 24 sol per account per day. This PR updates the example to work within those constraints.
* associated-token-account: Add transfer / close nested accounts
* Swap wallet and wrong_wallet in test
* Use new error
* Force destination to wallet and ATA
* Fix merge conflicts
* Add more vanilla spl-token tests
* Improve test, fix instruction comments
* Address feedback
* Rename CloseNested -> RecoverNested, add comment
* Fix typo in comment
* token-2022: bumping zk-token-sdk to 1.10.1-pre1 and updating variable names accordingly
* token-2022: updating client and test variables to match newest zk-token-sdk
* token-2022: Make program and crate deployable
* Featurize the syscall usage
* Re-add GenericTokenAccount
* Rebase correctly with GenericTokenAccount
* Add updated valid_account_data implementation
* Allow anyone to burn and close token Accounts owned by the system program and the incinerator
* Require rent from incinerator/system-owned token accounts be burnt when accounts closed
* Add support to OG program