Tyera Eulberg
6944577691
Custom build.rs for program-2022-test ( #2940 )
...
* Add custom build script from program-2022-test to build .so
* Log output
2022-02-22 22:29:28 -07:00
Michael Vines
c4c14b5c51
Add confidential transfer initialize/update mint tests
2022-02-22 21:25:18 -07:00
Alexander Ray
27a58282d3
stake-pool: add bindings to js ( #2806 )
...
* stake-pool:
add new bindings
| 'IncreaseValidatorStake'
| 'DecreaseValidatorStake'
| 'UpdateValidatorListBalance'
| 'UpdateStakePoolBalance'
| 'CleanupRemovedValidatorEntries'
* stake-pool:
add new bindings
| 'IncreaseValidatorStake'
| 'DecreaseValidatorStake'
| 'UpdateValidatorListBalance'
| 'UpdateStakePoolBalance'
| 'CleanupRemovedValidatorEntries'
* - merge upstream with local changes
* - merge package.json
* - update package.json
* - fix lint issues
* - fix lint issues
* - another lint fix
* - fix & try
* - force rebuild
* - merge from upstream
* fix lint issues
* - update package.json
* - add debug info to prettier
* - update prettier settings
* cleanup package json
* - refactor according PR suggestions
* - refactor
* - refactor
* - force pr action
* - fix withdraw stake issue
* - fix issue
2022-02-22 22:41:18 -05:00
Jordan Sexton
c259f09cf4
empty commit; rebuild docs
2022-02-22 14:15:23 -06:00
Jacob Creech
77330230bf
Update Token TS Docs ( #2938 )
...
* Revert "Added token ts docs (#2575 )"
This reverts commit f64df314a3
.
* Added token ts docs
* Added token ts docs
* Upgrade docusaurus
* Upgrade docusaurus
* Add autocomplete.js
* Update docusaurus
* fix: update feature-proposal
* Updated token docs
Update token docs backlinks
Update docusaurus
2022-02-22 13:47:11 -06:00
Michael Vines
45ce0818f0
Add zktoken paper
2022-02-22 12:22:48 -07:00
Jacob Creech
90aac5c98f
Revert "Added token ts docs ( #2575 )" ( #2933 )
...
This reverts commit f64df314a3
.
2022-02-18 20:44:45 -06:00
Jacob Creech
f64df314a3
Added token ts docs ( #2575 )
...
* Added token ts docs
Fixed typos
Added token ts docs
Added updating authority example
* Added wrapped sol ts docs
* Update to match current token ts
* Remove browser bundle token doc
Co-authored-by: Jacob CG <82475023+Jacob-CG@users.noreply.github.com>
2022-02-18 19:53:50 -06:00
Tyera Eulberg
3d92f8f4dc
Add token Amount/UiAmount conversion Instructions ( #2928 )
...
* Add Amount/UiAmount conversion Instructions to spl-token
* Use invalid-mint error in spl_token get_account_data_size
* Add Amount/UiAmount conversion Instructions to spl-token-2022
2022-02-17 16:25:57 -07:00
Jon Cinque
bb6a91c56f
token-js: Support token-2022 in base tests ( #2927 )
2022-02-17 23:26:54 +01:00
Jon Cinque
558322798f
token-2022: Support extensions in `SyncNative` ( #2926 )
2022-02-17 22:50:10 +01:00
Zicklag
48fbb5b7c4
Fix Broken Link to Token Program TypeScript Docs
2022-02-16 12:59:12 -06:00
Jon Cinque
58c1226a51
stake-pool: Bump version, add to Anchor ( #2921 )
2022-02-16 17:03:39 +01:00
Jon Cinque
1411d8b4fd
stake-pool: Option to use transfer + allocate + assign for PDA ( #2920 )
2022-02-16 16:22:46 +01:00
Tyera Eulberg
172e24e1f2
Initialize close_authority explicitly ( #2919 )
2022-02-15 17:27:28 -07:00
Jordan Sexton
b5f3dfe0e4
token: fix gh-pages deploy path
2022-02-15 16:57:16 -06:00
Jordan Sexton
d525d1ea2e
token: fix gh-pages
2022-02-15 16:38:39 -06:00
Jordan Sexton
f487f520bf
run example
2022-02-15 16:33:36 -06:00
Jordan Sexton
00371383e8
update gh-pages config and link
2022-02-15 16:33:36 -06:00
Jordan Sexton
f2134f36e8
remove usage
2022-02-15 16:33:36 -06:00
Jordan Sexton
16aa92df0a
fix faq link
2022-02-15 16:33:36 -06:00
Jordan Sexton
292153ad40
increase mocha timeout
2022-02-15 16:33:36 -06:00
Jon Cinque
9698c2b481
Remove `js-old`
2022-02-15 16:33:36 -06:00
Jon Cinque
dc4fbe8227
Use yarn in CI, remove unused test commands
2022-02-15 16:33:36 -06:00
Jon Cinque
f9a93e5636
Port e2e tests to mocha
2022-02-15 16:33:36 -06:00
Jordan Sexton
70f2333e98
update version
2022-02-15 16:33:36 -06:00
Jordan Sexton
118bd047aa
move ts to js
2022-02-15 16:33:36 -06:00
Jordan Sexton
ca17166471
move js to js-old
2022-02-15 16:33:36 -06:00
Jordan Sexton
4f0451d504
update test commands
2022-02-15 16:33:36 -06:00
Jordan Sexton
da7a97c76e
fix argument order
2022-02-15 16:33:36 -06:00
Jordan Sexton
b37390433c
update path
2022-02-15 16:33:36 -06:00
Alexander Ray
d158bb150c
stake_pool: fix wrong available_for_withdrawal_wo_fee calculation ( #2900 )
...
* - fix wrong available_for_withdrawal_wo_fee calculation by prepare_withdraw_accounts
* - fix formatting
* - refactor
* - fix sub issue
2022-02-15 21:45:32 +01:00
Jon Cinque
20864c0be7
token: Support both token programs in associated-token-account ( #2904 )
...
* token: Support both token programs in associated-token-account
* Rename spl-token -> spl-token-2022, spl-token-legacy -> spl-token
* Use spl-token by default
* Check mint in get_account_data_len
* Add checks for either token program
* Rebase fix
* Update version comments in tests
2022-02-15 14:20:14 +01:00
Michael Vines
93c8086e13
Rename token/rust to token/client
2022-02-11 21:47:43 -08:00
Jon Cinque
89aa9475ba
associated-token-account: Fail idempotent for non-ata ( #2903 )
2022-02-11 23:44:41 +01:00
Tyera Eulberg
ab4b9fb779
Add rust token client support for memo ( #2901 )
...
* Remove unnecessary fee-payer repeat signing
* Add with_memo api
2022-02-11 14:27:18 -07:00
samkim-crypto
7330b17482
token-2022: add fee for confidential extension ( #2897 )
...
* token-2022: add fee for confidential extension
* token-2022: change receiver to dest for consistency
* token-2022: addressing readability review comments for confidential extension
2022-02-11 08:37:30 -05:00
Ikko Ashimine
449a659d8e
Governance: fix typo in proposal_transaction.rs ( #2894 )
...
withing -> within
2022-02-11 13:18:45 +01:00
Anurag Gupta
95cd64ce02
token-swap: Making Arc struct as Sync ( #2896 )
...
* box changed to arc
* Imported Arc in all files
* warnings removed
* Updated fuzz
* Removed useless Arc
2022-02-11 13:18:06 +01:00
Michael Vines
1b369e1cf7
Bump spl-token-2022 version to 0.2.0
2022-02-10 16:03:45 -08:00
Michael Vines
2e968115ab
Add CreateNativeMint instruction
2022-02-09 20:03:21 -08:00
Jon Cinque
290d8d880a
associated-token-account: Add "CreateIdempotent" instruction ( #2883 )
...
* associated-token-account: Add "CreateIfNonExistent" instruction
* Address feedback
* Move ownership check
2022-02-10 00:35:46 +01:00
Tyera Eulberg
428d93bdcb
Move program-2022 tests to new crate ( #2892 )
2022-02-09 15:02:33 -07:00
Sebastian Bor
11d9952937
Governance: Use correct max size for multiple instruction transaction ( #2891 )
...
* fix: use correct max size for multiple instruction transaction
* chore: add instruction to serialisation tests
2022-02-09 12:32:06 +00:00
Michael Vines
f36e973697
Update program id
2022-02-08 11:59:50 -08:00
Tyera Eulberg
c3ad86dc2c
token-2022: fixup set_account_type to confirm AccountType ( #2885 )
...
* Add failing test
* Prevent cross-type set_account_types
2022-02-08 10:06:23 -07:00
Jon Cinque
edec44180c
token-2022: Force refresh blockhash on no-op transaction ( #2884 )
2022-02-07 23:01:33 +01:00
Jon Cinque
4dbb4a5bb4
stake-pool-py: Add more waits to solidify tests ( #2882 )
2022-02-07 22:26:23 +01:00
Harsh Ghodkar
37a6db89db
shifted dotenv to dev dependancies
2022-02-07 08:57:37 -08:00
Harsh Ghodkar
c03de12813
update
2022-02-07 08:08:10 -08:00