Commit Graph

371 Commits

Author SHA1 Message Date
acheron e6d7dafe12
v0.30.1 (#3040) 2024-06-20 17:20:02 +02:00
acheron cc43e67399
idl: Add separate spec crate (#3036) 2024-06-19 23:06:25 +02:00
acheron cdf25593b2
cli: Sync program ids on the initial build (#3023) 2024-06-13 13:25:08 +02:00
acheron 8528092545
cli: Add `idl type` command (#3017) 2024-06-10 23:44:56 +02:00
acheron d6e43b6312
cli: Fix upgradeable program clones (#3010) 2024-06-07 23:58:29 +02:00
acheron b7511837b6
cli: Add `idl convert` command (#3009) 2024-06-05 23:59:12 +02:00
Vladyslav Korniienko 801b32a88c
cli: Add additional solana arguments to the `upgrade` command (#2998) 2024-06-03 10:29:54 +02:00
Andrei Hrs bcf3862ef7
cli: Fix IDL write getting corrupted from retries (#2964) 2024-05-27 22:46:12 +02:00
acheron 4540c8253a
Bump minimum Solana crate versions to `1.17.3` (#2975) 2024-05-19 16:44:10 +02:00
acheron 518b73f219
Fix clippy 1.78.0 lints (#2971) 2024-05-16 17:34:44 +02:00
acheron ede69e67ef
cli: Add `--no-install` option to the `init` command (#2945) 2024-05-02 23:04:48 +02:00
chalda da3b251f38
cli: Print total steps in IDL buffer writes (#2944) 2024-05-02 22:23:58 +02:00
Mike MacCana 940de79bb0
cli: Add filename to 'Unable to read keypair file' errors (#2932)
Use named placeholders in formatting

Co-authored-by: acheron <98934430+acheroncrypto@users.noreply.github.com>
2024-05-01 20:24:58 +02:00
Mike MacCana 054850c614
cli: Fix npm warning by using configured default license (#2929) 2024-04-30 18:37:21 +02:00
Mike MacCana 499e1e67c6
cli: Fix unused variable warning on new projects (#2930) 2024-04-27 18:03:21 +02:00
acheron 852fcc77be
v0.30.0 (#2909) 2024-04-15 17:20:01 +02:00
acheron f74ea64ca6
idl: Rename crate name to `anchor-lang-idl` (#2908) 2024-04-15 13:56:53 +02:00
acheron 7356bd5afe
idl: Keep crate and `spec` version the same (#2901) 2024-04-13 01:06:45 +02:00
acheron 5f6af05519
idl: Add `#[non_exhaustive]` to IDL enums (#2890) 2024-04-04 22:34:35 +02:00
amilz 45c84c524f
cli: Add `deactivate_feature` flag to `solana-test-validator` config in Anchor.toml (#2872) 2024-03-30 17:40:30 +01:00
Jasper 6aba24e225
cli: Standardize Rust templates for `anchor init` generated JSON and ignore files (#2874) 2024-03-30 17:14:30 +01:00
acheron c66b323293
Upgrade Solana to 1.18.8 (#2867) 2024-03-28 05:52:24 +01:00
acheron b83d5fd64b
Upgrade `cargo_toml` to 0.19.2 (#2859) 2024-03-20 02:36:39 +01:00
Andrei Hrs cc15435e4d
cli: Add priority fees to idl commands (#2845) 2024-03-19 11:00:09 +01:00
acheron d931b31c0a
cli: Add `--no-idl` flag to the `build` command (#2847) 2024-03-16 15:56:13 +01:00
acheron d9a9f19394
Fix IDL (#2824)
* Rewrite IDL type spec

* Rewrite IDL generation

* Partially rewrite the TS package with the new IDL, improved account resolution and types
2024-03-10 14:22:23 +01:00
cui fliter 3e2cd0004c
Fix typos in comments (#2830) 2024-03-05 22:42:14 +01:00
acheron 2f552a17f5
cli: Fix excessive test validator requests (#2828) 2024-02-29 21:42:28 +01:00
acheron 216b56e26f
cli: Add ability to build and test only a specified program (#2823) 2024-02-24 15:45:09 +01:00
acheron 5d5cadebdd
cli: Accept package name as program name (#2816) 2024-02-16 16:51:56 +01:00
Aoi Kurokawa 8eee184938
cli: Add Rust test template (#2805) 2024-02-14 23:58:40 +01:00
acheron fc8cb5234a
cli: Check `@coral-xyz/anchor` package and CLI version compatibility (#2813) 2024-02-11 03:54:41 +01:00
Aoi Kurokawa 94fde24339
cli: Add support for multiple commands with `anchor test` (#2799) 2024-02-01 14:59:46 +01:00
acheron ef836852dd
Specify `solana-program` version range to not include 1.18.0 (#2798) 2024-01-29 23:18:57 +01:00
Gabriele Picco 169264d730
cli: Add support for simple wildcard patterns in Anchor.toml's `workspace.members` and `workspace.exclude` (#2785)
Co-authored-by: acheron <98934430+acheroncrypto@users.noreply.github.com>
2024-01-25 14:37:01 +01:00
acheron dbb36d211c
cli: Remove redundant Solidity code (#2778) 2024-01-18 20:15:55 +01:00
chalda bcd7e1719e
cli: Specify the address to close with `idl close` and close buffer after `idl upgrade` (#2760)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2024-01-16 20:04:54 +01:00
acheron c93b33a27e
cli: Fix `migrate` command not working without global `ts-node` installation (#2767) 2024-01-11 14:13:56 +01:00
Sabir Khan 7cbdff657d
cli: set I/O stream to `Stdio:null` if the given `solana_version` is already installed (#2757)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2024-01-06 18:06:09 +01:00
acheron 47ff77f4df
cli: Check `anchor-lang` and CLI version compatibility (#2753) 2024-01-03 00:01:12 +01:00
Michal Nazarewicz 250fa8cdc5
lang: Avoid temporary `Vec`s when serializing objects with discriminators and set default capacity to 256 bytes (#2691) 2023-12-14 21:09:48 +01:00
chalda 61244a86dc
Change default local test-validator address from localhost to 127.0.0.1 (#2725) 2023-12-11 23:29:01 +01:00
acheron 727e6f84cb
cli: Fix toolchain `solana_version` override log (#2719) 2023-12-06 15:56:31 +01:00
acheron a423f7855b
cli: Require explicit `overflow-checks` flag (#2716) 2023-11-30 00:55:12 +01:00
acheron beb15cdb37
cli: Add support for passing arguments to `solana program deploy` (#2709) 2023-11-22 23:55:51 +01:00
Aoi Kurokawa c58d2f232e
cli: add verifiable option in deploy command (#2705) 2023-11-19 23:59:47 +01:00
acheron d28414efd4
cli: Fix commit based `anchor_version` override (#2704) 2023-11-17 15:26:44 +01:00
acheron cded9de0a4
cli: Improve error handling of toolchain overrides (#2700) 2023-11-13 23:58:21 +01:00
John Anthos 870ee9a876
cli: Add ability to force init and new commands via cli (#2698)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-11-11 12:21:56 +01:00
acheron 9cb8d0355d
cli: Fix using user specific path for `provider.wallet` (#2696) 2023-11-09 21:58:08 +01:00