Commit Graph

19 Commits

Author SHA1 Message Date
Paul 1f56a62bab
lang: add check that declared id == program id (#1451) 2022-02-15 18:16:06 -05:00
Paul b3720a0b84
lang, ts: fix init_if_needed missing ATA address check (#1221) 2022-01-01 21:47:13 -05:00
man0s 561f7cdaa8
Change AccoutNotProgramOwned error to AccountOwnedByWrongProgram (#1154) 2021-12-17 13:34:43 +01:00
Paul 423ddde30a
lang: Always execute constraints for init_if_needed (#1096) 2021-12-08 16:50:08 -05:00
Paul 3321a3f9c9
lang: Add ProgramData account (#1095) 2021-12-05 14:14:16 -05:00
Mikhail Gorbachev 2d44654a4b
lang: Add `AccountNotInitialized` error (#1024) 2021-11-18 07:42:07 -08:00
Matthew Callens 20726d06bd
lang: Add `SystemAccount<'info>` Account Type (#954) 2021-10-30 11:45:06 -05:00
Armani Ferrante a6bac96ac9
ts: Lint fix (#817) 2021-10-01 09:55:59 -07:00
Dana Hanna d325f218dd
ts: Add message for base Error property (#810) 2021-09-28 11:36:59 -07:00
Ian Macalinao 90df0b1976
ts: Improve TypeScript types (#739) 2021-09-16 15:42:11 -05:00
Armani Ferrante b1ef7431ec
lang, spl: Program and Signer types (#705) 2021-09-11 14:43:12 -07:00
xjcaa 84a2b8200c
ts: Fix typo (#621) 2021-08-18 10:35:29 -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 f067624add
Token PDAs and CLI scripts (#400) 2021-06-27 13:17:05 -07:00
Armani Ferrante 50b000542c
ts: Scope fields when formatting nested instruction accounts (#376) 2021-06-10 21:39:50 -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 e636cf9721 Error handling 2021-01-20 17:13:29 -08:00
armaniferrante 4d42da0146
Instruction and rpc functions dynamically attached to program 2021-01-01 13:58:20 -08:00