Samuel Moelius
|
0f7675c31c
|
Add discriminator length checks instead of panicking in `(Account)Loader` (#1678)
|
2022-03-24 12:05:39 -04:00 |
Italo Casas
|
e9995112f6
|
avm improvements (#1670)
|
2022-03-23 14:17:20 -04:00 |
Matthew Callens
|
4e4ca55c57
|
spl: re-export `spl-token` crate (#1665)
|
2022-03-22 23:33:34 -04:00 |
Paul
|
78714eaf95
|
docs: move ts error changes into breaking section of the changelog (#1664)
|
2022-03-21 12:47:12 -04:00 |
Armani Ferrante
|
77b1afcf2f
|
v0.23.0 (#1660)
|
2022-03-20 23:30:55 -04:00 |
Paul
|
9afdb17ac2
|
ts: add error log parsing to ts client (#1640)
|
2022-03-20 20:29:12 -04:00 |
skrrb
|
58af625736
|
Handle arrays with const as size in endpoint function args (#1631)
|
2022-03-20 15:15:04 -04:00 |
robert-balcerowicz
|
1c7139a9e3
|
ts: Use return value of `wallet.signTransaction` in `provider.ts` (#1527)
|
2022-03-20 14:11:41 -04:00 |
Paul
|
bb25cd6a6f
|
lang: fix owner compile error caused by missing type annotation (#1648)
|
2022-03-19 11:50:23 -04:00 |
Tom Linton
|
d42d147e6a
|
cli: Fix npm install command in fallback (#1643)
|
2022-03-18 13:19:01 -04:00 |
Sven Dowideit
|
e567e14154
|
remove avm use prompt, and insist on user installing a version if it's not yet installed (#1565)
|
2022-03-17 13:28:03 -04:00 |
Paul
|
94b0fec714
|
fix anchor-lang import in safety-check, add custom-coder to ci, and fix spl-token coder (#1604)
|
2022-03-16 18:27:57 -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
|
3face237fb
|
cli: make ts idl equal json idl (#1609)
|
2022-03-16 14:38:07 -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
|
2a039f2e45
|
cli: initialize a new git repository on `anchor init` (#1605)
|
2022-03-14 11:43:05 -04:00 |
skrrb
|
3c994fcdef
|
cli: also clone program data account (#1495)
|
2022-03-12 17:36:35 -05:00 |
NIKHIL B N
|
00488b512c
|
Add support for `anchor idl fetch` to work outside anchor workspace (#1509)
|
2022-03-12 17:25:27 -05: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 |
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 |
CherryMan
|
b5ea2a4201
|
client: derive cluster ws url like web3.js (#1362)
|
2022-03-11 12:59:10 -05:00 |
skrrb
|
07c7cc1ce5
|
cli: add anchor clean (#1479)
|
2022-03-11 10:46:52 -05:00 |
Armani Ferrante
|
b149fc522a
|
ts: add provider parameter to spl token client (#1597)
|
2022-03-10 22:43:33 -05:00 |
mgild
|
552789a072
|
Update governance.rs: Fixup anchor return types (#1582)
|
2022-03-10 15:30:49 -05:00 |
Paul
|
6dd0574cca
|
fix changelog (#1568)
|
2022-03-07 14:23:13 -05:00 |
Paul
|
c8d8cacd22
|
lang: remove default space calc (#1519)
|
2022-03-07 11:23:47 -05:00 |
Matthew Callens
|
eee75ab07a
|
ts: fix methods builder `.accounts` requiring global programs (#1548)
|
2022-03-03 22:42:45 -05:00 |
Rohan Kapur
|
4e8bb08cc4
|
spl: Add support for the spl_token revoke (#1493)
|
2022-03-03 15:46:17 -05:00 |
Matthew Callens
|
80be42803d
|
ts: fix methods namespace typing loss and deprecate non-methods namespaces (#1539)
|
2022-03-01 19:26:32 -05:00 |
Matthew Callens
|
a78c9c0341
|
lang: add sysvar custom error and failing test case (#1535)
|
2022-03-01 11:33:18 -05:00 |
Armani Ferrante
|
b733610d87
|
v0.22.1 (#1528)
|
2022-02-28 11:35:59 -05:00 |
Paul
|
4afdf56cfa
|
docs: fix changelog error migration guide (#1508)
|
2022-02-22 17:38:53 -05:00 |
Evan Conrad
|
4fd20c7bf9
|
changelog: add additional upgrade guide for 0.22.0 (#1497)
|
2022-02-21 14:50:57 -05:00 |
Armani Ferrante
|
a604f8595c
|
makefile and changelog misc updates (#1491)
|
2022-02-21 11:05:17 -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 |
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
|
d5e7e2a7c3
|
docs: update changelog for #1426 (#1432)
|
2022-02-11 11:35:09 +01:00 |
Daniel Marin
|
3838bdeaf0
|
ts: allow nullable types for option fields (#1428)
|
2022-02-10 09:46:44 -05:00 |
man0s
|
83121c26eb
|
Add check for mutability of init payer (#1271)
|
2022-02-08 18:34:18 +01:00 |
Armani Ferrante
|
1164ebdcfc
|
fix changelog version (#1409)
|
2022-02-08 12:22:17 -05: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 |
Eoin Murphy
|
9fea72e701
|
ts: fill in some gaps for ts IDL types (#1393)
|
2022-02-04 13:11:17 -05:00 |
Tom Linton
|
75469f423c
|
cli: anchor version manager (avm) (#1385)
|
2022-02-03 19:13:40 -05:00 |
Tom Linton
|
5e2821fd85
|
cli: Expose --account flag for solana-test-validator in Anchor.toml (#1366)
|
2022-01-31 19:52:08 -05:00 |
Matthew Callens
|
714f5e6b75
|
ts: fix `Wallet` class declaration (#1363)
|
2022-01-31 18:31:21 -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
|
46722953c1
|
ts: verified build utility (#1371)
|
2022-01-29 16:46:12 -05:00 |
Armani Ferrante
|
16a7dc5dc1
|
lang: store calculated bump seeds in context (#1367)
|
2022-01-27 16:55:13 -05:00 |
Armani Ferrante
|
e121e4e09d
|
ts: builder api (#1324)
|
2022-01-15 17:09:53 -05:00 |
xjcaa
|
f34287e399
|
ts: remove event error log (#1313)
|
2022-01-14 11:02:15 -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 |
Armani Ferrante
|
4422902e86
|
changelog: move breaking section into unreleased (#1287)
|
2022-01-10 12:57:43 -05:00 |
Armani Ferrante
|
84e0852584
|
ts: `Coder` as interface and SPL token coder (#1259)
|
2022-01-09 21:10:25 -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 |
Dominic Lee
|
6f4fe1dd11
|
ts: add missing types for conditional exports (#1137)
|
2022-01-03 11:51:27 +01:00 |
Paul
|
b3720a0b84
|
lang, ts: fix init_if_needed missing ATA address check (#1221)
|
2022-01-01 21:47:13 -05:00 |
Paul
|
1749a7bd53
|
cli: Add `anchor expand` command (#1160)
|
2021-12-27 13:34:45 -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 |
Tom Linton
|
51aeb08ae1
|
lang: Handle arrays with const as length (#968)
|
2021-12-22 23:13:46 -05:00 |
y2kappa
|
fa3d190d42
|
lang: #[repr(C)] for zero_copy accounts (#1106)
|
2021-12-22 21:11:50 -05:00 |
Paul
|
790fda9258
|
lang: add `set_inner` function to `Account<'a, T>` (#1177)
|
2021-12-20 15:16:26 -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 |
Paul
|
af926876c5
|
ts: add optional commitment arg (#1171)
|
2021-12-19 11:28:39 -05:00 |
man0s
|
561f7cdaa8
|
Change AccoutNotProgramOwned error to AccountOwnedByWrongProgram (#1154)
|
2021-12-17 13:34:43 +01: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 |
Paul
|
96f79993dd
|
ci: update solana cli (#1133)
|
2021-12-13 11:23:36 -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 |
Dominic Lee
|
bef1bd8b80
|
ts: add getAccountInfo helper method to account namespace/client (#1084)
|
2021-12-08 15:05:52 +01:00 |
Paul
|
3321a3f9c9
|
lang: Add ProgramData account (#1095)
|
2021-12-05 14:14:16 -05:00 |
Paul
|
517838e494
|
ts: Better public key error msgs (#1098)
|
2021-12-04 15:01:50 -05:00 |
Armani Ferrante
|
be4e946040
|
spl: Move permissioned market proxy (#962)
|
2021-11-30 12:44:15 -08:00 |
Paul
|
926c0246e3
|
lang: Add deprecated attribute to Loader (#1078)
|
2021-11-29 22:40:20 +00:00 |
Tom Linton
|
1c5f503a75
|
cli: Add version name from programs Cargo.toml to IDL (#1061)
|
2021-11-27 09:06:01 -08:00 |
Paul
|
8a30d87064
|
lang: Log instruction names (#1057)
|
2021-11-24 10:46:17 -08:00 |
Mikhail Gorbachev
|
2d44654a4b
|
lang: Add `AccountNotInitialized` error (#1024)
|
2021-11-18 07:42:07 -08:00 |
Kirill Fomichev
|
3688683931
|
lang: Add `deprecated` attribute to `ProgramAccount` (#1014)
|
2021-11-14 06:46:18 -08:00 |
SolanaMonkeyBusiness
|
c188846a4b
|
ts: Add postInstructions (#1007)
|
2021-11-14 06:45:03 -08:00 |
Tom Linton
|
1319dc65d6
|
v0.18.2 (#1011)
|
2021-11-13 18:58:10 -08:00 |
Tom Linton
|
468fe79473
|
cli, examples, tests: Remove global JavaScript dependencies in favour of local (#990)
|
2021-11-11 22:38:35 +00:00 |
Kirill Fomichev
|
ac3fbe8d38
|
cli: Add `idl-ts` option to build command (#940)
|
2021-11-10 06:40:28 +00:00 |
Kirill Fomichev
|
a22b94921e
|
cli: Add fields os/cpu to npm cli package (#976)
|
2021-11-04 16:38:04 +00:00 |