Commit Graph

444 Commits

Author SHA1 Message Date
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
geoff golder 905d26bb09
lang: fix clobbered module names on IDL parsing (#1343) 2022-02-21 17:23:01 -05:00
Paul 48138894b1
docs: add warning about manually closing accounts (#1490) 2022-02-21 10:47:19 -05:00
Armani Ferrante 24ccaea903
v0.22.0 (#1484) 2022-02-20 20:32:38 -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
Armani Ferrante f39ea73a65
lang: cargo fmt (#1459) 2022-02-16 22:07:56 -05:00
Paul 2d9209ba33
improve error code reference (#1454) 2022-02-16 16:11:12 +01:00
Paul 1f56a62bab
lang: add check that declared id == program id (#1451) 2022-02-15 18:16:06 -05:00
Paul 2390a4f167
lang: fix error mod exports (#1426) 2022-02-10 15:54:12 -05:00
Paul debd79d18d
docs: add 10 kibibyte limit to `init` and `zero` constraints reference (#1420) 2022-02-09 19:10:09 +01: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 a14a829a89
lang: clarify owner check (#1404) 2022-02-07 14:52:29 -05:00
Armani Ferrante 598c7b0790
lang: error if bump target is given on init (#1380) 2022-02-07 13:26:05 -05:00
Blas Rodriguez Irizar 33c5dab909
lang: hide __private module from docs (#1386) 2022-02-03 13:09:54 -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
udbhav1 77043131c2
lang: add owner and lamports methods to account types (#1267) 2022-01-11 11:32:49 -05:00
Alan O'Donnell e04f144e12
lang: add seeds::program constraint for PDAs (#1197) 2022-01-11 10:51:22 -05:00
Paul 0dfed11eaa
lang: rename loader_account.rs to account_loader.rs (#1279) 2022-01-10 14:39:24 -05:00
Blaž Hrastnik 787527fdff
lang: Allow zero_size accounts to be larger than account schema (#1158) 2022-01-10 12:30:34 -05:00
suscd 4c7cf72dd9
lang: make `entry` function public (#1276) 2022-01-09 23:49:21 -05:00
Paul 8739db4e58
lang: mut types using blanket implementations (#1127) 2022-01-09 22:48:21 -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
Paul e3d733c996
docs: fix require macro (#1269) 2022-01-08 16:29:00 -05:00
Paul 49ad086edc
docs: more require macro docs (#1268) 2022-01-08 15:24:58 -05:00
Paul 4da6a49c73
docs: add missing programs to constraints reference (#1265) 2022-01-08 15:01:28 -05:00
Paul 01ff03b09b
lang: give better errors for init when programs are missing (#1257) 2022-01-07 11:09:10 -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 bb20eee8f6
lang/docs: Context and CpiContext docs (#1247) 2022-01-06 10:05:11 -05:00
Paul e026e9e874
lang: fix missing ATA owner check (#1240) 2022-01-05 11:09:57 -05:00
Pierre 35c8200010
lang: Cleanup constraints as commanded (#1239) 2022-01-05 10:08:49 -05:00
Paul 5edaf7af84
lang, docs: improved constraints reference (#1210) 2022-01-03 14:16:52 -05:00
Paul b3720a0b84
lang, ts: fix init_if_needed missing ATA address check (#1221) 2022-01-01 21:47:13 -05:00
Paul 4013ec9337
lang, docs: ErrorCode docs (#1204) 2021-12-30 20:46:49 -05:00
Paul a7eccb6e82
lang: improved Account reference (#1207) 2021-12-29 10:18:34 -05:00
Paul 22c2c30ef4
lang: use phantomdata in account type instead of '_account: T' (#1155) 2021-12-27 13:01:46 -05:00
Paul 3e475a26e2
lang: remove ProgramAccount and Loader from 'deriveAccounts' docs (#1167) 2021-12-27 10:38:20 -05:00
Paul 51366441d2
lang: implement AsRef<T> for Account<'a, T> (#1173) 2021-12-27 10:37:47 -05:00
Paul b5827c1b24
lang: add default impls for AccountSerialize and AccountDeserialize (#1156) 2021-12-27 10:36:29 -05:00
Tom Linton 51aeb08ae1
lang: Handle arrays with const as length (#968) 2021-12-22 23:13:46 -05:00
y2kappa fa3d190d42
lang: #[repr(C)] for zero_copy accounts (#1106) 2021-12-22 21:11:50 -05:00
Paul d43d965cfb
lang: fix constraint typo (#1166) 2021-12-21 22:13:51 +03:00
Paul 790fda9258
lang: add `set_inner` function to `Account<'a, T>` (#1177) 2021-12-20 15:16:26 -05:00
Paul 8aab5b4634
lang: fix clippy (#1164) 2021-12-18 18:25:04 -05:00
man0s 561f7cdaa8
Change AccoutNotProgramOwned error to AccountOwnedByWrongProgram (#1154) 2021-12-17 13:34:43 +01:00
Kirill Fomichev efd37219d2
ci: run clippy for nightly (#1150) 2021-12-15 18:03:44 -05:00
Paul a8280b786c
lang: move accounts into their own module (#1139) 2021-12-15 14:02:27 -05:00
Justin Starry a3c8d20352
lang: Reduce compute unit consumption of loader accounts (#1134) 2021-12-15 10:53:48 -05:00
Paul 911620ee27
lang: programdata_address field for Program account (#1125) 2021-12-13 16:43:13 -05:00
Paul 96f79993dd
ci: update solana cli (#1133) 2021-12-13 11:23:36 -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
Paul 926c0246e3
lang: Add deprecated attribute to Loader (#1078) 2021-11-29 22:40:20 +00:00
Tom Linton 1c5f503a75
cli: Add version name from programs Cargo.toml to IDL (#1061) 2021-11-27 09:06:01 -08:00
Paul 8a30d87064
lang: Log instruction names (#1057) 2021-11-24 10:46:17 -08:00
Kirill Fomichev 632aefa250
lang: Add fmt::Debug to structs (#1043) 2021-11-20 07:14:06 -08:00
Mikhail Gorbachev 2d44654a4b
lang: Add `AccountNotInitialized` error (#1024) 2021-11-18 07:42:07 -08:00
zklock 7b86aed638
lang: Document init_if_needed (#1023) 2021-11-15 04:09:30 -08:00
Kirill Fomichev 3688683931
lang: Add `deprecated` attribute to `ProgramAccount` (#1014) 2021-11-14 06:46:18 -08:00
Tom Linton 1319dc65d6
v0.18.2 (#1011) 2021-11-13 18:58:10 -08:00
wan-nyan-wan ddd5ad7a48
lang: Fix redundant split() (#960) 2021-11-13 07:46:48 -08:00
Matthew Callens 20726d06bd
lang: Add `SystemAccount<'info>` Account Type (#954) 2021-10-30 11:45:06 -05:00
Johanna Johansson 5fa263ff17
lang: Preserve attrs in access control (#936) 2021-10-26 14:57:27 -07:00
Armani Ferrante 229e335da8
v0.18.0 (#921) 2021-10-24 19:18:32 -07:00
Armani Ferrante 6ab714a5a5
Bump solana-program v1.8.0 (#886) 2021-10-24 17:42:52 -07:00
Kirill Fomichev 58c00770cb
lang: Add custom error for `signer`, `mut`, `has_one`, `owner` and `address` constraints (#913) 2021-10-23 16:40:51 -07:00
Kirill Fomichev 6a19cc48ef
lang: Remove not required `to_account_info()` call (#914) 2021-10-23 09:16:40 -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
Sandra 2a4fa8c94b
lang: Remove deprecated account (#907) 2021-10-20 19:28:36 -07:00
Matthew Callens 39576de39c
lang: Add Box<T> implementation for the AccountsClose trait (#856) 2021-10-09 14:11:47 -07:00
Alan O'Donnell d774b456bf
lang: Support empty seeds constraint token (#853) 2021-10-09 12:21:15 -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
Tom Linton bc3033f2c1
lang: Handle IDL parsing for multidimensional arrays (#844) 2021-10-07 13:17:33 -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
Armani Ferrante 6eead5669e
v0.17.0 (#828) 2021-10-03 16:54:00 -07:00
Armani Ferrante db193d8248
lang: Cpi AccountInfos (#824) 2021-10-03 12:57:14 -07:00
Armani Ferrante 3d21d33cd5
v0.16.2 (#807) 2021-09-27 16:40:44 -07:00
Armani Ferrante 2c827bc839
lang, spl, cli: Add associated_token keyword (#790) 2021-09-23 17:06:38 -07:00
Alan O'Donnell 42ed126163
lang: Allow seeds to have a trailing comma (#777) 2021-09-22 07:42:39 -07:00
Alan O'Donnell 5bd0309f66
lang: Use Expr for init payer. (#772) 2021-09-21 12:14:15 -07:00
Kirill Fomichev 0f4142e97c
lang: Fix codegen for Signer (#762) 2021-09-19 16:03:06 -07:00
Vladimir Guguiev d45f9ed408
lang: Add docs for `#[account(address = <pubkey>)]` (#765) 2021-09-19 15:24:10 -05:00
Armani Ferrante d8f947fc9c
v0.16.1 (#751) 2021-09-17 12:33:32 -05:00
Armani Ferrante bbf79e7d7e
lang: Fix idl for Signer type (#750) 2021-09-17 11:18:50 -05:00
Kirill Fomichev b99f017334
lang: Add Id trait to prelude (#748) 2021-09-17 09:45:50 -05:00
Armani Ferrante 780094a648
v0.16.0 (#746) 2021-09-16 19:19:15 -05:00
Armani Ferrante c004b0f99c
lang, examples: UncheckedAccount and Cfo updates (#745) 2021-09-16 17:49:24 -05:00
aankor 11d40a23bb
lang: Replace HashMap by BTreeMap for crate modules storage (#730) 2021-09-14 10:34:59 -05:00
Armani Ferrante b1ef7431ec
lang, spl: Program and Signer types (#705) 2021-09-11 14:43:12 -07:00
Armani Ferrante c76db691cd
lang: Deprecate account wrappers (#700) 2021-09-09 17:26:54 -07:00
Armani Ferrante 526de235d1
lang: `#[account(owner)]` uses pubkey instead of account target (#691) 2021-09-09 14:32:11 -07:00
Armani Ferrante 23656de877
v0.15.0 (#688) 2021-09-07 18:30:04 -07:00
Armani Ferrante 3958533750
Static owner and program ID checks (#686) 2021-09-07 13:06:15 -07:00
Kirill Fomichev 675c7cd81d
lang: Check that ProgramAccount writable on deref_mut (#681) 2021-09-06 17:07:39 -07:00
Michael Huang ea292e39b5
lang: Include declare_id proc_macro in anchor prelude (#672) 2021-09-03 11:18:26 -07:00
Armani Ferrante 5017a1afee
v0.14.0 (#655) 2021-09-02 11:31:50 -07:00
Armani Ferrante d1edf2653f
lang: Use try_accounts instead of manual deser (#666) 2021-09-02 09:35:05 -07:00
Armani Ferrante 7a367f3f5c
lang: Deprecate `#[state]` (#661) 2021-09-01 15:34:28 -07:00
Armani Ferrante f4f60d7fab
lang: Move program check to try_from (#660) 2021-09-01 14:53:39 -07:00
Tom Linton afa218f797
lang: Handle underscores when parsing array sizes (#656) 2021-09-01 14:07:23 -07:00
Kirill Fomichev 697f585b5b
Update solana to 1.7.11 (#653) 2021-08-31 14:52:41 -07:00
Armani Ferrante 6085eda9df
lang: Sends lamports to payer on init (#648) 2021-08-31 14:43:04 -07:00
Kirill Fomichev c67dea4379
lang: Optimize `trait Key` implementation (#652) 2021-08-31 00:27:26 -07:00
Armani Ferrante 75c20856e4
lang: Consistent init constraints (#641) 2021-08-29 14:25:38 -07:00
Armani Ferrante 2604a442fd
lang: Add zero attribute (#513) 2021-08-25 10:27:27 -07:00
Armani Ferrante 6e55078ff3
lang, ts, examples: Remove associated keyword (#612) 2021-08-15 16:35:53 -07:00
Henry-E fef207dc83
lang, examples: Add mint initialization constraints (#562) 2021-08-14 18:18:28 -07:00
Kirill Fomichev a76662fb7a
lang: Ignore unnamed structs instead of panic (#605) 2021-08-13 18:09:20 -07:00
Michael Huang b4fd773aa9
lang: Fix remaining_accounts for interface attribute CPIs (#596) 2021-08-11 22:25:54 -07:00
Armani Ferrante 8e4870d370
v0.13.2 (#599) 2021-08-11 01:13:38 -07:00
Armani Ferrante 496f2b258c
v0.13.1 (#597) 2021-08-10 22:33:28 -07:00
Armani Ferrante af7d246c0c
v0.13.0 (#587) 2021-08-08 19:38:50 -07:00
Kirill Fomichev ceb80b0a04
lang: Dynamically fetch rent sysvar for when using `init` (#588) 2021-08-08 13:20:26 -07:00
Armani Ferrante 3248481288
cli: Anchor registry publishing (#570) 2021-08-08 02:11:48 -07:00
Kirill Fomichev f9184d6b73
deps: Unpin zeroize (#580) 2021-08-05 11:04:57 -07:00
Armani Ferrante ec6888a3b9
v0.12.0 (#572) 2021-08-04 12:29:38 -07:00
Armani Ferrante 1bea1bcbfc
Prune ix and solana version pinning (#569) 2021-08-03 12:50:43 -07:00
suscd c1109721b5
lang: Add `AsRef` conversions for accounts to `AccountInfo` (#541) 2021-07-21 16:54:35 -07:00
Armani Ferrante c4e3dd2b5f
lang: Pin zeroize to 1.3.0 (#539) 2021-07-19 23:21:13 -07:00
Kirill Fomichev 5d0ae3a9f8
lang: Mutate instead returning new one in `CpiAccount::reload` (#527) 2021-07-19 12:16:58 -07:00
Armani Ferrante 615764b9c8
examples, spl: Permissioned markets via proxy middleware (#519) 2021-07-18 11:39:56 -07:00
suscd fee6f3b3e3
lang/syn: Fix module path resolution in crate parsing (#530) 2021-07-18 01:03:36 -07:00
suscd f34d0730db
lang/syn: Parse entire crate for IDL (#517) 2021-07-16 14:36:32 -07:00
Armani Ferrante a65665f476
lang: Untabify (#518) 2021-07-13 11:04:39 -07:00
Kirill Fomichev e4e64384dd
lang: Change client_accounts visibility (#515) 2021-07-12 11:56:23 -07:00
Kirill Fomichev 5ef708e39b
lang: Change entrypoint visibility (#510) 2021-07-10 11:46:41 -07:00
Armani Ferrante c5b61848c0
v0.11.1 (#507) 2021-07-09 19:05:57 -07:00
Armani Ferrante 5018e98a9c
examples: Permissioned markets (#483) 2021-07-09 18:42:05 -07:00
Armani Ferrante 46cccd8946
lang, docs: Remove associated documentation (#506) 2021-07-09 17:19:01 -07:00
Brett Etter d612ffddc2
lang: Added generic support to Accounts (#496) 2021-07-08 13:14:39 -07:00
Armani Ferrante dd5f18271f
lang: Fmt (#495) 2021-07-07 23:41:31 -07:00
suscd 2d486f55fa
lang: Use `pub(crate)` visibility for `__nonce` field (#489) 2021-07-07 21:02:39 -07:00
Armani Ferrante bbc40ba1c0
v0.11.0 (#458) 2021-07-03 12:41:55 -07:00
Kirill Fomichev 2d974604ae
lang: Remove belongs_to in favor of has_one (#459) 2021-07-03 11:58:23 -07:00
Armani Ferrante 915e6dd398
lang, ts: Fallback functions (#457) 2021-07-02 17:33:48 -07:00
Armani Ferrante 6ad68ed368
lang, ts: Add deprecated state address feature flag (#446) 2021-07-02 16:53:22 -07:00
Vladimir Komendantskiy 61625e73db
Upgrade solana to 1.7.4 and borsh to 0.9 (#450) 2021-07-01 10:16:04 -07:00
Armani Ferrante c7de475177
v0.10.0 (#433) 2021-06-27 17:34:40 -07:00
Kirill Fomichev 1aa019cb0f
Apply clippy rules (#431) 2021-06-27 17:09:46 -07:00
Armani Ferrante f067624add
Token PDAs and CLI scripts (#400) 2021-06-27 13:17:05 -07:00
Kirill Fomichev 609c836d63
lang: Optimize associated constraint check (#425) 2021-06-27 10:03:26 -07:00
Kirill Fomichev e14fec0c46
lang: Add deprecation warning for constraint (#429) 2021-06-27 09:50:54 -07:00
CanardMandarin 704b325491
lang: Add Accounts trait for Vec (#417) 2021-06-24 19:35:55 -07:00
bonedaddy 3c295f958a
lang: Impl ToAccountMetas for AccountMeta and make state mod pub (#406) 2021-06-18 15:50:58 -07:00
Michael Huang a3fa9c0584
cli, client, lang, spl: Bump dependencies (#408) 2021-06-18 08:42:39 -07:00
Armani Ferrante 796d917f42
v0.9.0 (#388) 2021-06-15 18:43:21 -07:00
Armani Ferrante b3b33f63f3
lang: Remove mut from dispatch arg (#387) 2021-06-15 17:19:13 -07:00
Armani Ferrante a6ebaabac4
lang: Initialize program derived addresses with instruction data (#386) 2021-06-15 17:15:51 -07:00
Ian Macalinao 4ce26d5531
lang: Render event IDL fields as mixed case (#379) 2021-06-15 10:52:13 -07:00
Armani Ferrante 2bcd44ded3
v0.8.0 (#375) 2021-06-10 20:01:25 -07:00
Armani Ferrante 381a3dfde6
cli, client, lang: Bump solana toolchain to v1.7.1 (#368) 2021-06-09 16:18:07 -07:00
Armani Ferrante df51a27a48
lang, ts: Account close constraint (#371) 2021-06-09 15:40:43 -07:00
Armani Ferrante ba99c9c920
lang: Framework defined error codes (#354) 2021-06-09 13:02:50 -07:00
Armani Ferrante c23a5dfa29
lang: Implement ToAccountMetas for CpiContext (#351) 2021-05-31 16:41:21 -07:00
Armani Ferrante a8fd1e0abb
v0.7.0 (#348) 2021-05-31 12:25:05 -07:00
Armani Ferrante 571a96515e
lang: Rename some idl types (#344) 2021-05-30 23:21:09 -07:00
Armani Ferrante 2f5a9fcc7d
lang: Change context error span and add constraint docs (#342) 2021-05-30 13:31:28 -07:00
Armani Ferrante 6b5ed789fc
lang, spl, cli: Refactor to preserve span information (#341) 2021-05-30 12:59:33 -07:00
Armani Ferrante e1229362bc
lang, ts: Namespace state discriminator (#320) 2021-05-25 14:50:12 -07:00
Armani Ferrante 21fc2d15f4
lang, ts: Consistent domain delimiters (#321) 2021-05-25 11:26:12 -07:00
Armani Ferrante 68c601ab22
lang: Add associated init constraint (#318) 2021-05-24 22:31:48 -07:00
Armani Ferrante 6da6ae22f8
v0.6.0 (#309) 2021-05-23 14:45:34 -07:00
Han Yang 74424fed7b
lang: Fix Recentblockhashes spelling (#302) 2021-05-21 22:22:54 -07:00
Armani Ferrante 791269d3e3
v0.5.0 (#257) 2021-05-07 12:11:18 -07:00
Stanisław Drozd d08ec0326e
lang: Add anchor-debug feature flag for logging (#253) 2021-05-07 11:47:21 -07:00
Armani Ferrante d796cee091
client, lang: Add client support for state instructions (#248) 2021-05-06 14:48:22 -07:00
guanqun ccc5ba8a37
docs: Two small typo fixes (#242) 2021-05-05 00:44:06 -07:00
Lucio M. Tato 71873a77a3
lang: Add debug-log feature flag (#240) 2021-05-04 22:24:08 -07:00
Armani Ferrante 531e796f77
V0.4.5 (#230) 2021-04-29 23:47:20 -07:00
guanqun a108354536
lang, cli: Fix typos (#229) 2021-04-29 10:24:43 -07:00
Armani Ferrante a1464d14d5
examples: Swap on the serum orderbook (#224) 2021-04-28 14:08:53 -07:00
Armani Ferrante 0de345f1a6
v0.4.4 (#205) 2021-04-18 17:42:01 -07:00
Armani Ferrante 016e2c3d4c
Update solana tools to v1.6.6 (#210) 2021-04-18 12:13:07 -07:00
Armani Ferrante a8aa84a3d1
lang: Zero copy state structs (#206) 2021-04-18 09:54:18 -07:00
Armani Ferrante b6afb30474
lang: Zero copy deserialization (#202) 2021-04-17 12:07:48 -07:00
Armani Ferrante 7fcb45e702
lang: Impl Bump trait for associated accounts (#199) 2021-04-14 17:41:18 -07:00
Armani Ferrante 512604b85e
lang: Allow multiple with targets for associated accounts (#197) 2021-04-14 17:29:52 -07:00
Armani Ferrante a1aa705c64
lang: Log errors on exit (#194) 2021-04-13 18:52:14 -07:00
Armani Ferrante f1bb17d35d
v0.4.3 (#188) 2021-04-13 12:11:58 -07:00
Armani Ferrante b498b99f96
lang: Associated program account attributes (#186) 2021-04-13 11:47:54 -07:00
Armani Ferrante 3d661cdc66
lang: Rename StateCpiContext to CpiStateContext 2021-04-12 13:37:58 +08:00
Armani Ferrante a94e24aea4
lang: Add owner constraint (#178) 2021-04-12 12:54:35 +08:00
Armani Ferrante 290e342ade
lang: Parse unused accounts into the IDL (#177) 2021-04-11 20:05:19 -07:00
Armani Ferrante c7c322a306
State struct cpi code generation (#43) 2021-04-11 17:23:43 -07:00
Armani Ferrante 60b1c87224
lang: Simplify codegen (#171) 2021-04-11 13:04:43 -07:00
Armani Ferrante 808d0542a5
v0.4.2 (#170) 2021-04-10 18:10:19 -07:00
Armani Ferrante 81e03c5e37
lang: Cleanup private apis and documentation (#169) 2021-04-10 17:47:14 -07:00
Armani Ferrante fe2ada85b7
lang/syn: Log errors on exit (#158) 2021-04-08 11:49:54 -07:00
armaniferrante 3243d65c07
lang: Document #[account(executable)] 2021-04-07 09:40:20 -07:00
Armani Ferrante 430e10cb6a
v0.4.1 (#152) 2021-04-06 15:49:51 -07:00
armaniferrante f7b92e2e7c
lang: Add some docs for events 2021-04-04 15:08:02 -07:00
Armani Ferrante 719602e836
v0.4.0 (#144) 2021-04-04 14:24:50 -07:00
Armani Ferrante 8289e47513
Update solana tooling to v1.6.3 (#139) 2021-04-04 00:55:56 -07:00
Armani Ferrante d6d41eee59
lang: Add executable account constraint (#140) 2021-04-03 15:13:12 -07:00
Armani Ferrante 07a65233a5
lang: Namespaceable account discriminators (#128) 2021-03-26 15:21:31 -07:00
Armani Ferrante 3cbc227491
Events (#89) 2021-03-24 20:19:29 -07:00
Armani Ferrante b7cafcda0e
lang: Add state size override (#121) 2021-03-24 10:35:51 -07:00
armaniferrante 118be5c6cb
lang: Use official borsh crate 2021-03-23 10:41:02 -07:00
Armani Ferrante 25706d17c5
lang: Update idl.rs docs (#117) 2021-03-23 10:08:22 -07:00
armaniferrante f84d072bca
Pin solana-program to v1.5.15 2021-03-16 14:18:09 -07:00
armaniferrante 97027d9abc
v0.3.0 2021-03-12 14:48:29 -08:00
Armani Ferrante 4c5771d008
lang, cli: Idl write buffers (#107) 2021-03-12 12:43:26 -08:00
Armani Ferrante a7b092a611
docker, cli, lang: Deterministic and verifiable builds (#100) 2021-03-09 05:40:09 -08:00
Marko dc61f4115c
bump solana to 1.5.8 (#92) 2021-02-26 17:31:48 +08:00
Armani Ferrante 53f0e4673c
lang/syn: Remove features not on stable rust 2021-02-16 15:03:47 +08:00
Armani Ferrante 08f5a0e243
Clippy fixes 2021-02-16 13:57:09 +08:00
Armani Ferrante 603a2c1859
v0.2.1 2021-02-11 22:49:25 +08:00
Armani Ferrante 3a282b2fce
lang/syn: Complete change from rpc -> ix 2021-02-11 19:15:14 +08:00
Armani Ferrante 16c998ab43
lang/syn: Simplify accounts parsing 2021-02-11 15:45:45 +08:00
Armani Ferrante 4980d8ab3f
lang/syn: Rename rpc -> ix 2021-02-11 14:59:29 +08:00
Armani Ferrante 5aeb288b51
lang/syn: Simplify program parsing 2021-02-11 14:24:18 +08:00
Armani Ferrante c67dabd1f9
Add support for u128 and i128 (#83) 2021-02-11 13:24:29 +08:00
Armani Ferrante 2499195523
examples/lockup: Specify start date of vesting schedule 2021-02-10 21:39:57 +08:00
Armani Ferrante a780002683
lang/syn: Allow state structs with no ctor or impl block 2021-02-10 21:28:59 +08:00
Armani Ferrante 845df6d196
lang/attribute/access-control: Allow multiple modifiers 2021-02-10 12:00:19 +08:00
Armani Ferrante 14ebb5aa9b
Publish 0.2.0 2021-02-08 15:32:20 +08:00
Armani Ferrante 82d7e5ae2b
lang: Add some more docs 2021-02-08 14:26:21 +08:00
Armani Ferrante 1f31770c83
Program interfaces 2021-02-08 12:54:52 +08:00
Armani Ferrante c643438753
lang: Don't build example docs code 2021-02-06 16:38:57 +08:00
Armani Ferrante 48b27e6943
Migrate to sighash based method dispatch (#64) 2021-02-06 16:28:33 +08:00
Armani Ferrante 170e6f18d4
lang: Hash at compile time (#63) 2021-02-05 19:17:40 +08:00
Armani Ferrante 60958ebc22
lang: Add some API documentation 2021-02-04 22:31:53 +08:00
Armani Ferrante eae05f2c3b
Deref program account 2021-02-01 08:21:00 -08:00
Armani Ferrante 056e33370b
Add account accessor 2021-02-01 06:52:55 -08:00
Armani Ferrante 72bf55db2b
v0.1.0 2021-01-31 07:05:24 -08:00
Armani Ferrante 115cfea21f
Update borsh version 2021-01-31 06:13:42 -08:00
Armani Ferrante a314ffd1cf
cli, lang: Upgradeable IDL commands 2021-01-31 03:28:07 -08:00
Armani Ferrante 9825710c8f
Explicit CLI commands 2021-01-31 00:59:26 -08:00
Armani Ferrante f0297012c6
Create lang dir 2021-01-30 05:23:23 -08:00