Commit Graph

1437 Commits

Author SHA1 Message Date
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
acheron e55cd3e646
lang: Add `Lamports` trait (#2552) 2023-07-01 22:59:36 +02:00
Jean Marchand (Exotic Markets) 5624bfe0ff
lang: Fix typo in the doc (#2551) 2023-06-29 13:35:38 +02:00
acheron 29b8a72800
bench: Show change amount and add change note (#2549) 2023-06-27 20:03:51 +02:00
Han Yang 8bdc1b18ea
spl: Only allow spl-token version above 1.1 (#2546) 2023-06-26 19:04:30 +02:00
acheron 9e73317d09
bench: Show Solana version used in tests (#2543) 2023-06-24 23:28:16 +02:00
acheron d41e513351
ts: Bump packages to `0.28.1-beta.1` (#2539) 2023-06-21 23:32:14 +02:00
acheron b5519a6532
bench: Add lock files and store Solana version (#2537) 2023-06-20 20:20:22 +02:00
acheron 9d947cb26b
ts: Remove usage of `assert` (#2535) 2023-06-17 21:19:42 +02:00
acheron 78d48552c6
docker: Update org name and Ubuntu version (#2533) 2023-06-14 20:41:20 +02:00
acheron c2a36f9e42
ci: Enable `anchor init` test (#2529) 2023-06-12 20:09:14 +02:00
acheron e1afcbf71e
v0.28.0 (#2527) 2023-06-09 18:00:35 +02:00