Commit Graph

1418 Commits

Author SHA1 Message Date
acheron 359e2718ba
tests: Fix non-path `anchor-lang` dep in tests (#2811) 2024-02-07 23:59:54 +01:00
Anthony 08110e63fa
Fix broken link to Rust's code of conduct (#2810) 2024-02-06 23:41:53 +01:00
acheron fde00661c1
spl: Pin version of `toml_edit` crate to 0.21.0 (#2807) 2024-02-04 12:46:25 +01:00
Aoi Kurokawa 94fde24339
cli: Add support for multiple commands with `anchor test` (#2799) 2024-02-01 14:59:46 +01:00
Mike MacCana 616dd239c3
docs: minor fixes to JS Anchor types (#2796) 2024-01-31 12:06:30 +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 ef3b149348
client: Add crate level examples and features docs (#2779) 2024-01-21 23:32:50 +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
Ford 66d2f073bb
docs: proofread the changelog (#2772) 2024-01-15 20:17:03 +01:00
acheron 60b10809c0
Enable all features for docs.rs build (#2774) 2024-01-14 19:42:58 +01:00
acheron c93b33a27e
cli: Fix `migrate` command not working without global `ts-node` installation (#2767) 2024-01-11 14:13:56 +01:00
0xabhinav 211982affc
ts: Fix formatting enums (#2763)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2024-01-09 13:47:59 +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
Neutron 1a6b5066df
ts: Add IDL seed types (#2752)
Signed-off-by: Shiva953 <b22070@students.iitmandi.ac.in>
Co-authored-by: acheron <acheroncrypto@gmail.com>
2024-01-04 18:42:29 +01:00
acheron 47ff77f4df
cli: Check `anchor-lang` and CLI version compatibility (#2753) 2024-01-03 00:01:12 +01:00
acheron 1fc92ab1e3
lang: Fix `use of unstable library feature 'build_hasher_simple_hash_one'` (#2756) 2023-12-31 18:05:33 +01:00
acheron de9901b5fd
ts: Remove deprecated `associated` methods (#2749) 2023-12-27 18:35:54 +01:00
Jean Marchand (Exotic Markets) 52fbe55d52
spl: Remove shared memory program (#2747) 2023-12-26 22:21:42 +01:00
acheron c4f14b9f6f
lang: Remove `try_to_vec` usage (#2744) 2023-12-23 23:28:46 +01:00
Jean Marchand (Exotic Markets) f6a15254d1
lang: Allow custom lifetime for Accounts structure (#2741) 2023-12-21 22:59:41 +01:00
acheron 51ae380574
ci: Remove manual downgrade of `index_list` to make `solana-program-test` compile (#2739) 2023-12-19 23:59:58 +01:00
Joe C 13fc0bb915
lang: Add `#[interface]` attribute for overriding the default discriminator (#2728) 2023-12-17 23:57:57 +01:00
cavemanloverboy c2b5472d85
lang: Add `InstructionData::write_to` implementation (#2733)
Co-authored-by: acheron <98934430+acheroncrypto@users.noreply.github.com>
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-12-16 23:59:53 +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
Jean Marchand (Exotic Markets) c402972bf1
lang: Make bumps of optional accounts `Option<u8>` rather than `u8` (#2730) 2023-12-14 01:31:08 +01:00
acheron 4c0af6dc53
lang: Remove `CLOSED_ACCOUNT_DISCRIMINATOR` (#2726) 2023-12-12 20:55:21 +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 8bf7f251ad
spl: Fix compilation with `shmem` feature enabled (#2722) 2023-12-08 15:26:22 +01:00
acheron 727e6f84cb
cli: Fix toolchain `solana_version` override log (#2719) 2023-12-06 15:56:31 +01:00
acheron dfee9589fd
ts: Remove `anchor-deprecated-state` feature (#2717) 2023-12-03 11:24:40 +01:00
acheron a423f7855b
cli: Require explicit `overflow-checks` flag (#2716) 2023-11-30 00:55:12 +01:00
acheron 9dd1b54acd
lang: Remove the unnecessary clone in `to_account_info().clone()` (#2713) 2023-11-26 16:58:44 +01:00
Jimii 38907fa9b2
docs: explicitely state where to initialize the new anchor program (#2712) 2023-11-25 14:22:27 +01:00
acheron beb15cdb37
cli: Add support for passing arguments to `solana program deploy` (#2709) 2023-11-22 23:55:51 +01:00
puhtaytow d91781f2ce
client: expose more parts from logs parsing (#2707) 2023-11-22 02:14:52 +01:00
John 227ccb22fd
docs: Add Solana Playground quickstart page, and add examples page for anchor contraints and types (#2703) 2023-11-20 19:47:05 +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
John Anthos a9c423ef24
syn: Fix IDL constant seeds parsing (#2699) 2023-11-15 23:59:34 +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 167c8ecbf5
syn: Fix `Hash::new_from_array` warning in non-bpf targets (#2693) 2023-11-03 15:53:46 +01:00
__ 88f3053645
client: Fix erroneous Cluster websocket ports (#2690) 2023-10-31 23:31:04 +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
acheron 5a655b0f65
ts: Use workspace dependencies and fix tests (#2685) 2023-10-27 00:59:11 +02:00