Michael Vines
238eabc1d0
Bump solana version to v1.4.5
2020-11-06 21:29:04 -08:00
Michael Vines
341149d0e9
Back to no-entrypoint feature name
2020-11-03 10:34:43 -08:00
Michael Vines
2b5e9d1286
Drop lifetimes
2020-11-01 20:48:15 -08:00
Michael Vines
9f4e6d8beb
Update to solana v1.4.4
2020-11-01 20:48:15 -08:00
Tyera Eulberg
c312a0576a
Clippy suggestions ( #765 )
2020-10-31 19:10:33 -06:00
Jack May
f21c71ed83
reformat token instruction comments ( #732 )
2020-10-27 01:04:39 +00:00
Jack May
18e8951c97
Refer to CreateAccount
2020-10-26 16:54:33 -07:00
Michael Vines
211f92e8c6
Groom Cargo.tomls
2020-10-25 07:52:33 +00:00
Michael Vines
80e29ef6b9
Port SPL to solana-program and `cargo build-bpf`
2020-10-24 19:21:38 -07:00
Michael Vines
38c2f22734
Add additional transfer test coverage
2020-10-20 08:25:36 +00:00
Justin Starry
9a8fa8e845
Update SDK version to v1.3.17 ( #649 )
...
* Update SDK version to v1.3.17
* Fix clients
2020-10-19 18:07:45 +08:00
Jack May
a7b121074d
Remove skip-no-mangle entirely
2020-10-07 09:13:59 -07:00
Jack May
c574597d71
solana sdk does not need skip-no-mangle
2020-10-06 11:03:14 -07:00
Jon Cinque
2b07fc1064
token-swap: Assess swap fee on input token ( #562 )
...
* token-swap: Assess swap fee on input token
* Update token-swap/program/src/curve.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Update token-swap/program/src/curve.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Fix new var name everywhere
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-10-02 22:47:39 +02:00
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
dependabot[bot]
9d9545c98d
Bump solana-sdk from 1.3.9 to 1.3.11 ( #454 )
...
Bumps [solana-sdk](https://github.com/solana-labs/solana ) from 1.3.9 to 1.3.11.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.9...v1.3.11 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 09:22:53 +00: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