Commit Graph

912 Commits

Author SHA1 Message Date
Christian Kamm 4ef5a52ab8 Hack: make ts/ into the repo root, so yarn can work 2022-07-14 11:21:39 +02:00
Christian Kamm 01106c1bb1 Simulate: Don't require wallet signature 2022-07-14 10:23:44 +02:00
Christian Kamm e08a583cba Don't regenerate idl in read_all_programs() 2022-07-14 10:07:24 +02:00
Armani Ferrante 0b4c7b0c73
v0.24.2 (#1788) 2022-04-13 19:44:18 -04:00
Sohrab aff01b99e5
docs(tutorial-4): fix link syntax (#1787) 2022-04-13 09:38:45 -04:00
Paul 1adb6a2c47
lang: fix missing skip serialize for idl instruction (#1782) 2022-04-12 19:35:57 -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
Armani Ferrante 76a3946845
fix makefile cd (#1777) 2022-04-12 17:40:48 -04:00
Paul e69879e3e8
ci: fix no cashing tests (#1775) 2022-04-12 16:55:00 -04:00
Paul 2544f1f2e4
update version-bump.sh so it updates yarn lockfiles (#1774) 2022-04-12 15:51:32 -04:00
Paul 28cf541cdf
ci: add manually triggerable ci test that uses no caching (#1773) 2022-04-12 15:48:30 -04:00
Paul 53ead6077c
cli: fix failing 'anchor build' if 'Test.toml' included a relative pa… (#1772) 2022-04-12 15:27:03 -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
Paul b28deb30c0
docs: link to space reference (#1764) 2022-04-11 17:34:13 -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
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