Tom Linton
|
1cb7429fe2
|
lang: Allow CPI return values (#1598)
|
2022-03-24 14:40:38 -04:00 |
Armani Ferrante
|
77b1afcf2f
|
v0.23.0 (#1660)
|
2022-03-20 23:30:55 -04:00 |
skrrb
|
58af625736
|
Handle arrays with const as size in endpoint function args (#1631)
|
2022-03-20 15:15:04 -04:00 |
Paul
|
bb25cd6a6f
|
lang: fix owner compile error caused by missing type annotation (#1648)
|
2022-03-19 11:50:23 -04:00 |
Paul
|
7f8ca97aa8
|
add `.with_pubkeys` and `.with_values` to `syn/../constraints.rs` for better logging (#1627)
|
2022-03-16 18:23:28 -04:00 |
Paul
|
d871f39793
|
lang: add system program cpi wrapper functions (#1629)
|
2022-03-16 16:09:58 -04:00 |
Paul
|
170a763625
|
lang: adjust error code so `#[error_code]` works with just importing `anchor_lang::error_code` (#1610)
|
2022-03-16 14:53:43 -04:00 |
Paul
|
721fe6693c
|
lang: add support for logging expected and actual values and pubkeys (#1572)
|
2022-03-15 11:42:17 -04:00 |
SchwarzBier
|
97a8dfe71d
|
Bump up rust to 2021 edition (#1430)
|
2022-03-12 17:39:21 -05:00 |
Paul
|
54c07be511
|
lang: impl Key for Pubkey (#1601)
|
2022-03-12 15:59:30 -05:00 |
Tom Linton
|
2529b06c02
|
lang: Handle const array size casting and add const array size support for events (#1485)
|
2022-03-11 18:05:19 -05:00 |
migui3230
|
69a2d44513
|
print composite field type if the parser cannot resolve it (#1506)
|
2022-03-11 17:56:35 -05:00 |
Paul
|
c8d8cacd22
|
lang: remove default space calc (#1519)
|
2022-03-07 11:23:47 -05:00 |
Ian Macalinao
|
8ffb22d936
|
lang: Fix doc strings not working with double quotes (#1537)
|
2022-03-01 23:03:30 -05:00 |
Tom Linton
|
61de9f21e7
|
lang: Fix detection of Accounts derive (#1530)
|
2022-02-28 20:01:05 -05:00 |
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 |
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 |
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 |
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 |
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 |
suscd
|
4c7cf72dd9
|
lang: make `entry` function public (#1276)
|
2022-01-09 23:49:21 -05:00 |
Armani Ferrante
|
a81ff88d76
|
v0.20.1 (#1274)
|
2022-01-09 16:50:10 -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
|
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 |
Pierre
|
35c8200010
|
lang: Cleanup constraints as commanded (#1239)
|
2022-01-05 10:08:49 -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
|
22c2c30ef4
|
lang: use phantomdata in account type instead of '_account: T' (#1155)
|
2021-12-27 13:01:46 -05:00 |
Tom Linton
|
51aeb08ae1
|
lang: Handle arrays with const as length (#968)
|
2021-12-22 23:13:46 -05:00 |
Kirill Fomichev
|
efd37219d2
|
ci: run clippy for nightly (#1150)
|
2021-12-15 18:03:44 -05:00 |
Justin Starry
|
a3c8d20352
|
lang: Reduce compute unit consumption of loader accounts (#1134)
|
2021-12-15 10:53:48 -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 |