Commit Graph

1417 Commits

Author SHA1 Message Date
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
acheron c7c73194d8
Allow wider range of dependency versions to reduce dependency issues (#2524) 2023-06-08 18:59:44 +02:00
acheron 6df34e7678
Update crate authors and remove outdated registry (#2522) 2023-06-07 19:12:56 +02:00
Jean Marchand (Exotic Markets) 1705d16376
docs: Add doc for InitSpace macro (#2521) 2023-06-07 16:29:23 +02:00
acheron 3d7c97be90
cli: Accept program lib name for `anchor deploy --program-name` (#2519) 2023-06-06 19:28:24 +02:00
Sergo a88be4209a
ts: Validate `error.data` exists on simulation response (#2508) 2023-06-06 13:07:33 +02:00
Jean Marchand (Exotic Markets) 65c9d6e9b9
client: Add async to anchor-client (#2488)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-06-06 09:43:46 +02:00
Deep Mehta b8eda6980c
cli: Print not found message if the given program cannot be found during deployment (#2517) 2023-06-05 19:05:24 +02:00
CanardMandarin 1902b8e586
cli: Update programs in `Anchor.toml` when using `anchor new` (#2516) 2023-06-05 14:16:10 +02:00
acheron 383e440788
cli: Initialize with the correct program id (#2509) 2023-06-04 21:02:16 +02:00
Sarfaraz Nawaz 835dc5b07f
lang: Rename derive_anchor_deserialize -> derive_init_space (#2510) 2023-06-04 19:50:03 +02:00
acheron 1c6f86e5f7
Upgrade Solana to 1.16.0 (#2512) 2023-06-04 13:09:39 +02:00
acheron 2bf8afebd2
cli: Use `confirmed` commitment level in commands (#2506) 2023-05-30 19:50:45 +02:00
acheron 70d922301e
cli: Add `anchor keys sync` command (#2505) 2023-05-28 22:34:53 +02:00
cavemanloverboy 0c8498d195
cli: Exit `anchor clean` without error when dirs don't exist (#2504) 2023-05-27 15:53:02 +02:00
Noah Gundotra 23b90bffc0
Feature: CPI Events API (#2438)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-05-26 18:36:46 +02:00
Last Emperor c3625c8cf2
examples: Add an example with `instruction` method (#2501)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-05-24 14:05:47 +02:00
acheron 67eb7520b5
tests: Fix zero-copy tests (#2498) 2023-05-20 20:34:38 +02:00
acheron f9d0eca704
spl: Update `spl-token-2022` to 0.6.1 (#2496) 2023-05-19 13:18:14 +02:00
acheron 4793b90db1
Fix `toml_datetime` 1.64.0 MSRV error (#2495) 2023-05-19 10:58:16 +02:00
chalda 41a4d820d3
cli: Add print base64 instruction option for some of the IDL commands (#2486)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-05-18 19:12:25 +02:00