Commit Graph

113 Commits

Author SHA1 Message Date
Armani Ferrante 0b4c7b0c73
v0.24.2 (#1788) 2022-04-13 19:44:18 -04:00
Paul d07853e9ef
fix anchor-init ci and bpf-upgradeable-state package.json (#1781) 2022-04-12 19:29:52 -04:00
Armani Ferrante d491f0ba1d
v0.24.1 (#1779) 2022-04-12 18:50:33 -04:00
Paul b665f28b16
update anchor ts dep paths (#1778) 2022-04-12 18:16:04 -04:00
Paul fb149f96a1
update yarn lockfile, fix cli template, and fix ci (#1770) 2022-04-12 15:02:06 -04:00
Armani Ferrante b0f263214d
v0.24.0 (#1769) 2022-04-12 10:52:06 -04:00
Paul 6bd9879dd6
lang: codegen improvements (#1766) 2022-04-11 21:28:21 -04:00
Anan f5dffe6490
lang: allow `token::...` and `mint::...` to be used as checks without init (#1505)
Co-authored-by: Paul Schaaf <paulsimonschaaf@gmail.com>
2022-04-11 17:25:07 -04:00
Paul 537d470954
ts: make `Provider` an interface, add `AnchorProvider` class, and update provider functions (#1707) 2022-04-11 15:48:58 -04:00
Paul 4d9bd6adc6
spl: change "to" to "from" in token::burn (#1729)
Co-authored-by: Thomas Moussajee <thomas.moussajee@gmail.com>
2022-04-11 13:00:04 -04:00
Paul 016a1d3da5
update forgotten solana versions (#1751) 2022-04-10 14:26:03 -04:00
Paul 7dea38712e
tests: fix safety check Anchor.toml wallet field (#1752) 2022-04-10 14:23:31 -04:00
Matthew Callens d1ddf8ee24
ts: add `pubkeys` method builder function to view all instruction account addresses (#1733)
Co-authored-by: Paul Schaaf <paulsimonschaaf@gmail.com>
2022-04-10 13:19:56 -04:00
Paul 3d0560db2c
Revert "lang: Make Anchor use fallback function instead of panicking if ix data.len() is < `8` (#1721)" (#1748) 2022-04-08 15:31:07 -04:00
Paul 778e328753
lang: deserialize programdata address on demand/lazily (#1723) 2022-04-08 13:48:40 -04:00
dependabot[bot] e007759d88
build(deps): bump minimist from 1.2.5 to 1.2.6 in /tests (#1718) 2022-04-04 13:05:15 -04:00
Tom Linton 8fb942efd5
ts: Add views (#1695) 2022-04-03 19:15:06 -04:00
Paul adb90c33d7
lang: Make Anchor use fallback function instead of panicking if ix data.len() is < `8` (#1721) 2022-04-02 22:27:39 -04:00
Paul 470e902f48
lang: Add support for multiple test suites with separate local validators (#1681) 2022-03-30 17:17:54 -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
Tom Linton 1cb7429fe2
lang: Allow CPI return values (#1598) 2022-03-24 14:40:38 -04:00
Matthew Callens 23efadf08f
tests: update assertions to use chai and more strict (#1672) 2022-03-24 11:44:33 -04:00
Paul 4b4b8007fb
update lockfiles (#1662) 2022-03-21 00:47:56 -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
Kirill Fomichev 45a5d20a79
ci: add git diff for checking lock file changes (#1654) 2022-03-20 15:42:50 -04:00
skrrb 58af625736
Handle arrays with const as size in endpoint function args (#1631) 2022-03-20 15:15:04 -04:00
Paul f0b4c385f3
tests: fix seemingly ok but actually broken tests (#1656) 2022-03-20 11:38:55 -04:00
Paul 565e9567b5
tests: increase validator-clone startup time (#1635) 2022-03-16 20:14:25 -04:00
Paul 0cb2896627
tests: fix flaky validator-clone test by increasing startup_wait (#1634) 2022-03-16 19:34:33 -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 7f8ca97aa8
add `.with_pubkeys` and `.with_values` to `syn/../constraints.rs` for better logging (#1627) 2022-03-16 18:23:28 -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
SchwarzBier 97a8dfe71d
Bump up rust to 2021 edition (#1430) 2022-03-12 17:39:21 -05:00
skrrb 3c994fcdef
cli: also clone program data account (#1495) 2022-03-12 17:36:35 -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
Tom Linton 5c5fa7927f
Check error in safety checks test failure (#1571) 2022-03-08 16:00:25 -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
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
Ian Macalinao de08fec0b9
lang: add more docs to macros to allow missing_doc (#1498) 2022-02-21 17:29:03 -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
man0s 83121c26eb
Add check for mutability of init payer (#1271) 2022-02-08 18:34:18 +01:00