Henry-E
66e4295fe0
drop rust version to allow earlier CLIs to compile ( #2289 )
...
* drop back rust version to allow earlier cli to compile
* update solana program to 1.13.5 latest mainnet version
Co-authored-by: henrye <henry@notanemail>
2022-11-29 11:36:48 +00:00
cyphersnake
a73bd728fb
lang: Add `Owner` & `Discriminator` implementation for ix structures ( #2085 )
...
lang: Add into `Discriminator` trait constant `DISCRIMINATOR`
So that during match instructions or other entities there is no explicit instruction call of `discriminator()`
lang: Add `Owner` impl to instructions
Co-authored-by: Mikhail Gorbachev <m.gorbachev@joinsprouttherapy.com>
2022-11-24 16:19:39 +00:00
Henry-E
5291a7b6ff
Update rust to v1.62 ( #2272 )
...
* update rust from v1.56 to v1.65
* remove unnecessary borrows to appease clippy
* stop clippy complaining for now
* use 1.64 instead because of CI stuff
* update CHANGLEOG
* just seeing if the cli version is affecting the available rust version
* ok, back to 1.62
Co-authored-by: henrye <henry@notanemail>
2022-11-22 16:13:45 +00:00
Armani Ferrante
6baed77eb5
v0.25.0 ( #2031 )
2022-07-05 16:32:55 -04:00
Matthew Callens
f76112a41a
add account name to discriminator mismatch errors ( #2020 )
2022-07-01 18:25:18 -04:00
Sohrab
55e0c5d9dd
fix: align links to coral-xyz/anchor github repo ( #1988 )
2022-06-19 22:16:16 -04:00
Armani Ferrante
0b4c7b0c73
v0.24.2 ( #1788 )
2022-04-13 19:44:18 -04:00
Armani Ferrante
d491f0ba1d
v0.24.1 ( #1779 )
2022-04-12 18:50:33 -04:00
Armani Ferrante
b0f263214d
v0.24.0 ( #1769 )
2022-04-12 10:52:06 -04:00
Paul
5194de04b1
add docs for emit! macro ( #1692 )
2022-03-27 13:22:17 -04:00
Armani Ferrante
77b1afcf2f
v0.23.0 ( #1660 )
2022-03-20 23:30:55 -04:00
Paul
deaa334a54
lang: update `emit!` docs ( #1655 )
2022-03-20 10:42:02 -04:00
Paul
3b0006b3ce
use sol_log_data for logging events ( #1608 )
2022-03-16 14:28:19 -04:00
Paul
721fe6693c
lang: add support for logging expected and actual values and pubkeys ( #1572 )
2022-03-15 11:42:17 -04:00
Matthew Callens
905968d5ab
docs: fix bytemuck links in `#[account]` page ( #1616 )
2022-03-14 23:04:48 -04:00
Matthew Callens
041414f52a
docs: update doc comments for `Program` and `#[account]` ( #1606 )
2022-03-14 12:01:04 -04:00
SchwarzBier
97a8dfe71d
Bump up rust to 2021 edition ( #1430 )
2022-03-12 17:39:21 -05:00
sanny
68c5faed2b
lang: update to AccountLoader in doc comments ( #1554 )
2022-03-05 22:17:10 -05:00
Armani Ferrante
b733610d87
v0.22.1 ( #1528 )
2022-02-28 11:35:59 -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
Paul
2390a4f167
lang: fix error mod exports ( #1426 )
2022-02-10 15:54:12 -05:00
Armani Ferrante
ef1a58d665
v0.21.0 ( #1403 )
2022-02-07 20:10:49 -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
a830644203
lang: export accounts module, re-export its types in the prelude ( #1208 )
2022-01-06 15:26:43 -05:00
Paul
a7eccb6e82
lang: improved Account reference ( #1207 )
2021-12-29 10:18:34 -05:00
y2kappa
fa3d190d42
lang: #[repr(C)] for zero_copy accounts ( #1106 )
2021-12-22 21:11:50 -05:00
Kirill Fomichev
efd37219d2
ci: run clippy for nightly ( #1150 )
2021-12-15 18:03:44 -05:00
Armani Ferrante
3afd1a22e4
v0.19.0 ( #1116 )
2021-12-08 17:33:36 -05:00
Tom Linton
6bc59350de
lang: Add constant attribute ( #956 )
2021-12-03 18:49:38 -05:00
Kirill Fomichev
3688683931
lang: Add `deprecated` attribute to `ProgramAccount` ( #1014 )
2021-11-14 06:46:18 -08:00
Tom Linton
1319dc65d6
v0.18.2 ( #1011 )
2021-11-13 18:58:10 -08:00
wan-nyan-wan
ddd5ad7a48
lang: Fix redundant split() ( #960 )
2021-11-13 07:46:48 -08:00
Johanna Johansson
5fa263ff17
lang: Preserve attrs in access control ( #936 )
2021-10-26 14:57:27 -07:00
Armani Ferrante
229e335da8
v0.18.0 ( #921 )
2021-10-24 19:18:32 -07:00
Armani Ferrante
6eead5669e
v0.17.0 ( #828 )
2021-10-03 16:54:00 -07:00
Armani Ferrante
3d21d33cd5
v0.16.2 ( #807 )
2021-09-27 16:40:44 -07:00
Armani Ferrante
d8f947fc9c
v0.16.1 ( #751 )
2021-09-17 12:33:32 -05:00
Armani Ferrante
780094a648
v0.16.0 ( #746 )
2021-09-16 19:19:15 -05: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
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
6e55078ff3
lang, ts, examples: Remove associated keyword ( #612 )
2021-08-15 16:35:53 -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