Commit Graph

1448 Commits

Author SHA1 Message Date
acheron 25b24a1fd3
syn: Fix having access to `idl` module by default (#2650) 2023-10-06 14:52:50 +02:00
acheron 51578bcbc5
spl: Fix compilation error and warnings (#2647) 2023-10-05 19:19:07 +02:00
Nick Guo 5602244e1a
cli: Support upgradeable program in anchor test (#2642)
Resolves #2641
2023-10-03 22:46:40 +02:00
acheron f18fd971fb
Update Node to `18.18.0` LTS (#2643) 2023-10-03 11:49:03 +02:00
acheron e1d5e785b8
syn: Fix generic type aliases (#2644) 2023-10-01 22:53:02 +02:00
acheron d1e32674d5
Add type alias support (#2637) 2023-09-27 22:59:29 +02:00
Sean Young 3e8bc76d72
Update to solang v0.3.2 and add simple test (#2636) 2023-09-26 22:55:41 +02:00
acheron 28adaf2343
ts: Remove `base64-js` dependency (#2635) 2023-09-25 23:36:58 +02:00
Fernando Otero 99b75a905b
spl: Update to token metadata client sdk (#2632) 2023-09-25 16:19:23 +02:00
acheron 3c6fc2ba2d
syn: Fix IDL named enum variant field being snake_case (#2633) 2023-09-21 18:45:22 +02:00
acheron fa9f960a0b
docs: Add tuple enum JS client documentation (#2631) 2023-09-18 23:07:15 +02:00
acheron b5f4796156
Add `IdlBuild` trait (#2629) 2023-09-15 23:59:18 +02:00
acheron fdda604d41
ts: Add strong type support for `addEventListener` (#2627) 2023-09-13 00:12:41 +02:00
Jesserc cec9946111
docs: Fix typo and grammar in error documentation 2023-09-10 21:32:34 +02:00
acheron 4955a92593
Add byte slice(`&[u8]`) support for `idl-build` (#2622) 2023-09-08 10:01:51 +02:00
acheron a1e4453a0b
cli: Make conflicting account names a compile-time error (#2621) 2023-09-05 17:30:53 +02:00
acheron b9fa898384
cli: Fix `anchor account` command panicking outside of workspace (#2620) 2023-09-01 22:42:06 +02:00
Will dcf5928f3f
lang: `Box` the inner enums of `anchor_lang::error::Error` (#2600)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-08-30 19:28:51 +02:00
acheron 115679e675
bench: Add benchmarking for stack memory usage (#2617) 2023-08-28 14:13:12 +02:00
acheron a5e4c02de0
ts: Bump packages to `0.28.1-beta.2` (#2616) 2023-08-27 10:21:17 +02:00
Will a7205af5df
lang: `associated_token` constraints don't work when setting `token_program` (#2603)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-08-23 22:10:08 +02:00
acheron 6f9f7d9369
tests: Move IDL related tests in `misc` to `idl` (#2606) 2023-08-19 13:09:09 +02:00
acheron 6eacad4b11
cli: Add program template with multiple files (#2602) 2023-08-15 23:58:17 +02:00
acheron 454f1dd044
ts: Add support for unnamed(tuple) enum in accounts (#2601) 2023-08-13 16:50:28 +02:00
Jimii b5cf67f13b
spl: Add `TokenRecordAccount` for pNFTs (#2597) 2023-08-12 22:02:37 +02:00
Proph3t 58428f858d
Add `setup_tests.sh` for setting up your local machine for tests (#2594) 2023-08-11 21:48:28 +02:00
acheron 4cf447a1c4
bench: Add benchmarking for program binary size (#2591) 2023-08-08 22:03:31 +02:00
acheron abfdc4e88f
chore: Remove duplicate dependency and and alphabetize features (#2590) 2023-08-05 23:47:06 +02:00
acheron 2af9cc669b
cli: Improve converting non-conflicting paths to names in IDL (#2588) 2023-08-02 23:01:05 +02:00
Proph3t be8764b8a8
Fix typo in account.rs docs (#2587) 2023-08-01 22:23:48 +02:00
acheron b7b8736276
spl: Export `mpl-token-metadata` crate (#2583) 2023-07-31 23:41:12 +02:00
acheron cad868a052
Make the new IDL features explicit (#2582) 2023-07-29 23:49:17 +02:00
acheron 8f30f00ec3
tests: Improve IDL comparison tests (#2581) 2023-07-27 23:29:26 +02:00
Pierre df3e95925b
chore: Use @noble/hashes/sha256 rather than obscure package (#2580) 2023-07-26 23:56:12 +02:00
acheron 5eb678a8bf
ts: Lazy load workspace programs and improve program name accessor (#2579) 2023-07-25 23:52:26 +02:00
acheron 4604fbea9c
cli: Automatically decide IDL generation method (#2578) 2023-07-22 16:39:05 +02:00
Jean Marchand (Exotic Markets) c548c85dff
chore: Remove unused crates (#2577) 2023-07-22 12:43:56 +02:00
Jean Marchand (Exotic Markets) 2bb3237da6
chore: Fix clippy lints (#2576) 2023-07-21 11:04:52 +02:00
dromaz 10eb698912
avm: Add support for the `.anchorversion` file (#2553)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-07-20 23:58:13 +02:00
acheron 8309bb3ed5
cli: Fix `anchor build --no-docs` (#2575) 2023-07-19 18:28:38 +02:00
acheron c306463432
tests: Refactor IDL tests (#2573) 2023-07-17 22:47:55 +02:00
acheron cf057acac0
client: Fix compilation with Solana `1.14` (#2572) 2023-07-16 17:08:25 +02:00
acheron 4e5280be46
cli: Fix workspace inheritence (#2570) 2023-07-14 23:17:23 +02:00
Lucas Steuernagel cfc6d2916b
cli: Bump `solang-parser` version (#2569) 2023-07-14 21:29:16 +02:00
acheron 472279d10d
cli: Add `--out` and `--out-ts` arguments for `idl build` command (#2566) 2023-07-13 22:06:12 +02:00
acheron b7e91d4d0d
Remove IDL `path` field (#2564) 2023-07-11 19:05:14 +02:00
Krešimir Klas 6ef6b79a6c
IDL generation through compilation (#2011)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-07-08 19:59:30 +02:00
Noah Prince 0225b7c0fd
lang: Allow polymorphic CPI calls matching an interface (#2559) 2023-07-07 23:30:38 +02:00
Jean Marchand (Exotic Markets) 9ff7dfcf6f
lang: Support for `const` in the `InitSpace` macro (#2555) 2023-07-05 10:05:37 +02:00
chalda 401d526150
client: Add `DynSigner` (#2550) 2023-07-03 22:56:58 +02:00