Pierre
|
8ee4600785
|
feat: Use new canonical close account pattern (#2169)
|
2022-09-06 09:33:17 -04:00 |
Matthew Callens
|
9d15c99e07
|
update doc links to new anchor website (#2069)
|
2022-07-19 12:53:20 -04:00 |
Matthew Callens
|
fc3789520e
|
fix new clippy warnings for cicd (#2075)
|
2022-07-19 12:07:20 -04:00 |
Matthew Callens
|
c47fb2877e
|
lang: adjust `realloc` implementation to safeguard max increase and idempotency (#1986)
|
2022-07-05 15:54:40 -04:00 |
Jesse Eisses
|
df9627e952
|
update docs on format of method dispatch identifier (#2017)
|
2022-06-30 09:36:38 -04:00 |
Sohrab
|
55e0c5d9dd
|
fix: align links to coral-xyz/anchor github repo (#1988)
|
2022-06-19 22:16:16 -04:00 |
guibescos
|
0916361f5e
|
Feature/error equality (#1544)
|
2022-04-20 19:12:50 -04:00 |
Paul
|
778e328753
|
lang: deserialize programdata address on demand/lazily (#1723)
|
2022-04-08 13:48:40 -04:00 |
Kevin Aud
|
e056cca519
|
Minor clean up in IDL accounts (#1144)
|
2022-04-04 18:37:24 -04:00 |
Paul
|
5194de04b1
|
add docs for emit! macro (#1692)
|
2022-03-27 13:22:17 -04:00 |
Kirill Fomichev
|
40ea715beb
|
lang, cli, spl: Update solana toolchain to v1.9.13 (#1653)
Co-authored-by: Paul Schaaf <paulsimonschaaf@gmail.com>
|
2022-03-26 20:28:55 -04:00 |
Samuel Moelius
|
0f7675c31c
|
Add discriminator length checks instead of panicking in `(Account)Loader` (#1678)
|
2022-03-24 12:05:39 -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 |
Matthew Callens
|
b376fd4615
|
lang: add additional `require_x` comparison macros (#1622)
|
2022-03-16 14:45:09 -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
|
041414f52a
|
docs: update doc comments for `Program` and `#[account]` (#1606)
|
2022-03-14 12:01:04 -04:00 |
Paul
|
54c07be511
|
lang: impl Key for Pubkey (#1601)
|
2022-03-12 15:59:30 -05:00 |
Matthew Callens
|
ad8aec247b
|
lang: new internal writer to use bpf mem syscalls (#1589)
|
2022-03-12 15:58:41 -05:00 |
Matthew Callens
|
a78c9c0341
|
lang: add sysvar custom error and failing test case (#1535)
|
2022-03-01 11:33:18 -05:00 |
Paul
|
48138894b1
|
docs: add warning about manually closing accounts (#1490)
|
2022-02-21 10:47:19 -05:00 |
Paul
|
40596824bf
|
error redesign (#1462)
|
2022-02-20 17:28:24 -05:00 |
Armani Ferrante
|
f39ea73a65
|
lang: cargo fmt (#1459)
|
2022-02-16 22:07:56 -05:00 |
Paul
|
2d9209ba33
|
improve error code reference (#1454)
|
2022-02-16 16:11:12 +01: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 |
Blas Rodriguez Irizar
|
33c5dab909
|
lang: hide __private module from docs (#1386)
|
2022-02-03 13:09:54 -05:00 |
Armani Ferrante
|
16a7dc5dc1
|
lang: store calculated bump seeds in context (#1367)
|
2022-01-27 16:55:13 -05:00 |
Paul
|
0dfed11eaa
|
lang: rename loader_account.rs to account_loader.rs (#1279)
|
2022-01-10 14:39:24 -05:00 |
Blaž Hrastnik
|
787527fdff
|
lang: Allow zero_size accounts to be larger than account schema (#1158)
|
2022-01-10 12:30:34 -05:00 |
Paul
|
8739db4e58
|
lang: mut types using blanket implementations (#1127)
|
2022-01-09 22:48:21 -05:00 |
Paul
|
e3d733c996
|
docs: fix require macro (#1269)
|
2022-01-08 16:29:00 -05:00 |
Paul
|
49ad086edc
|
docs: more require macro docs (#1268)
|
2022-01-08 15:24:58 -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
|
bb20eee8f6
|
lang/docs: Context and CpiContext docs (#1247)
|
2022-01-06 10:05:11 -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
|
a7eccb6e82
|
lang: improved Account reference (#1207)
|
2021-12-29 10:18:34 -05:00 |
Paul
|
22c2c30ef4
|
lang: use phantomdata in account type instead of '_account: T' (#1155)
|
2021-12-27 13:01:46 -05:00 |
Paul
|
51366441d2
|
lang: implement AsRef<T> for Account<'a, T> (#1173)
|
2021-12-27 10:37:47 -05:00 |
Paul
|
b5827c1b24
|
lang: add default impls for AccountSerialize and AccountDeserialize (#1156)
|
2021-12-27 10:36:29 -05:00 |
Paul
|
d43d965cfb
|
lang: fix constraint typo (#1166)
|
2021-12-21 22:13:51 +03:00 |
Paul
|
790fda9258
|
lang: add `set_inner` function to `Account<'a, T>` (#1177)
|
2021-12-20 15:16:26 -05:00 |
Paul
|
8aab5b4634
|
lang: fix clippy (#1164)
|
2021-12-18 18:25:04 -05:00 |
man0s
|
561f7cdaa8
|
Change AccoutNotProgramOwned error to AccountOwnedByWrongProgram (#1154)
|
2021-12-17 13:34:43 +01:00 |
Paul
|
a8280b786c
|
lang: move accounts into their own module (#1139)
|
2021-12-15 14:02:27 -05:00 |
Justin Starry
|
a3c8d20352
|
lang: Reduce compute unit consumption of loader accounts (#1134)
|
2021-12-15 10:53:48 -05:00 |
Paul
|
911620ee27
|
lang: programdata_address field for Program account (#1125)
|
2021-12-13 16:43:13 -05:00 |
Paul
|
423ddde30a
|
lang: Always execute constraints for init_if_needed (#1096)
|
2021-12-08 16:50:08 -05:00 |