Commit Graph

169 Commits

Author SHA1 Message Date
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