Christian Kamm
ed2769ef28
Make zero copy safe by default, add `account(zero_copy(unsafe))` feature. ( #2330 )
2023-01-26 14:46:57 +00:00
Jean Marchand (Exotic Markets)
a0ef4ed7a4
lang: add the InitSpace macro ( #2346 )
2023-01-26 11:22:48 +00:00
Jean Marchand (Exotic Markets)
5f9b5905dc
ts: remove duplicate functions ( #2357 )
2023-01-24 10:39:31 +00:00
Christian Kamm
27bb695685
Idl: Limit account size to 60kb, allow closing idl accounts ( #2329 )
2023-01-05 13:25:21 +00:00
Sammy Harris
9ba0223c58
box up some accounts in Optional test ( #2344 )
2023-01-03 16:59:01 +00:00
Jean Marchand (Exotic Markets)
38bbb21c33
lang: remove the state and interface attributes ( #2285 )
2022-12-22 16:33:44 +00:00
Henry-E
4bef8c40ef
Switch to using @coral-xyz/anchor packages ( #2318 )
2022-12-16 13:21:50 +00:00
Henry-E
347c225a27
v0.26.0 ( #2315 )
...
* v0.26.0
* update packages
* typedocs
Co-authored-by: henrye <henry@notanemail>
2022-12-15 16:12:22 +00:00
Jean Marchand (Exotic Markets)
fad05805d8
spl: change serum-dex to openbook-dex ( #2308 )
...
* Change serum-dex by openbook-dex
* Change serum-dex by openbook-dex in tests
* Fix swap
* Fix cfo
* Downgrade openbook
* Disable cfo and update changelog
* Revert lock file
* minor grammar
* update the pubkey to open dex
* Remove @solana/web3.js from ts package.json
Co-authored-by: Henry-E <henry.elder@adaptcentre.ie>
Co-authored-by: henrye <henry@notanemail>
2022-12-12 16:12:33 +00:00
Adithya Narayan
b662ff1460
cli: `anchor account` subcommand to read program account ( #1923 )
...
* Setup account subcommand skeleton
* Move IDL deserialization code to syn module
* Change HashMap to serde_json
* Add enum deserialization
* Add account subcommand to docs
* Fix lint
* Add validation for account type
* Fix solana-sdk dependency version
* Fix clippy warnings
* Move IDL deserialization code to cli module
* Remove debug print
* Add integration tests
* Update documentation with example
* Fix clippy warnings
* Fix leftover merge conflict
* run prettier
Co-authored-by: Henry-E <henry.elder@adaptcentre.ie>
Co-authored-by: henrye <henry@notanemail>
2022-12-12 16:11:26 +00:00
Sammy Harris
484628070c
Feat: Optional Positional Accounts ( #2101 )
...
* optional accounts initial implementation
* cargo fmt
* panic if Account related traits are run on none
* Allow empty accounts to deserialize to None for optional accounts
* implement constraints for optional accounts
* optional accounts to idl gen
* accountstruct helper method
* implemented to_account_metas and infos
* add test program
* Rename optional to is_optional
* added more traits
* added TryKey error
* fix has_one
* update prelude
* is_optional
* add is_optional helper method
* Add TryAccountInfos trait
* improve constraint parser
* initial work on TryToAccountInfo
* Rename to TryToAccountInfo
* finished implementing tryToAccountInfo
* Using program method
* Formatting
* Fix program function call
* Remove function return borrow
* Fix access to program field
* finished implementing tryToAccountInfo
* add exit try_to_account_infos
* descriptive ID path
* try_to_account_info
* fix close constraint
* update test files
* completed typescript optional accounts implementation
* fix try accounts for init
* update tests
* fix to_account_metas
* update tests
* fix linting
* remove types/node
* update yarn.lock maybe?
* update optional test
* update optional test
* update optional rust cli test
* fix linting and tests
* fix tests
* update try_accounts to pass in accs during constraint gen
* Add default impl for TryToAccountInfos
* Removed TryToAccountInfos trait
* Formatting
* remove unneccesary traits and improve constraint gen drastically
* fix exit generation
* clippy
* improve cross check error message
* improve comments
* more comments
* update constraints hopefully good now?
* add new errors to ts client
* add new errors to ts client
* update optional test
* update anchor ts client
* update misc crate
* linting
* temporarily comment out optional rs tests
* update ts
* remove local test files
* linting
* optional client tests
* fix other lints to make the test pass
* remove comments
* remove misc-optional for now
* update optional program
* update optional program and client tests again
* update optional program and client tests again again
* added initialize tests that should pass
* undo unrelated anchor.toml change
* update close on optional program and improve tests
* update optional program again.
* update optional program and optional tests
* fix has one error message
* fix client example tests
* update lockfile
* update lockfile
* regenerate lockfile
* reset lockfile
* reset ts yarn lockfile
* update no caching tests
* update exit codegen to use generate_optional_check
* remove `try_to_account_infos`
* update parser to ignore method calls in constraints
* refactor and improve optional checks in constraints
* add misc-optional program and tests
* enable cpi for optional tests
* Revert "enable cpi for optional tests"
This reverts commit c864cd5d4f
.
* simplify misc tests
* update version
* fix rust version and resolve merge conflicts
* prevent Option on composite accounts
* hopefully fixed ts stuff?
* hopefully fixed ts stuff?
* testing
* hopefully done?
* update misc test
* fix optional tests
* fix ts
* fix ts again!
* linting urg
* allow-missing-optionals feature
* fix client tests
* add bnjs types to tests
Co-authored-by: febo <febo@kent.ac.uk>
Co-authored-by: Henry-E <henry.elder@adaptcentre.ie>
2022-12-12 15:32:59 +00:00
Henry-E
09b829d1a3
Identity com bugfix/robust fetch nullable ( #2301 )
...
* ts: Fixed `.fetchNullable()` to be robust towards accounts only holding a balance
* update changelog to new PR id
* prettier
Co-authored-by: Martin Riedel <web@riedel-it.de>
Co-authored-by: henrye <henry@notanemail>
2022-12-07 10:54:45 +00:00
skrrb
6814ce646e
cli: run a subset of the test suites ( #1864 )
...
* cli: run subset of tests with --run
* changelog
* test
* fix run test path
* test: added missing package.json
* cli: run subset of tests with --run
* changelog
* test
* fix run test path
* test: added missing package.json
Co-authored-by: Armani Ferrante <armaniferrante@gmail.com>
Co-authored-by: henrye <henry@notanemail>
2022-12-06 21:42:10 +00:00
Henry-E
66e4295fe0
drop rust version to allow earlier CLIs to compile ( #2289 )
...
* drop back rust version to allow earlier cli to compile
* update solana program to 1.13.5 latest mainnet version
Co-authored-by: henrye <henry@notanemail>
2022-11-29 11:36:48 +00:00
Henry-E
19e00e5d8f
Don't allow the payer to be initialized as a program account ( #2284 )
...
* don't allow people to initialize the payer as a program account
* update changelog
* accidentally commented out part of another test
Co-authored-by: henrye <henry@notanemail>
2022-11-25 15:12:58 +00:00
Jean Marchand (Exotic Markets)
c0d3ff2d77
tests: Fix multiple suites example ( #2279 )
2022-11-23 10:48:46 +00:00
Henry-E
5291a7b6ff
Update rust to v1.62 ( #2272 )
...
* update rust from v1.56 to v1.65
* remove unnecessary borrows to appease clippy
* stop clippy complaining for now
* use 1.64 instead because of CI stuff
* update CHANGLEOG
* just seeing if the cli version is affecting the available rust version
* ok, back to 1.62
Co-authored-by: henrye <henry@notanemail>
2022-11-22 16:13:45 +00:00
Henry-E
afbbbb0330
Trying to stop `zero-copy` test failing ( #2274 )
...
* trying out different solutions to zero copy issue (none work yet)
* using a newer version of the CLI should fix the issue
* re update solana client version
* add cargo.lock for some reason
* comment out broken test, get help later
* clippy doesn't like the new option
Co-authored-by: henrye <henry@notanemail>
2022-11-22 15:40:07 +00:00
Callum McIntyre
982799b7e6
Fix panic parsing seeds when account has qualified path ( #2268 )
...
* Fix panic parsing seeds when account has qualified path
* Add a test for seed derivation with account using type with path
2022-11-22 11:10:05 +00:00
Jean Marchand (Exotic Markets)
8ce18c36db
spl: Update instructions and remove rent from constraints ( #2265 )
...
* Update spl instructions and remove the rent sys_var from constraints
* Fix initialize mint
* Update changelog and fix examples
* Remove oversights
2022-11-19 12:59:14 +00:00
acheron
af115999c6
ts: Remove SPL coders from Anchor package ( #2155 )
...
* ts: Remove SPL coders from Anchor package
* Replace old SPL custom coder tests
* Build and link new SPL packages before tests and decode token account for AccountStore
* Fix Github actions ts setup
* Fix u64 buffer length
* Update submodules
* Update CHANGELOG
* Checkout correct submodule commits
* Add filler program to generate idls in order for anchor test to pass
2022-11-17 14:17:22 +00:00
Jean Marchand
b107cbe94f
lang: Fix parsing for bytes literals in the IDL ( #2261 )
...
* lang: Fix parsing of some constants
* Fix lint + changelog
2022-11-16 15:59:09 +00:00
Deep Mehta
e8618a588f
replace getRecentBlockhash to getLatestBlockhash ( #2205 )
2022-11-14 16:59:36 +00:00
omahs
43ab991852
Fix: typos ( #2236 )
...
Fix: typos
2022-11-14 16:57:41 +00:00
Noah Prince
feff131ab0
fix: Nested pda types and account resolution for pdas ( #2259 )
2022-11-13 21:45:41 -05:00
Henry-E
7a0a37e0f8
Update solana to version 1.13.3 ( #2239 )
...
* upgrade solana version to 1.13.3
* get everything to compile correctly
* update to using struct constructor to avoid deprecated field usage
* update deprecated functions
* more fixes to pass tests
* update auction-house submodule commit
* update the swap submodule
Co-authored-by: henrye <henry@notanemail>
2022-10-29 15:23:13 +01:00
Sammy Harris
fa1249836e
Feat: Update AccountsClose to be safe to call manually ( #2209 )
...
* fix other lints to make the test pass
(cherry picked from commit d6e43c1ed6
)
* update close to make it safe to call manually
* fix test script
* re-add safety warnings for deprecated account types
* update close checking logic
* readd logic for deprecated methods
* add additional checks to account_loader in exit
2022-10-21 17:06:54 +01:00
Totoro
8e66d5bb5f
Add support for idl enum tuples, enchance types ( #2185 )
2022-10-18 10:13:23 -04:00
Sammy Harris
3da28dbc5f
fix: ignore non Accounts in safety checks ( #2201 )
2022-10-13 23:08:02 -04:00
Sammy Harris
5647510615
chore: bump @solana/web3.js in anchor-ts ( #2227 )
2022-10-13 23:06:51 -04:00
Henry-E
d83efcdc3a
update solana web3 package to 1.64.0 ( #2223 )
...
* update solana web3 package to 1.64.0
* fix some missing packages; update changelog
* fix weird prettier thing messing with changelog
* also upgrade the yarn.lock in tests
2022-10-13 11:20:32 +01:00
Noah Prince
fd467df932
feat: Derive has_one's from other programs, recursively search custom resolvers ( #2208 )
2022-10-08 00:33:18 -04:00
Noah Prince
436791b039
feat: Recursively derive seeds and add custom account resolver ( #2194 )
2022-09-21 16:32:24 -04:00
Totoro
5ae52cae13
fix IDL types parsing ( #2176 )
2022-09-12 08:04:11 -04:00
Noah Prince
e69e50daaf
feat: Add has_one relations inference so you don't need to pass accounts that are referenced by a has_one ( #2160 )
2022-09-10 12:52:59 -04:00
acheron
5a025b949e
ts: Add SPL Anchor packages ( #2143 )
2022-08-22 21:57:56 -04:00
Armani Ferrante
6baed77eb5
v0.25.0 ( #2031 )
2022-07-05 16:32:55 -04:00
Matthew Callens
c47fb2877e
lang: adjust `realloc` implementation to safeguard max increase and idempotency ( #1986 )
2022-07-05 15:54:40 -04:00
Armani Ferrante
9b61bbc626
bump solana-program version ( #2027 )
2022-07-04 23:58:31 -04:00
Sohrab
55e0c5d9dd
fix: align links to coral-xyz/anchor github repo ( #1988 )
2022-06-19 22:16:16 -04:00
Armani Ferrante
1ec9af7e21
Revert "lang: add `realloc` constraint group ( #1943 )" ( #1984 )
...
This reverts commit 7fe39c61ad
.
2022-06-17 17:16:10 -04:00
Matthew Callens
7fe39c61ad
lang: add `realloc` constraint group ( #1943 )
2022-06-04 20:25:28 -04:00
Daniel Marin
a5dbc7b850
ts: setup associated token program idl ( #1939 )
2022-06-01 14:51:44 -04:00
Daniel Marin
707ebf26e7
feat: Setup a coder for SystemProgram ( #1920 )
2022-05-26 13:03:44 +02:00
ebrightfield
ed15922f1a
Add docs field to idl ( #1561 )
2022-04-21 16:37:41 -04:00
Tom Linton
b885c7b68c
tests: Add CLI IDL command tests ( #1808 )
2022-04-20 17:38:45 -04:00
Paul
9a9dc95305
tests: fix anchor-lang dependency paths ( #1809 )
2022-04-19 14:59:17 -04:00
Paul
42663eda25
ci: ci should error if tests have typescript errors ( #1801 )
2022-04-17 15:54:28 -04:00
Armani Ferrante
0b4c7b0c73
v0.24.2 ( #1788 )
2022-04-13 19:44:18 -04:00
Paul
d07853e9ef
fix anchor-init ci and bpf-upgradeable-state package.json ( #1781 )
2022-04-12 19:29:52 -04:00
Armani Ferrante
d491f0ba1d
v0.24.1 ( #1779 )
2022-04-12 18:50:33 -04:00
Paul
b665f28b16
update anchor ts dep paths ( #1778 )
2022-04-12 18:16:04 -04:00
Paul
fb149f96a1
update yarn lockfile, fix cli template, and fix ci ( #1770 )
2022-04-12 15:02:06 -04:00
Armani Ferrante
b0f263214d
v0.24.0 ( #1769 )
2022-04-12 10:52:06 -04:00
Paul
6bd9879dd6
lang: codegen improvements ( #1766 )
2022-04-11 21:28:21 -04:00
Anan
f5dffe6490
lang: allow `token::...` and `mint::...` to be used as checks without init ( #1505 )
...
Co-authored-by: Paul Schaaf <paulsimonschaaf@gmail.com>
2022-04-11 17:25:07 -04:00
Paul
537d470954
ts: make `Provider` an interface, add `AnchorProvider` class, and update provider functions ( #1707 )
2022-04-11 15:48:58 -04:00
Paul
4d9bd6adc6
spl: change "to" to "from" in token::burn ( #1729 )
...
Co-authored-by: Thomas Moussajee <thomas.moussajee@gmail.com>
2022-04-11 13:00:04 -04:00
Paul
016a1d3da5
update forgotten solana versions ( #1751 )
2022-04-10 14:26:03 -04:00
Paul
7dea38712e
tests: fix safety check Anchor.toml wallet field ( #1752 )
2022-04-10 14:23:31 -04:00
Matthew Callens
d1ddf8ee24
ts: add `pubkeys` method builder function to view all instruction account addresses ( #1733 )
...
Co-authored-by: Paul Schaaf <paulsimonschaaf@gmail.com>
2022-04-10 13:19:56 -04:00
Paul
3d0560db2c
Revert "lang: Make Anchor use fallback function instead of panicking if ix data.len() is < `8` ( #1721 )" ( #1748 )
2022-04-08 15:31:07 -04:00
Paul
778e328753
lang: deserialize programdata address on demand/lazily ( #1723 )
2022-04-08 13:48:40 -04:00
dependabot[bot]
e007759d88
build(deps): bump minimist from 1.2.5 to 1.2.6 in /tests ( #1718 )
2022-04-04 13:05:15 -04:00
Tom Linton
8fb942efd5
ts: Add views ( #1695 )
2022-04-03 19:15:06 -04:00
Paul
adb90c33d7
lang: Make Anchor use fallback function instead of panicking if ix data.len() is < `8` ( #1721 )
2022-04-02 22:27:39 -04:00
Paul
470e902f48
lang: Add support for multiple test suites with separate local validators ( #1681 )
2022-03-30 17:17:54 -04:00
Kirill Fomichev
40ea715beb
lang, cli, spl: Update solana toolchain to v1.9.13 ( #1653 )
...
Co-authored-by: Paul Schaaf <paulsimonschaaf@gmail.com>
2022-03-26 20:28:55 -04:00
Tom Linton
1cb7429fe2
lang: Allow CPI return values ( #1598 )
2022-03-24 14:40:38 -04:00
Matthew Callens
23efadf08f
tests: update assertions to use chai and more strict ( #1672 )
2022-03-24 11:44:33 -04:00
Paul
4b4b8007fb
update lockfiles ( #1662 )
2022-03-21 00:47:56 -04:00
Armani Ferrante
77b1afcf2f
v0.23.0 ( #1660 )
2022-03-20 23:30:55 -04:00
Paul
9afdb17ac2
ts: add error log parsing to ts client ( #1640 )
2022-03-20 20:29:12 -04:00
Kirill Fomichev
45a5d20a79
ci: add git diff for checking lock file changes ( #1654 )
2022-03-20 15:42:50 -04:00
skrrb
58af625736
Handle arrays with const as size in endpoint function args ( #1631 )
2022-03-20 15:15:04 -04:00
Paul
f0b4c385f3
tests: fix seemingly ok but actually broken tests ( #1656 )
2022-03-20 11:38:55 -04:00
Paul
565e9567b5
tests: increase validator-clone startup time ( #1635 )
2022-03-16 20:14:25 -04:00
Paul
0cb2896627
tests: fix flaky validator-clone test by increasing startup_wait ( #1634 )
2022-03-16 19:34:33 -04:00
Paul
94b0fec714
fix anchor-lang import in safety-check, add custom-coder to ci, and fix spl-token coder ( #1604 )
2022-03-16 18:27:57 -04:00
Paul
7f8ca97aa8
add `.with_pubkeys` and `.with_values` to `syn/../constraints.rs` for better logging ( #1627 )
2022-03-16 18:23:28 -04:00
Matthew Callens
b376fd4615
lang: add additional `require_x` comparison macros ( #1622 )
2022-03-16 14:45:09 -04:00
Paul
721fe6693c
lang: add support for logging expected and actual values and pubkeys ( #1572 )
2022-03-15 11:42:17 -04:00
SchwarzBier
97a8dfe71d
Bump up rust to 2021 edition ( #1430 )
2022-03-12 17:39:21 -05:00
skrrb
3c994fcdef
cli: also clone program data account ( #1495 )
2022-03-12 17:36:35 -05:00
Tom Linton
2529b06c02
lang: Handle const array size casting and add const array size support for events ( #1485 )
2022-03-11 18:05:19 -05:00
Tom Linton
5c5fa7927f
Check error in safety checks test failure ( #1571 )
2022-03-08 16:00:25 -05:00
Paul
c8d8cacd22
lang: remove default space calc ( #1519 )
2022-03-07 11:23:47 -05:00
Ian Macalinao
8ffb22d936
lang: Fix doc strings not working with double quotes ( #1537 )
2022-03-01 23:03:30 -05:00
Matthew Callens
a78c9c0341
lang: add sysvar custom error and failing test case ( #1535 )
2022-03-01 11:33:18 -05:00
Armani Ferrante
b733610d87
v0.22.1 ( #1528 )
2022-02-28 11:35:59 -05:00
Ian Macalinao
de08fec0b9
lang: add more docs to macros to allow missing_doc ( #1498 )
2022-02-21 17:29:03 -05:00
Armani Ferrante
24ccaea903
v0.22.0 ( #1484 )
2022-02-20 20:32:38 -05:00
Paul
c0b2fd7555
cli: add --skip-lint option ( #1482 )
2022-02-20 19:43:19 -05:00
Paul
40596824bf
error redesign ( #1462 )
2022-02-20 17:28:24 -05:00
Tom Linton
5ff9947ba2
lang: Error on undocumented unsafe account types ( #1452 )
2022-02-17 17:45:33 -05:00
Pavel Kuzovkin
90bcea1cbe
lang, ts: float types support ( #1425 )
2022-02-17 14:23:21 -05:00
Paul
1f56a62bab
lang: add check that declared id == program id ( #1451 )
2022-02-15 18:16:06 -05:00
man0s
83121c26eb
Add check for mutability of init payer ( #1271 )
2022-02-08 18:34:18 +01:00
Armani Ferrante
ef1a58d665
v0.21.0 ( #1403 )
2022-02-07 20:10:49 -05:00
Armani Ferrante
598c7b0790
lang: error if bump target is given on init ( #1380 )
2022-02-07 13:26:05 -05:00
Paul
17c9463592
Lang: feature flag for init_if_needed ( #1258 )
...
Co-authored-by: Armani Ferrante <armaniferrante@gmail.com>
2022-01-30 21:59:25 +01:00
Armani Ferrante
16a7dc5dc1
lang: store calculated bump seeds in context ( #1367 )
2022-01-27 16:55:13 -05:00
Armani Ferrante
d8d720067d
lang, ts: automatic client side pda derivation ( #1331 )
2022-01-24 14:44:24 -05:00
Armani Ferrante
e121e4e09d
ts: builder api ( #1324 )
2022-01-15 17:09:53 -05:00
Alan O'Donnell
e04f144e12
lang: add seeds::program constraint for PDAs ( #1197 )
2022-01-11 10:51:22 -05:00
Armani Ferrante
84e0852584
ts: `Coder` as interface and SPL token coder ( #1259 )
2022-01-09 21:10:25 -05:00
Armani Ferrante
9df69cdf4d
tests: fix stake dep ( #1277 )
2022-01-09 18:28:44 -05:00
Armani Ferrante
a81ff88d76
v0.20.1 ( #1274 )
2022-01-09 16:50:10 -05:00
Armani Ferrante
d7e72b33d1
lang: repr override for zero copy ( #1273 )
2022-01-09 16:19:41 -05:00
Armani Ferrante
9c47c0a6cd
v0.20.0 ( #1251 )
2022-01-06 18:09:43 -05:00
Paul
3ddad6cbb6
lang: rest of accounts docs reference ( #1231 )
2022-01-06 16:30:44 -05:00
Paul
4d4cba5add
lang: add rent exempt check for init_if_needed when init is not needed ( #1250 )
2022-01-06 15:31:36 -05:00
Paul
a830644203
lang: export accounts module, re-export its types in the prelude ( #1208 )
2022-01-06 15:26:43 -05:00
Paul
e026e9e874
lang: fix missing ATA owner check ( #1240 )
2022-01-05 11:09:57 -05:00
Paul
b3720a0b84
lang, ts: fix init_if_needed missing ATA address check ( #1221 )
2022-01-01 21:47:13 -05:00
Paul
b6cbdb257e
tests: add tests for rent_exempt constraint ( #1209 )
2021-12-30 15:25:10 -05:00
Tom Linton
51aeb08ae1
lang: Handle arrays with const as length ( #968 )
2021-12-22 23:13:46 -05:00
Armani Ferrante
f4fe7d4440
tests: Bump compute units for zc test ( #1187 )
2021-12-22 22:24:08 -05:00
Drew Nutter
34c4e50917
client: use any Signer instead of only Keypair ( #975 )
2021-12-20 14:41:21 -05:00
Neco
483999e870
ts: remove deprecated commitment settings ( #1128 )
2021-12-20 10:51:02 +01:00
man0s
561f7cdaa8
Change AccoutNotProgramOwned error to AccountOwnedByWrongProgram ( #1154 )
2021-12-17 13:34:43 +01:00
Tom Linton
713d43668b
examples, tests: Setup prettier ( #1152 )
2021-12-15 18:11:41 -05:00
Justin Starry
a3c8d20352
lang: Reduce compute unit consumption of loader accounts ( #1134 )
2021-12-15 10:53:48 -05:00
0xCryptoSheik
a7e80079da
fix: translateAddress should not rely on PublicKey constructor nam ( #1138 )
2021-12-15 02:20:26 +01:00
Paul
911620ee27
lang: programdata_address field for Program account ( #1125 )
2021-12-13 16:43:13 -05:00
Armani Ferrante
3afd1a22e4
v0.19.0 ( #1116 )
2021-12-08 17:33:36 -05:00
Paul
423ddde30a
lang: Always execute constraints for init_if_needed ( #1096 )
2021-12-08 16:50:08 -05:00
Kevin Heavey
105bb203c0
lang: add missing #[serde(rename = "type")] to IdlConst ( #1107 )
2021-12-05 17:47:50 -05:00
Paul
3321a3f9c9
lang: Add ProgramData account ( #1095 )
2021-12-05 14:14:16 -05:00
Tom Linton
6bc59350de
lang: Add constant attribute ( #956 )
2021-12-03 18:49:38 -05:00
Armani Ferrante
be4e946040
spl: Move permissioned market proxy ( #962 )
2021-11-30 12:44:15 -08:00
Mikhail Gorbachev
2d44654a4b
lang: Add `AccountNotInitialized` error ( #1024 )
2021-11-18 07:42:07 -08:00
Tom Linton
1319dc65d6
v0.18.2 ( #1011 )
2021-11-13 18:58:10 -08:00
Tom Linton
468fe79473
cli, examples, tests: Remove global JavaScript dependencies in favour of local ( #990 )
2021-11-11 22:38:35 +00:00
Armani Ferrante
62fcd75401
spl, tests: Use feature flag for dex ( #985 )
2021-11-11 14:12:50 +00:00
Tom Linton
f66eee7c6d
tests: 2d array test ( #966 )
2021-11-02 11:32:24 -07:00
Matthew Callens
20726d06bd
lang: Add `SystemAccount<'info>` Account Type ( #954 )
2021-10-30 11:45:06 -05:00
Armani Ferrante
6ab714a5a5
Bump solana-program v1.8.0 ( #886 )
2021-10-24 17:42:52 -07:00
Pierre
eb65787a9e
tests: Add EscrowAccount type extraction and make package.json sufficient ( #861 )
2021-10-23 16:42:20 -07:00
Armani Ferrante
95bb9b3183
lang: Add init_with_needed keyword ( #906 )
2021-10-21 16:05:16 -07:00
Kirill Fomichev
d41fb4feb5
lang: Add custom error for raw constraint ( #905 )
2021-10-21 15:51:20 -07:00
yuhaoyasuo
5608436d68
tests: Fix #699 ido-pool seeds constraint was violated ( #902 )
2021-10-20 10:40:38 -07:00
Alan O'Donnell
d774b456bf
lang: Support empty seeds constraint token ( #853 )
2021-10-09 12:21:15 -07:00
Henry-E
d5fe9281a7
tests: Change ido pool to use PDAs ( #699 )
2021-10-09 10:08:19 -07:00
NorbertBodziony
1c5c6a8aba
lang: Support for AccountLoader ( #792 )
2021-10-08 09:24:25 -07:00
Alan O'Donnell
9d33e13465
lang: Remove mandatory init when using associated_token constraints ( #843 )
2021-10-07 13:57:47 -07:00
Armani Ferrante
e7d16d3ec8
lang: Remove cpi feature flag for account signer check ( #849 )
2021-10-07 12:21:55 -07:00
Alan O'Donnell
dbb5f48b24
lang: Add mint::freeze_authority attribute for init mint ( #835 )
2021-10-05 11:36:17 -07:00
ChewingGlass
0a660d26c4
ts, cli: Program clients generic over IDL types ( #795 )
2021-10-04 23:16:13 -07:00
Armani Ferrante
db193d8248
lang: Cpi AccountInfos ( #824 )
2021-10-03 12:57:14 -07:00