Tyera Eulberg
7c6235d9e7
Bump token to v3.5.0 and ata to v1.1.1 ( #3430 )
2022-08-04 01:09:38 -06:00
Jon Cinque
f5ce86d43d
token/ata: Bump versions to 3.4.0 and 1.1.0, respectively ( #3427 )
2022-08-04 01:03:04 +02:00
hana
abc63ad946
token-cli: don't error when missing default config ( #3424 )
2022-08-03 14:58:24 -07:00
Jon Cinque
93ec6cf74a
token-cli: Split out CI into separate step, run tests in serial ( #3425 )
...
* token-cli: Split out CI into separate step, run tests in serial
* Remove dependency on cargo-test-bpf to speed things up
* Don't download programs since they won't be available
2022-08-03 21:54:35 +02:00
Jon Cinque
8f74ba517c
token-cli: Run fewer tests at once ( #3414 )
2022-08-03 01:14:55 +02:00
Jon Cinque
674b0ac70e
token-cli: Add token-client dependency for token-2022 support ( #3386 )
2022-08-01 17:13:42 +02:00
Jon Cinque
80b8ff3b1d
token-cli: Run tests in batches ( #3396 )
2022-07-30 00:34:49 +02:00
Tyera Eulberg
c00194d225
Bump solana crates to v1.10.33 ( #3385 )
2022-07-27 11:28:14 -06:00
Jon Cinque
48e6acb53f
token-cli: Support base token-2022 (without extensions) ( #3071 )
2022-07-27 10:47:43 +02:00
Jon Cinque
60117fd9c5
token-cli: Figure out program_id dynamically ( #3354 )
...
* Resolve program id with mint info, use it where possible
* Avoid using `config.program_id` when we can figure it out
* Rename function
2022-07-25 23:22:47 +02:00
Jon Cinque
37280ce2e6
token-cli: Move everything to async ( #3353 )
2022-07-25 21:05:01 +02:00
Jon Cinque
725430d81c
Revert "token-cli: Downgrade to crates.io versions for release ( #3371 )" ( #3372 )
...
This reverts commit 1c9e2a540c
.
2022-07-23 20:16:24 +02:00
Jon Cinque
1c9e2a540c
token-cli: Downgrade to crates.io versions for release ( #3371 )
2022-07-23 19:14:14 +02:00
Jon Cinque
4d1f8169a9
token-cli: Make BPF program builds in build.rs dependent on env var ( #3362 )
...
* token-cli: Make BPF program build dependent on env var
* Do it during `build` and not `test`
2022-07-22 09:30:30 +02:00
Justin Malčić
04954d0a1e
Add delegation tests ( #3316 )
...
* Add transfer test
* Add burn test
* Fix formatting
2022-07-21 14:51:45 +02:00
Jon Cinque
b709607271
token-cli: Bump version to 2.0.16 for release ( #3360 )
2022-07-20 20:15:03 +02:00
Alisamar Husain
b39efe8fb8
token-cli: Fix unexpected behavior when closing a wrapped SOL account with another wrapped SOL account as recipient ( #3278 )
...
* Check if recipient is a wrapped account
* Make clippy and fmt happy
* Avoided mutable, more functional clarity
* Add test for closing wrapped sol account
* wrap the default account
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
* Fix formatting and failing tests
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2022-07-17 16:50:39 +02:00
Jon Cinque
5874a14584
token-cli: Move cmd test into a separate file ( #3306 )
2022-07-01 19:41:27 -04:00
Jon Cinque
c1ee6a58be
Update Solana crates to 1.10.29 ( #3303 )
2022-07-01 16:51:01 -04:00
samkim-crypto
0f316fb357
bump solana to v1.10.26 ( #3274 )
2022-06-20 09:55:49 +09:00
Athar Mohammad
351cd60a5e
spl-token: Enums for Cli command names ( #2598 ) ( #3236 )
...
* Added Enums which can be turned into strings
for command names.
2022-06-17 16:56:03 -04:00
dboures
3e9104736a
token-cli: produce error if invalid --config option ( #3166 )
...
* token-cli: produce error if invalid --config option
* token-cli: add test for invalid --config
2022-06-08 14:48:55 +02:00
samkim-crypto
424c900345
bump solana to v1.10.19 ( #3195 )
...
* bump solana to v1.10.19
* update solana-version.sh
2022-05-25 08:40:30 +09:00
Dmitri Makarov
f1c1d440e9
Bump solana to v1.10.15 ( #3176 )
2022-05-17 11:27:30 -07:00
Tyera Eulberg
b3fe5b6d5d
Bump token-2022 ( #3113 )
...
* Bump token-2022
* Bump solana dependencies
2022-04-26 12:15:26 -06:00
Harsh Ghodkar
f7d4ebecc6
added a flag to check if the recipient address is correct ( #3085 )
...
* 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
2022-04-21 21:53:30 +02:00
Jon Cinque
bbde6d8703
token-cli: Add tests for all cases from docs ( #3070 )
...
* 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
2022-04-15 21:51:16 +02:00
Jon Cinque
1d1c2b178b
Upgrade crates to 1.10.8 ( #3076 )
2022-04-11 22:25:27 +02:00
Jon Cinque
513c1143a2
token-cli-bench: Remove RPC utils in favor of Tpu Client ( #3046 )
2022-04-01 13:41:33 +02:00
Tyera Eulberg
f4c5fdcfcf
Bump solana to v1.9.9 ( #2902 )
2022-02-23 16:20:55 -07:00
Michael Vines
0df75ab5e8
Freezing -> Thawing
2022-02-04 09:55:36 -08:00
Michael Vines
6d62ea6cc7
Drop _program_id
2022-01-24 17:41:47 -08:00
Michael Vines
8e559ce69c
Add --program-id argument
2022-01-24 17:41:47 -08:00
Tyera Eulberg
83c3ffad25
Bump solana crates to v1.9.5 ( #2780 )
...
* Bump solana crates to v1.9.5
* Update sol_set_return_data type signature and un-ignore test
2022-01-21 22:52:10 -07:00
Jon Cinque
78e7a9538e
associated-token-account: Bump dependent token version to 3.3 ( #2766 )
...
* associated-token-account: Bump dependent token version to 3.3
* Fix uses of deprecated instruction
2022-01-21 11:01:06 +01:00
Jon Cinque
81f50127f1
token: Bump version to 3.3.0 ( #2765 )
2022-01-21 01:47:02 +01:00
Michael Vines
9aa859c929
Display RPC transport stats
2022-01-10 11:54:22 -08:00
Jon Cinque
6ee008d256
Update SDK to 1.9.2, fix warnings ( #2674 )
...
* Update SDK to 1.9.2, fix warnings
* Upgrade honggfuzz
* Use `get_latest_blockhash` correctly
2021-12-28 23:02:47 -05:00
Paul
7393f1de43
spl-token: provide more useful output when using create-token with the output option and small redesign of token cli architecture ( #2593 )
...
* spl-token: WIP
* Remove and_then, move tx handling in separate function- output handling still missing
* spl-token: add basic output handling for all calls, add detailed output to create-token
* spl-token: remove changes in bench that are not strictly necessary to remove # of files touched in this PR
* [spl-token] cli: HandleTxReturn is now TransactionReturnData
* [spl-token] cli: Make commands return output String that is printed in fn main()
* [spl-token] cli: remove old todos
* [spl-token] cli: only use no_wait arg in command_transfer and use constant for "create-token"
2021-11-24 12:08:46 -07:00
Ikko Ashimine
707382ee96
Fix typo in main.rs ( #2569 )
...
auxillary -> auxiliary
2021-11-10 11:18:07 -07:00
MarkSackerberg
81c90f5c73
Allow GC to close empty associated accounts ( #2554 )
...
* Allow GC to close empty associated accounts
Empty associated accounts will only be closed in case the new flag del_associated_accounts is set. Otherwise behaviour is as before.
Useage:
spl-token gc --del_associated_accounts
* use kebab-case
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
* align coding style
Thank you jon!
* Add sanity check
* correcting amount check before closing
* formatting correcly
using cargo fmt
* changing sanity check to assert!
Co-authored-by: Sack <none>
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
Co-authored-by: Mark Sackerberg <Contact@Discord>
2021-11-04 22:49:23 +01:00
Michael Vines
9acb082dc3
Upgrade to Solana v1.8.1
2021-10-20 22:52:19 -07:00
Michael Vines
12732f8d5a
Upgrade to Solana 1.8.0
2021-10-12 09:40:06 -07:00
Ryo Onodera
2221e5df74
token-cli: Bump version to 2.0.15
2021-09-28 22:03:41 +09:00
Ryo Onodera
462f1e0708
Really plumb dump_transaction_message ( #2448 )
2021-09-24 12:05:26 +09:00
Michael Vines
9f0f30a21d
Always check transaction statuses before resending
2021-09-19 21:44:09 -07:00
Michael Vines
7d1c0c48fb
Use status.satisfies_commitment
2021-09-16 19:35:30 -07:00
dependabot[bot]
a036953d12
build(deps): bump serde_json from 1.0.67 to 1.0.68 ( #2416 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.67 to 1.0.68.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.67...v1.0.68 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-15 11:17:56 +00:00
Michael Vines
2fa7bb0ef3
Adjust send_and_confirm_messages_with_spinner() to work better with public mainnet RPC
2021-09-08 12:08:27 -05:00
Michael Vines
35e4c1ab49
Slow down retransmission of transactions
2021-09-08 09:48:46 -05:00