Jack May
08fe8307f0
Bump solana-sdk to v1.3.12 ( #484 )
2020-09-21 08:38:29 -07:00
Jack May
80ea6ff536
Fix multisign check ( #479 )
2020-09-18 15:53:26 -07:00
Michael Vines
b89b0c81d2
Nit: add current
2020-09-16 08:55:03 -07:00
Jack May
157936c6c5
Remove pack's dependency on TokenError ( #448 )
...
* Remove pack's dependency on TokenError
* nudge
2020-09-16 00:59:37 +00:00
Tyera Eulberg
e7a876f280
Remove Pack mutable unpack methods ( #443 )
...
* Remove Pack::unpack_mut
* Remove Pack::unpack_unchecked_mut
2020-09-14 15:08:14 -06:00
Tyera Eulberg
7515187d17
Allow source account to be its own owner in Approve, Approve2, and Revoke ( #434 )
...
* Add failing test
* No need to hold source RefMut in process_approve
* Add revoke cases
* No need to hold source RefMut in process_revoke
2020-09-11 20:53:23 -06:00
Tyera Eulberg
4c0e4606c2
Allow Account or Mint to be its own authority in SetAuthority ( #435 )
...
* Add failing test
* No need to hold account or mint RefMut in process_set_authority
2020-09-11 20:53:07 -06:00
Tyera Eulberg
288b438868
Allow destination or mint to be mint_authority in MintTo and MintTo2 ( #436 )
...
* Add failing test
* No need to hold dest or mint RefMut in process_mint_to
2020-09-11 20:52:53 -06:00
Tyera Eulberg
179be4a590
Allow source or mint to be account owner or delegate in Burn and Burn2 ( #437 )
...
* Add failing test
* No need to hold source or mint RefMut in process_burn
2020-09-11 20:52:39 -06:00
Tyera Eulberg
6c9e8ac1ce
Allow source to be owner/close_authority in CloseAccount ( #438 )
...
* Add failing tests
* No need to hold source RefMut in process_close_account and process_toggle_freeze_account
2020-09-11 20:52:09 -06:00
Tyera Eulberg
1fcc84beb3
Allow source account to be its own owner in Transfer and Transfer2 ( #433 )
...
* Add failing test
* Add Transfer2 to failing test
* Add source-delegate to failing test
* No need to hold source RefMut in process_transfer
* Fixup comments
* Add destination-owner test case
* Add source-multisig test case
2020-09-11 18:56:42 +00:00
Tyera Eulberg
a8df113101
Add token/program2 for next changeset ( #412 )
...
* Add token/program2 for next changeset
* Use version number instead of index
2020-09-10 16:04:50 -06:00