Commit Graph

76 Commits

Author SHA1 Message Date
Armani Ferrante bbf79e7d7e
lang: Fix idl for Signer type (#750) 2021-09-17 11:18:50 -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 526de235d1
lang: `#[account(owner)]` uses pubkey instead of account target (#691) 2021-09-09 14:32:11 -07:00
Armani Ferrante 3958533750
Static owner and program ID checks (#686) 2021-09-07 13:06:15 -07:00
Armani Ferrante d1edf2653f
lang: Use try_accounts instead of manual deser (#666) 2021-09-02 09:35:05 -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
Armani Ferrante 6085eda9df
lang: Sends lamports to payer on init (#648) 2021-08-31 14:43:04 -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
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
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 5018e98a9c
examples: Permissioned markets (#483) 2021-07-09 18:42:05 -07:00
Brett Etter d612ffddc2
lang: Added generic support to Accounts (#496) 2021-07-08 13:14:39 -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
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
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 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 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 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
Han Yang 74424fed7b
lang: Fix Recentblockhashes spelling (#302) 2021-05-21 22:22:54 -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
Lucio M. Tato 71873a77a3
lang: Add debug-log feature flag (#240) 2021-05-04 22:24:08 -07:00
Armani Ferrante a1464d14d5
examples: Swap on the serum orderbook (#224) 2021-04-28 14:08:53 -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 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