Jon Cinque
b096cdecc1
Address feedback
2022-08-05 20:42:41 +02:00
Jon Cinque
3b63824a60
Add doc file
2022-08-05 20:42:41 +02:00
Jon Cinque
fdf7786be0
Step 6: Use `StateWithExtensions` instead of `Mint` and `Account`
2022-08-05 20:42:41 +02:00
Jon Cinque
b3c432a0f3
Step 5: Add extensions to tests
2022-08-05 20:42:41 +02:00
Jon Cinque
4b4214e1aa
Step 4: Replace spl_token::id() with a parameter
2022-08-05 20:42:41 +02:00
Jon Cinque
3955c3f994
Step 3: Update instruction creators to use spl_token_2022
2022-08-05 20:42:41 +02:00
Jon Cinque
a07ec0a615
Step 2: Update all tests to test cases for token and token-2022
2022-08-05 20:42:41 +02:00
Jon Cinque
5539bad023
Step 1: Update dependencies for tests
2022-08-05 20:42:41 +02:00
Pierre
52d329ee53
fix reference to the field hold_up_time in the governance README ( #3428 )
...
* fix reference to the field hold_up_time
* remove incorrect space
Co-authored-by: Arrowana <8245419+Arrowana@users.noreply.github.com>
2022-08-05 00:38:44 +02:00
Tyera Eulberg
7c6235d9e7
Bump token to v3.5.0 and ata to v1.1.1 ( #3430 )
2022-08-04 01:09:38 -06:00
Tyera Eulberg
4a56a4b840
Prep for spl-token v3.5.0 ( #3426 )
...
* check that unpack is tolerant of small sizes (#3416 )
* Refactor unpack and make test more robust (#3417 )
* Refactor hasty fix to match token-2022
* Make test exhaustive
* cargo fmt
Co-authored-by: Michael Vines <mvines@gmail.com>
* Readd proptests without losing unit test, #3421
Co-authored-by: anatoly yakovenko <anatoly@solana.com>
Co-authored-by: Michael Vines <mvines@gmail.com>
2022-08-04 00:25:07 -06:00
Tyera Eulberg
3d53fa259c
Move ATA tests to separate crate ( #3429 )
2022-08-04 00:24:37 -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
4fadd553e1
token: Reassign and reallocate accounts on close ( #3415 )
...
* token: Reassign and reallocate accounts on close
* Revert "Refactor unpack and make test more robust (#3417 )"
This reverts commit c618de374e
.
* Revert "check that unpack is tolerant of small sizes (#3416 )"
This reverts commit 22faa05f18
.
* Also revert d7f352bd78
2022-08-03 23:49:36 +02: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
d7f352bd78
token[-2022]: Add proptest for unpacking ( #3421 )
2022-08-03 20:01:08 +02:00
Jon Cinque
4aa529d194
ci: Separate twoxtx build step, match Rust version ( #3422 )
...
* ci: Separate twoxtx build step, match Rust version
* Make a change to trigger CI
* Really trigger CI this time
* Fixup yaml issue
* Also set RUST_STABLE_VERSION
* Define env variable earlier
2022-08-03 19:53:35 +02:00
Tyera Eulberg
c618de374e
Refactor unpack and make test more robust ( #3417 )
...
* Refactor hasty fix to match token-2022
* Make test exhaustive
* cargo fmt
Co-authored-by: Michael Vines <mvines@gmail.com>
2022-08-03 01:44:55 -06:00
Tyera Eulberg
e0ff9add17
Bump spl-token ( #3418 )
2022-08-03 01:24:38 -06:00
anatoly yakovenko
22faa05f18
check that unpack is tolerant of small sizes ( #3416 )
2022-08-02 23:11:13 -06:00
samkim-crypto
c98609850f
token-2022: merge instruction data for confidential Transfer and TransferWithFee ( #3410 )
2022-08-03 12:15:31 +09:00
Jon Cinque
8f75f5905c
stake-pool-py: Clean up dependencies ( #3412 )
2022-08-03 01:19:33 +02:00
Jon Cinque
8f74ba517c
token-cli: Run fewer tests at once ( #3414 )
2022-08-03 01:14:55 +02:00
throwbackjams
5d8cb5588b
lending: Add instruction for changing reserve configuration after initialization ( #3349 )
...
* lending: Add instruction for configuring reserve params
* lending: (fix) remove duplicate import in modify_reserve_config test
* modify_reserve_config: refactor pack and unpack of ReserveConfig into helper func; refactor validate_reserve_config as method; refine tests
2022-08-02 16:56:33 +02:00
samkim-crypto
271d2358ad
Confidential transfer encryption doc ( #3399 )
...
* doc: add discussion on twisted elgamal
* doc: add twisted elgamal latex pdf
* doc: add available and pending balance discussion
* doc: additional minor wordings
2022-08-02 11:34:54 +09: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
Jon Cinque
3a7914ceba
stake-pool-py: Fix tests for Solana 1.10.33 ( #3395 )
2022-07-29 22:59:50 +02:00
Jon Cinque
d1e842ca3f
docs: Fix link in token-2022 ( #3394 )
2022-07-29 11:55:37 +02:00
samkim-crypto
c40f655d93
Confidential transfer overview doc ( #3393 )
...
* doc: add confidential extension doc structure
* doc: add encryption and zkp description in confidential extension doc
* doc: add usability and crypto features
2022-07-29 08:38:24 +09:00
Tyera Eulberg
c21b4ae24a
Bump spl-token-2022 to 0.4.2 ( #3390 )
2022-07-27 12:25:11 -06:00
Tyera Eulberg
c00194d225
Bump solana crates to v1.10.33 ( #3385 )
2022-07-27 11:28:14 -06:00
Jon Cinque
fb46b9a115
ci: Harden docs publish to only run with a vercel token ( #3389 )
2022-07-27 16:57:59 +02:00
Jon Cinque
827176ed84
ci: Fixup docs CI to run build on all affecting PRs ( #3388 )
...
* ci: Fixup docs CI to run build on all affecting PRs
* Update CI env vars for GitHub Actions, remove Travis
2022-07-27 16:31:41 +02:00
Jon Cinque
8e68b6acf9
docs: Fix links ( #3387 )
2022-07-27 13:27:35 +02:00
Jon Cinque
29ad0f3013
token-2022: Add intro docs, structure for more docs ( #3384 )
...
* token-2022: Add intro docs, structure for more docs
* Address feedback
* Remove the word "migration"
2022-07-27 12:41:09 +02:00
Jon Cinque
48e6acb53f
token-cli: Support base token-2022 (without extensions) ( #3071 )
2022-07-27 10:47:43 +02:00
Justin Malčić
d4bd86e162
Improve token error messages in token-swap ( #3357 )
...
* Move PrintProgramError impls
* Add wrapper function
* Add PrintProgramError to use declaration
2022-07-26 13:59:37 +02:00
c3pko
80f8890dd3
Rename stake-pool/LICENSE to stake-pool/py/LICENSE
2022-07-25 16:55:17 -07:00
c3pko
8a68056816
add_license_file ( #3380 )
...
* add_license_file
* Update LICENSE
2022-07-25 15:56:41 -07: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
d3cbe360ac
token-2022: Refactor PrintProgramError impl to error file ( #3366 )
2022-07-24 21:28:09 +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
Pranjal Paliwal
8169e527e9
[stake-pool] instruction to add metadata for pool token ( #3335 )
...
* instruction to add metadata for pool token
* add documentation for instruction accounts
* address pull request comments
* added more tests for update pool token instruction
* add check for payer signature
2022-07-22 22:25:17 +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
xweb3
fdc1df5e14
fix: change .mjs to .js ( #3364 )
2022-07-21 13:48:17 +02:00