Commit Graph

1094 Commits

Author SHA1 Message Date
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
Krešimir Klas 12f6541486
ts: export error types (#1756) 2022-04-11 11:25:59 -04:00
Paul 3dc5940149
ci: add missing comment explaining singlethreaded avm testing (#1762) 2022-04-11 11:14:47 -04:00
DFL Zeke 7d611ac46f
ts: fix program upgrade event crashes existing listeners (#1757) 2022-04-11 09:38:43 -04:00
Paul 7aa38d926f
avm: fix current_version test flakiness (#1755) 2022-04-11 09:14:06 -04:00
cavemanloverboy f0c09f2f3e
cli: integer arithmetic safe by default w/o checked (#1758) 2022-04-10 22:45:47 -04:00
Armani Ferrante 032525c212
ts: use modern gma api (#1753) 2022-04-10 16:05:52 -04:00
Tom Linton 4c9866f1bc
avm: Remove avm from workspaces (#1502) 2022-04-10 15:13:01 -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
Paul 248ef79006
cli: improve filepath canonicalization error (#1745) 2022-04-07 11:57:29 -04:00
Paul ce884066e0
cli: add prettier to new project js/ts template (#1741) 2022-04-07 09:14:38 -04:00
Paul c66a06e5ba
remove dead code in makefile (#1740) 2022-04-06 17:11:26 -04:00
Armani Ferrante a89d2468d0
Revert "ts: Add data type to clients in `AccountNamespace` (#1358)" (#1739) 2022-04-06 15:39:41 -04:00
Harshal Sheth 423223d5bf
ts: Add data type to clients in `AccountNamespace` (#1358) 2022-04-06 13:16:20 -04:00
Anan 999fc6aaf4
Fix amv->avm spelling mistake (#1734) 2022-04-05 17:01:09 -04:00
Kevin Aud e056cca519
Minor clean up in IDL accounts (#1144) 2022-04-04 18:37:24 -04:00
Paul 9e070870f4
cli: update js/ts templates to use new `.methods` syntax (#1732)
Co-authored-by: Nikhil B N <nikhilbn365@gmail.com>
2022-04-04 14:50:45 -04:00
LM ddb344b56a
Client: Typo fix (#1689) 2022-04-04 14:00:18 -04:00
Samuel Moelius 27c3513dfc
Add `accounts.is_empty()` check (#1697) 2022-04-04 13:37:02 -04:00
sweetim 938f89d81b
added bn.js types fixed #1711 (#1712) 2022-04-04 13:24:10 -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
Armani Ferrante 5652668062
add changelog entry (#1724) 2022-04-03 19:20:04 -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 4ebcc5fb7e
issue template (#1716) 2022-03-31 15:06:28 -04:00
matias-la 3e0f641c66
ts: remove find^0.3.0 unused dependency (#1709) 2022-03-30 22:35:13 -04:00
Pierre 237dbbe42e
Add coption to DecodeType (#1699) 2022-03-30 21:43:29 -04:00
Paul 470e902f48
lang: Add support for multiple test suites with separate local validators (#1681) 2022-03-30 17:17:54 -04:00
Paul 7803acb995
cli: update cli templates (#1698) 2022-03-28 16:59:53 -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
Paul a2e760c50c
cli-fix: anchor test with --skip-deploy should fail if validator exists already (#1675) 2022-03-24 19:16:25 -04:00
Tom Linton 1cb7429fe2
lang: Allow CPI return values (#1598) 2022-03-24 14:40:38 -04:00
Samuel Moelius 0f7675c31c
Add discriminator length checks instead of panicking in `(Account)Loader` (#1678) 2022-03-24 12:05:39 -04:00
Matthew Callens 23efadf08f
tests: update assertions to use chai and more strict (#1672) 2022-03-24 11:44:33 -04:00
Tom Linton 7ea97cb298
ci: Remove nightly clippy (#1674) 2022-03-24 00:50:50 -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
Krešimir Klas 946fa23538
ts: fix type for accounts field in Idl (#1542) 2022-03-22 21:43:51 -04:00
Italo Casas 811a4cb318
Remove serum-common dependency from cli (#1667) 2022-03-21 19:48:01 -04:00
anant asthana d2233d6163
Added better error messaging when workspace.member or workspace.exclude doesn't exist. (#1524) 2022-03-21 18:09:46 -04:00
Paul 78714eaf95
docs: move ts error changes into breaking section of the changelog (#1664) 2022-03-21 12:47:12 -04:00
Paul 4b4b8007fb
update lockfiles (#1662) 2022-03-21 00:47:56 -04:00
Armani Ferrante e66c0466b6
fix typedoc version (#1661) 2022-03-20 23:51:28 -04:00