Jon Cinque
135cbdff04
stake-pool: Add lamports check for transient stake account on decrease ( #3805 )
2022-11-19 01:43:22 +01:00
Jon Cinque
84182ce926
stake-pool: Truncate on withdrawal calculation ( #3804 )
2022-11-19 01:42:57 +01:00
Sebastian Bor
c5fcbefe19
Governance: Remove stats only fields to make room for more Config values ( #3828 )
...
* fix: Remove voting_proposal_count
* chore: add governance size tests
* chore: fix chat tests compilation
2022-11-18 15:49:04 +00:00
Sebastian Bor
af7c378c95
Revert "Governance: Extend Veto vote period by min_transaction_hold_up_time ( #3808 )" ( #3827 )
...
This reverts commit 84e5c830cc
.
2022-11-18 11:35:21 +00:00
Sebastian Bor
84e5c830cc
Governance: Extend Veto vote period by min_transaction_hold_up_time ( #3808 )
...
* feat: Extend Veto vote period by min_transaction_hold_up_time
* chore: add veto vote within hold up time tests
* chore: test_cast_council_veto_vote_within_hold_up_time
* chore: try to limit no of jobs to fix build
* chore: limit jobs to 1
* Revert "chore: limit jobs to 1"
This reverts commit 03191b891754c3d5f71463588ec7ff35aaa88534.
* Revert "chore: try to limit no of jobs to fix build"
This reverts commit 0adce587df96029569b67c19f97f623324a0ae11.
* fix: use saturating_add
* chore: rename vote_end_time() to expected_vote_end_time()
2022-11-17 19:56:38 +00:00
samkim-crypto
6725958c26
[token-2022] Enable confidential payments only feature ( #3790 )
...
* add allow_non_confidential_credits field
* add tests for disabling non-confidential transfers
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* clarify comment wording
* Update token/program-2022/src/extension/confidential_transfer/processor.rs
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2022-11-17 13:10:21 +09:00
Sebastian Bor
dabb7799f6
Governance: Cleanup drive space before executing build ( #3818 )
...
* fix: split execution of spl-governance tests
* chore: test governance pull request action
* fix: increase tests timeout
* wip: test_cast_council_veto_vote
* Revert "wip: test_cast_council_veto_vote"
This reverts commit 3678eb867826bbd43292929598daa5cb84bcff17.
* fix: split use_veto_vote
* chore: display disk space between tests runs
* fix: cleanup space on build machine
* chore: remove Android from runner
* Revert "fix: split use_veto_vote"
This reverts commit 197cd02483f1e79b5b8a94b94489162f16b04c92.
* wip: disable test split
* chore: revert test-sbf changes
2022-11-16 18:29:14 +00:00
hanako mumei
7f851bd75a
token-cli: add --recipient-owner flag to mint
2022-11-15 18:40:25 -08:00
hanako mumei
bc02c1139c
token-cli: owner-related cleanups
2022-11-15 18:40:25 -08:00
Jon Cinque
b93d49ebd3
ci: Bump rust stable version for twotx build ( #3813 )
2022-11-15 23:43:56 +01:00
Jon Cinque
8d0a2e1000
token-2022: Add PermanentDelegate extension ( #3725 )
...
* token-2022: Add PermanentDelegate extension
* Address feedback
* Refactor getting permanent delegate
* Rename function
* More cleanup
* Fix ATA
2022-11-15 14:10:59 +01:00
hanako mumei
0ddbd71302
token-cli: test close account
2022-11-14 12:57:08 -08:00
DerLomo
086b115181
Update quick_start.md ( #3816 )
2022-11-14 15:47:06 +01:00
Jon Cinque
d50f2745f8
token-cli: Support transfer fee extension ( #3792 )
...
* token-cli: Add transfer fee to create-token
* Add `expected-fee` arg to transfer
* Add withdraw-withheld-tokens implementation
* Add optional `Harvest` call while closing account
* Add `set-transfer-fee` command
* Fix rebase issues
2022-11-11 19:16:51 +01:00
Tyera Eulberg
de73b277f3
Update readme release directions ( #3811 )
2022-11-11 00:18:39 -07:00
samkim-crypto
da05275176
temporarily disable fees for downstream ci ( #3798 )
2022-11-07 11:17:31 +00:00
Jon Cinque
374f5283ec
token-cli: Specify that `default-account-state` takes a value ( #3800 )
2022-11-04 17:06:40 +00:00
Jon Cinque
25817cbf08
token-cli: Support DefaultAccountState extension ( #3785 )
...
* token-cli: Support DefaultAccountState extension
* Switch to `default-account-state` flag
* Change error to assert
* Rebase fix
2022-11-03 00:50:51 +00:00
Jon Cinque
8e98905a8c
token-cli: Add non-transferable mint creation ( #3795 )
...
* token-cli: Add non-transferable mint creation
* Add alias
2022-11-03 00:35:30 +01:00
Tyera Eulberg
574fe73465
Fix CpiGuard typo, but actually DRY processor methods ( #3791 )
...
* Fix typo
* DRY CpiGuard
* DRY RequiredMemoTransfers
2022-11-02 10:33:37 -06:00
samkim-crypto
edac3c50f0
Disable confidential transfer tests ( #3786 )
...
* disable confidential transfer tests
* featurize additional parts of the code
2022-10-31 11:53:12 +09:00
samkim-crypto
abc77af1d9
Require pubkey validity proof when initializing confidential account ( #3784 )
2022-10-30 14:51:22 +09:00
Noah Gundotra
85160e0d51
Account Compression: add docs link for account compression ( #3783 )
...
* ac: add docs link for account compression
* ac: bump ts pkg version to 0.1.4
2022-10-29 10:27:23 -04:00
hanako mumei
0bc2a02f00
token-cli: support cpi guard enable/disable
2022-10-29 00:07:33 -07:00
Jon Cinque
9610bed534
token-js: Bump version to 0.3.6 for release ( #3778 )
2022-10-28 18:24:00 -04:00
Noah Gundotra
5aa36923d7
ac: bump ts sdk version to 0.1.3 ( #3782 )
2022-10-28 18:22:17 -04:00
Jon Cinque
9db366cfb7
token: Fix some spelling mistakes ( #3777 )
2022-10-28 18:03:20 -04:00
Noah Gundotra
92b1ea35bb
Account Compression: Typescript SDK v0.1.3 ( #3743 )
...
* ac-ts: update typescript to match v0.1.4 on-chain
* ac: add prettier, lint, typedoc config
* ac: test all init pairs
* ac: format everything
* ac: breaking changes to instructions helpers
* ac: update tests to use getCurrentBufferIndex
* ac: add docs to ts sdk
* ac: add examples to Readme, Canopy calculation explanation
* ac: ts helpers now require ValidDepthSizePair
* ac: restructure MerkleTree in tests to follow layout
* ac: lint, pretty
* ac: export MerkleTree file
* ac: revamp instruction helpers with merkle tree class
* ac: add docs
* ac: pretty, lint
* ac: update README with jnwng's feedback
* ac: export merkle-tree docs
2022-10-28 17:38:09 -04:00
Yihau Chen
a16d21cf22
chore: replace '::set-output' with '>> $GITHUB_OUTPUT' ( #3764 )
...
* chore: replace '::set-output' with '>> $GITHUB_OUTPUT'
* trigger docs pipeline when yml changed
2022-10-28 17:27:43 -04:00
samkim-crypto
16384e2f00
add destination confidential account test for withdraw withheld instructions ( #3774 )
2022-10-29 05:49:32 +09:00
samkim-crypto
1c3af5e53d
[token-2022] Add doc regarding the ability of withdraw withheld authority [ZELLIC-3.4] ( #3773 )
...
* Mention the corresponding proof instruction in the token instruction doc
* add warning about withheld fees authority
2022-10-29 04:11:47 +09:00
hanako mumei
fcb44af0f9
token-cli: more better errors in command_transfer
...
* check if the user needs to provide a memo
* dont let the user create ata accounts belonging to other token-owned accounts
* also, define valid program ids in one place and use for all tests
2022-10-27 11:18:54 -07:00
samkim-crypto
94b912a2b2
Add pubkey consistency check on account and proof data ( #3768 )
2022-10-27 16:49:55 +09:00
samkim-crypto
d6a72ebfe4
Add pubkey consistency check on account and proof data ( #3767 )
2022-10-27 12:40:26 +09:00
samkim-crypto
7a2702936d
remove transfer with fee instruction ( #3766 )
2022-10-27 10:26:33 +09:00
samkim-crypto
0c8fb24d47
upgrade solana-program to 1.14.6 ( #3765 )
2022-10-27 07:59:25 +09:00
Jon Cinque
aaabce2035
token-2022: Return errors for malformed extension data ( #3762 )
2022-10-26 11:16:00 -04:00
Jon Cinque
d331f47c52
token-2022: Remove redundant mint initialization check ( #3763 )
2022-10-26 11:15:32 -04:00
Jon Cinque
0ff8fe1546
token-2022: Error sooner when searching for an extension in TLV data ( #3761 )
2022-10-26 11:15:08 -04:00
hanako mumei
836c9e67a6
token-2022: implement CpiGuard
...
(this is a reversion of a previous reversion of the original CpiGuard commit)
2022-10-25 19:31:15 -07:00
Jon Cinque
b45641f634
token-2022: Clarify `decode_instruction_data` ( #3760 )
2022-10-25 21:57:26 -04:00
Jon Cinque
8d79d85969
token-2022: Add unnecessary owner checks for more clarity ( #3759 )
2022-10-25 21:31:34 -04:00
samkim-crypto
12c11f6f9c
let error propagate instead of panicking ( #3754 )
2022-10-26 09:37:37 +09:00
samkim-crypto
02b1265ec8
fix minor test data description ( #3752 )
2022-10-26 09:37:04 +09:00
samkim-crypto
bf10dfddf4
fix possible panic from short data length ( #3751 )
2022-10-26 09:36:46 +09:00
Jon Cinque
5f3cbc49ae
ci: Reduce audit ignores ( #3758 )
2022-10-25 20:34:34 -04:00
Athar Mohammad
94f78b2dcf
[token-js]: new overload of confirm tx in examples ( #3685 )
2022-10-25 19:52:33 -04:00
J
e69c7706fb
`spl-token` cli - use default config file ( #3738 )
...
* add missing load from CONFIG_FILE default path
2022-10-25 14:41:37 -07:00
Trent Nelson
2c28eaa036
Revert "token-2022: implement CpiGuard ( #3712 )"
...
This reverts commit 126fb93be2
.
2022-10-25 00:46:00 -06:00
hana
126fb93be2
token-2022: implement CpiGuard ( #3712 )
...
token-2022: implement CPI Guard
CPI Guard is an extension to block certain unsafe token operations from being done by programs through CPI
2022-10-24 18:36:57 -07:00