Commit Graph

404 Commits

Author SHA1 Message Date
acheron a2937a9326
cli: Remove stripping workspace prefix from program id of the `upgrade` command (#3345) 2024-11-03 23:59:28 +01:00
acheron 4cdb0ebe8f
cli: Fix the default JS update command being incorrect (#3337) 2024-10-29 16:35:28 +01:00
Arihant Bansal d34c04a98a
cli: Add optional `package-manager` flag in `init` command to set package manager field in Anchor.toml (#3328)
Co-authored-by: acheron <98934430+acheroncrypto@users.noreply.github.com>
2024-10-28 00:36:15 +01:00
acheron 9df0684f1b
cli: Add support for fetching legacy IDLs (#3324) 2024-10-22 01:16:43 +02:00
acheron b6724d2bcb
cli: Fix priority fee calculation causing panic on localnet (#3318) 2024-10-18 16:11:58 +02:00
acheron d3a51c59a8
cli: Fix `No such file or directory (os error 2)` error when using `idl build` (#3312) 2024-10-14 23:59:26 +02:00
acheron a043abd4d3
cli: Add `--program-id` option to `idl convert` command (#3309) 2024-10-11 23:59:05 +02:00
acheron 5df7fbda90
cli: Use OS-agnostic paths (#3307) 2024-10-10 23:57:56 +02:00
acheron 6eb4cc7539
cli: Inform users to rebuild their programs after running `keys sync` (#3299) 2024-10-09 00:04:35 +02:00
acheron cf81636805
cli: Add short alias for `idl build` command (#3283) 2024-09-27 01:43:00 +02:00
acheron ef542f5679
cli: Build IDL if there is only one program when using the `idl build` command (#3275) 2024-09-26 01:18:37 +02:00
acheron 37e0cd2b64
cli: Check whether the `idl-build` feature exists when using the `idl build` command (#3273) 2024-09-25 00:54:17 +02:00
acheron 385c36cd7f
cli: Install Solana from anza.xyz domain in Docker verifiable builds (#3271) 2024-09-24 00:58:56 +02:00
acheron dbb0e88cb2
docs: Add `keys` command to the CLI documentation (#3266) 2024-09-22 23:59:38 +02:00
acheron dac2271d3a
cli: Always convert IDLs (#3265) 2024-09-21 23:57:47 +02:00
acheron 967127146c
cli: Remove `panic!`s (#3263) 2024-09-20 23:59:48 +02:00
acheron 020a304658
Upgrade Solana to v2 and SPL to the latest (#3219) 2024-09-17 19:02:09 +02:00
zilayo 4866680cb5
avm, cli: Add completions command to generate shell completions (#3251) 2024-09-16 14:55:25 +02:00
acheron e6a7d698dd
cli: Warn if a manifest has `solana-program` dependency (#3250) 2024-09-14 17:35:08 +02:00
Yash Goyal 8a634c757b
cli: Use ESM imports and annote provider type in the default migration script (#3234)
Co-authored-by: acheron <98934430+acheroncrypto@users.noreply.github.com>
2024-09-10 23:56:30 +02:00
acheron 6145a8737f
Fix clippy 1.81.0 lints (#3237) 2024-09-10 23:33:07 +02:00
acheron e48e7e60a6
cli: Accept integers for `warp_slot` (#3235) 2024-09-09 23:59:01 +02:00
David Leng 8e9f1e7a2b
cli: Fix template code shouldn't escape (#3210) 2024-08-30 23:40:53 +02:00
acheron d732e756e1
cli: Make `clean` command also remove the `.anchor` directory (#3192) 2024-08-23 23:59:26 +02:00
acheron 84fdf31d58
idl: Add `IdlBuilder` (#3188) 2024-08-22 23:56:33 +02:00
acheron 6d37cce8f3
cli: Migrate to `agave-install` when `solana_version` is `>= 1.18.19` (#3185) 2024-08-21 23:58:40 +02:00
acheron 2a7d943936
cli: Add `--no-idl` option to the `test` command (#3175) 2024-08-16 23:52:54 +02:00
acheron 9a528003ea
cli: Support non-8-byte discriminators (#3165) 2024-08-11 23:37:20 +02:00
acheron 98396c0aef
Fix clippy 1.80.0 lints (#3145) 2024-08-02 23:31:40 +02:00
acheron 895f01865a
cli: Warn if `anchor-spl/idl-build` is missing (#3133) 2024-07-29 22:55:06 +02:00
acheron bdee6fb544
cli: Skip IDL checks if `--no-idl` option is passed (#3093) 2024-07-19 22:12:58 +02:00
acheron f7916d4159
cli: Add checks for incorrect usage of `idl-build` feature (#3061) 2024-06-28 19:01:28 +02:00
Maxim ca7fcee6b8
cli, idl: Pass `cargo` args to IDL generation (#3059) 2024-06-28 12:44:08 +02:00
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