Commit Graph

81 Commits

Author SHA1 Message Date
Armani Ferrante 13bc3c88f9
update 2022-02-21 11:53:16 -05:00
Armani Ferrante 288005882d
Merge branch 'master' into armani/versioning 2022-02-21 11:28:41 -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
Armani Ferrante 72c1dc208b
update 2022-02-19 12:33:38 -05:00
Armani Ferrante bb9b35acbc
update 2022-02-18 18:34:20 -05:00
Armani Ferrante 2dd6caa2e5
Merge branch 'master' into armani/versioning 2022-02-18 12:07:09 -05:00
Armani Ferrante b849c9a685
imports 2022-02-18 11:56:11 -05:00
Armani Ferrante 9ac4587e3c
fmt 2022-02-18 11:55:36 -05:00
Armani Ferrante 221c9d3341
remove gitignore 2022-02-18 11:54:51 -05:00
Armani Ferrante a8acf640c0
add tests 2022-02-18 11:54:04 -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
Armani Ferrante 4ba17c7e97
Merge branch 'master' into armani/versioning 2022-02-08 13:55:25 -05:00
Armani Ferrante 9f3ea48b7b
lang, ts: account versioning 2022-02-08 13:36:42 -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