Sebastian Bor
886e7e6540
ATA: Create explicit CreateAssociatedTokenAccount instruction ( #2397 )
...
* feat: create explicit CreateAssociatedTokenAccount instruction
* feat: add create_associated_token_account for explicit instruction
* chore: update comments and make clippy happy
* chore: redirect legacy instruction creator to new instruction
* chore: update comments
* wip: scaffold mint to instruction creator and test
* Revert "wip: scaffold mint to instruction creator and test"
This reverts commit f8254050f8dd0c1b3d103277697be3d1037c8a5e.
* chore: flag legacy create_associated_token_account as deprecated
* chore: rename CreateAssociatedTokenAccount to Create
* chore: move create_pda_account to tools:account
* chore: comment deprecated attribute to prevent warnings until 1.0.4 is released
* chore: fix test name
* feat: remove Rent account from explicit instruction
* chore: use current spl_token for implicit instruction test
* chore: replicate legacy implicit instruction in test
* chore: remove program name from instruction msg
2021-09-13 10:41:18 +01:00
Michael Vines
4406265d4a
Upgrade to Solana 1.7.11
2021-08-30 12:41:08 -07:00
Henry-E
928bb764ed
Create the ATA account in one CPI call (unless it already has lamports in it) ( #2325 )
...
* create account in one cpi call unless already has lamports
* move create PDA account to its own function
* clippy
Co-authored-by: = <nonsense>
Co-authored-by: Michael Vines <mvines@gmail.com>
2021-08-27 11:37:51 -07:00
Tyera Eulberg
30fccebdc6
Bump solana crates ( #2139 )
2021-07-23 16:47:06 +00:00
Jon Cinque
7fda501180
atoken: Bump version ( #2120 )
2021-07-21 01:27:08 +02:00
Jon Cinque
ddc029e14d
token: Bump to 3.2.0 everywhere ( #2116 )
2021-07-20 23:40:32 +02:00
Tyera Eulberg
0acc8c8bad
Bump solana and borsh crates ( #2015 )
2021-07-02 16:53:41 +00:00
Jon Cinque
21f8af34e7
Update all solana dependencies to 1.7.3, fix issues ( #1958 )
...
* Update all dependencies to 1.7.3, fix issues
* Remove esm from mocha
* Fix missed token test
* Also update rust version
* token-swap: update tolerance on sim test
* Run `cargo clippy --fix` for needless_borrow errors
* Rerun cargo fmt
2021-06-25 00:39:08 +02:00
Tyera Eulberg
e28af24443
Bump solana version
2021-06-14 16:02:27 -06:00
Trent Nelson
1f36ca301b
Bump solana crates to v1.6.7
2021-05-05 04:39:49 +00:00
Michael Vines
1e47030549
Update SPL to Solana v1.6.6
2021-04-23 13:39:51 -07:00
Michael Vines
448be67cfa
Update to Solana 1.6.2
2021-03-30 09:38:04 -07:00
Michael Vines
662f38f939
Bump Solana version to 1.6.1
2021-03-18 04:07:16 +00:00
Michael Vines
686444088b
Bump Solana version to 1.5.15
2021-03-16 18:33:37 -07:00
Michael Vines
995d4a029f
Remove tokio dev-dependency
2021-03-16 18:33:37 -07:00
Ryo Onodera
68b8da2996
Support associated token for JS (Also, make the program testable) ( #1364 )
...
* Implement some js helpers for associated tokens
* Create integration test and fix hard-coding in spl-associated-token
* Run lint:fix and pretty:fix
* Run flow as well...
* More robust test fixture setup
* Revert api breaking part
* Fix tests...
* Populate ts/flow type definitions
* Improve test a bit
* More consistent arg order; docs; more tests
* lints and pretty
* type definition updates and test tweaks
* More simplification...
* More cleanup
* Address review comments and small cleanings
* Bump the version
2021-03-03 20:56:22 +09:00
Jon Cinque
9c12b50703
Update solana-program to 1.5.11 ( #1362 )
...
* Update solana-program to 1.5.11
* Update all programs
2021-03-02 19:19:50 +01:00
dependabot[bot]
5b4c62ce49
build(deps): bump solana-program from 1.5.6 to 1.5.8 ( #1261 )
...
Bumps [solana-program](https://github.com/solana-labs/solana ) from 1.5.6 to 1.5.8.
- [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.5.6...v1.5.8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-17 23:56:18 +00:00
Trent Nelson
2316b6092e
chore: token - bump version to 3.1.0
2021-02-11 16:30:03 -07:00
Trent Nelson
188c03e9a1
chore: bump solana crates to 1.5.6
2021-02-11 16:30:03 -07:00
Trent Nelson
63be67e3ee
Remove stray .so
2021-01-19 21:27:50 +00:00
dependabot[bot]
7b81c0d3c0
build(deps): bump solana-program from 1.5.0 to 1.5.1 ( #1025 )
...
Bumps [solana-program](https://github.com/solana-labs/solana ) from 1.5.0 to 1.5.1.
- [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.5.0...v1.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-04 13:51:29 +00:00
Michael Vines
8ae34d2137
Update to Solana 1.5.0
2020-12-17 21:24:30 -08:00
Trent Nelson
3f84cc99d0
Bump ATA to v1.0.2
2020-12-16 22:45:52 +00:00
Trent Nelson
603e3517f8
Bump {ata,memo,token-{program,cli}} to solana v1.4.17
...
To pick up cargo audit fixes for monorepo
2020-12-16 22:45:52 +00:00
Paul Bernier
bd701830eb
Fix typo in account list numbering
2020-12-05 19:41:40 -07:00
Michael Vines
158fa1dea6
Upgrade to Solana v1.4.14
2020-12-03 05:39:55 +00:00
Michael Vines
a477895f02
program-test now adds SPL Token automatically
2020-12-03 05:39:55 +00:00
dependabot[bot]
6aa1d8cce1
Bump solana-program from 1.4.9 to 1.4.13 ( #916 )
...
Bumps [solana-program](https://github.com/solana-labs/solana ) from 1.4.9 to 1.4.13.
- [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.4.9...v1.4.13 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-02 12:54:42 +00:00
Michael Vines
c6a4ac9a82
Bump solana version to v1.4.9
2020-11-17 20:02:17 -08:00
Jack May
4056cb4c02
Remove entrypoint bpf cfg check ( #852 )
2020-11-17 00:52:21 -08:00
Michael Vines
f4af9054a2
Update to Solana 1.4.8
2020-11-14 02:35:20 +00:00
Michael Vines
5030a87021
Upgrade to Solana 1.4.7
2020-11-12 11:05:20 -08:00
dependabot[bot]
b71456a8f1
Bump solana-program from 1.4.5 to 1.4.6 ( #826 )
...
Bumps [solana-program](https://github.com/solana-labs/solana ) from 1.4.5 to 1.4.6.
- [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.4.5...v1.4.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-11 12:39:52 +00:00
Michael Vines
238eabc1d0
Bump solana version to v1.4.5
2020-11-06 21:29:04 -08:00
Michael Vines
e0a6292bd6
Employ test-bpf feature to make 'cargo test' pass
2020-11-06 21:29:04 -08:00
Michael Vines
4ab5fd3f23
Use banks_client.get_rent()
2020-11-06 21:29:04 -08:00
Michael Vines
901d43f965
Use cargo-test-bpf
2020-11-06 21:29:04 -08:00
Michael Vines
05bc5fb018
Bump version
2020-11-05 13:42:48 -08:00
Michael Vines
bd03af18b5
Exclude associated-token-account/program from workspace until cargo test works for it
2020-11-05 13:42:48 -08:00
Michael Vines
e5c2a4591f
Update program id
2020-11-05 13:42:48 -08:00
Michael Vines
d624117afd
Limit docs.rs builds
2020-11-05 13:42:48 -08:00
Michael Vines
89de77aad8
Bump spl-token to v3.0.0
2020-11-04 18:58:37 +00:00
Michael Vines
1559cb5eda
Update program id
2020-11-04 09:13:21 -08:00
Michael Vines
5782cc2d44
the
2020-11-04 09:13:21 -08:00
Michael Vines
e0e46e0385
Add better logging during program execution
2020-11-03 19:53:46 +00:00
Michael Vines
694a03efde
Drop compute unit logging
2020-11-03 19:53:46 +00:00
Michael Vines
a80f8e49f7
Clean up comments
2020-11-03 19:53:46 +00:00
Michael Vines
341149d0e9
Back to no-entrypoint feature name
2020-11-03 10:34:43 -08:00
Michael Vines
f2da427631
Revert "Adapt to https://github.com/solana-labs/solana/pull/13355 "
...
This reverts commit 9a383e24a2792e4ae04a470a9c94a29e518f8945.
2020-11-03 04:13:36 +00:00
Michael Vines
20551f9fbc
Adapt to https://github.com/solana-labs/solana/pull/13355
2020-11-03 04:13:36 +00:00
Michael Vines
4da9cb3631
Add associated-token-account program
2020-11-03 04:13:36 +00:00