Commit Graph

293 Commits

Author SHA1 Message Date
Armani Ferrante 6baed77eb5
v0.25.0 (#2031) 2022-07-05 16:32:55 -04:00
Matthew Callens c47fb2877e
lang: adjust `realloc` implementation to safeguard max increase and idempotency (#1986) 2022-07-05 15:54:40 -04:00
Armani Ferrante 9b61bbc626
bump solana-program version (#2027) 2022-07-04 23:58:31 -04:00
Matthew Callens 85847445b3
fix changelog entry to be breaking (#2022) 2022-07-02 11:17:02 -04:00
Matthew Callens e67c50f914
ts: convert `EventParser.parseLogs` to a generator function (#2018) 2022-07-01 23:29:19 -04:00
Matthew Callens 2ad00678b6
ts: add `accountsStrict` for non-resolvable accounts input (#2019) 2022-07-01 18:26:09 -04:00
Sohrab 55e0c5d9dd
fix: align links to coral-xyz/anchor github repo (#1988) 2022-06-19 22:16:16 -04:00
Armani Ferrante 1ec9af7e21
Revert "lang: add `realloc` constraint group (#1943)" (#1984)
This reverts commit 7fe39c61ad.
2022-06-17 17:16:10 -04:00
cavemanloverboy 6984260330
Minor fix (#1976) 2022-06-16 09:47:44 -04:00
Matthew Callens 179711bacc
ts: verbose error for missing `ANCHOR_WALLET` in `NodeWallet.local()` (#1958) 2022-06-10 09:54:06 -04:00
Matthew Callens 7fe39c61ad
lang: add `realloc` constraint group (#1943) 2022-06-04 20:25:28 -04:00
Daniel Marin a5dbc7b850
ts: setup associated token program idl (#1939) 2022-06-01 14:51:44 -04:00
sushi-shi 58db41bb35
cli: Allow passing arguments to a script (#1914) 2022-05-29 23:24:45 +02:00
Vladimir Guguiev d83fcbf7bc
ts: Add program.coder.types for encoding/decoding user-defined types (#1931) 2022-05-29 22:39:45 +02:00
Sammy b993854767
client: Add send w/ spinner and options (#1926) 2022-05-29 22:31:38 +02:00
Daniel Marin 707ebf26e7
feat: Setup a coder for SystemProgram (#1920) 2022-05-26 13:03:44 +02:00
Charlie You 90bbc8b6be
ts: Add tx signature to EventCallback (#1851) 2022-05-17 11:24:16 -04:00
Armani Ferrante 59c2dbb712
update CHANGELOG.md (#1869) 2022-05-04 11:08:36 -04:00
Italo Casas a298bcd650
cli: add --skip-build flag to publish command (#1841) 2022-05-03 09:48:51 -04:00
Tommy Johnson 0011e22b91
add wallet publickey to Provider (#1845) 2022-04-28 18:23:20 -04:00
Pierre 282c394666
feat: add sync native to anchor_spl::token (#1833) 2022-04-25 13:39:35 -04:00
Blas Rodriguez Irizar cb4549fdf3
cli: add short alias for build and test commands (#1823) 2022-04-22 17:04:05 -04:00
ebrightfield ed15922f1a
Add docs field to idl (#1561) 2022-04-21 16:37:41 -04:00
guibescos 0916361f5e
Feature/error equality (#1544) 2022-04-20 19:12:50 -04:00
Paul 9a48f40e3d
spl: add more derives for `TokenAccount` and `Mint` (#1818) 2022-04-20 17:50:30 -04:00
Paul fe255bba2b
cli: add custom release profile to improve CU efficiency (#1807) 2022-04-20 17:49:12 -04:00
Paul d0a13e6535
lang: fix missing account name info when deser fails when using 'init' or 'zero' (#1800) 2022-04-20 16:59:00 -04:00
Paul 700ed262c9
cli: add option to specify program keypair when using 'anchor deploy' (#1786) 2022-04-20 16:37:14 -04:00
Paul 509ef94f79
cli: move overflow-checks into workspace Cargo.toml so that it will not be ignored by compiler (#1806) 2022-04-20 16:36:10 -04:00
Armani Ferrante 0b4c7b0c73
v0.24.2 (#1788) 2022-04-13 19:44:18 -04:00
Paul 1adb6a2c47
lang: fix missing skip serialize for idl instruction (#1782) 2022-04-12 19:35:57 -04:00
Armani Ferrante d491f0ba1d
v0.24.1 (#1779) 2022-04-12 18:50:33 -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 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
DFL Zeke 7d611ac46f
ts: fix program upgrade event crashes existing listeners (#1757) 2022-04-11 09:38:43 -04:00
Paul 016a1d3da5
update forgotten solana versions (#1751) 2022-04-10 14:26:03 -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 ce884066e0
cli: add prettier to new project js/ts template (#1741) 2022-04-07 09:14:38 -04:00
Anan 999fc6aaf4
Fix amv->avm spelling mistake (#1734) 2022-04-05 17:01:09 -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
sweetim 938f89d81b
added bn.js types fixed #1711 (#1712) 2022-04-04 13:24:10 -04:00
Armani Ferrante 5652668062
add changelog entry (#1724) 2022-04-03 19:20:04 -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