Commit Graph

358 Commits

Author SHA1 Message Date
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
acheron 8f3bb8a556
cli: Make `cargo build-sbf` the default build command (#2694) 2023-11-07 00:53:26 +01:00
acheron 150fc3e832
Fix workspace `resolver` warning (#2676) 2023-10-30 22:39:07 +01:00
Michal Nazarewicz 7e5bdce710
Update base64 dependency (#2686) 2023-10-28 23:00:00 +02:00
Sean Young 749c45a2d9
Fixes for Solidity/Solang (#2677) 2023-10-24 15:59:34 +02:00
acheron e0d0df4ab5
Fix 1.73.0 clippy warnings (#2674) 2023-10-20 15:48:01 +02:00
acheron fc9fd6d24b
v0.29.0 (#2672) 2023-10-16 18:35:17 +02:00
acheron 4f996d0a58
cli: Add ability to override toolchain from `Anchor.toml` (#2649) 2023-10-14 21:40:26 +02:00
acheron 8717364f81
Remove the maximum version constraint from Solana crates (#2667) 2023-10-13 23:58:51 +02:00
acheron 5e7fb44518
Upgrade Solana to `1.17.0` (#2645) 2023-10-07 23:53:37 +02:00
Nick Guo 5602244e1a
cli: Support upgradeable program in anchor test (#2642)
Resolves #2641
2023-10-03 22:46:40 +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 a1e4453a0b
cli: Make conflicting account names a compile-time error (#2621) 2023-09-05 17:30:53 +02:00