Commit Graph

1437 Commits

Author SHA1 Message Date
acheron 117717468f
lang: Add `Account` utility type to get accounts from bytes (#3091) 2024-07-18 12:26:37 +02:00
acheron 0dd6b4e57d
lang: Add a sanity check for unimplemented token extensions (#3090) 2024-07-17 22:44:21 +02:00
acheron 79d1cec79e
lang: Fix using `owner` constraint with `Box`ed accounts (#3087) 2024-07-15 22:50:51 +02:00
cryptopapi997 a2bd50bb29
lang: Make `InitSpace` support unnamed and unit structs (#3084) 2024-07-14 23:18:01 +02:00
acheron ca4822f5e9
lang: Remove `EventData` trait (#3083) 2024-07-13 22:22:07 +02:00
cryptopapi997 f677742a97
client: Add `tokio` support to `RequestBuilder` with `async` feature (#3057)
Co-authored-by: acheron <98934430+acheroncrypto@users.noreply.github.com>
2024-07-12 07:32:55 +02:00
acheron fd6174a88d
syn: Remove `bpf` target support in `hash` feature (#3078) 2024-07-11 12:22:44 +02:00
acheron 0a1d458c7b
lang: Export `Discriminator` trait from `prelude` (#3075) 2024-07-08 22:47:43 +02:00
acheron 59ee310cfa
lang: Remove `getrandom` dependency (#3072) 2024-07-05 20:59:40 +02:00
Andrei Silviu Dragnea 5727865b65
lang: Make stack frames slimmer on ATA creation (#3065) 2024-07-03 22:54:29 +02:00
acheron aa26a516b3
Fix false positives when using `version-bump.sh` script (#3068) 2024-07-03 21:59:48 +02:00
Burbo e68b96f454
lang: Fix `align` repr support in `declare-program!` (#3056)
Co-authored-by: acheron <98934430+acheroncrypto@users.noreply.github.com>
2024-07-01 21:01:19 +02:00
acheron a8d2598cc9
tests: Move constant seed derivation test to `pda-derivation` (#3064) 2024-07-01 20:56:26 +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
man0s 5f1f72c511
idl: Avoid interference from rust tests during IDL generation (#3058) 2024-06-27 12:03:40 +02:00
acheron 594169efd0
idl: Make safety comment checks fail silently when program path env is not set (#3045) 2024-06-26 23:31:17 +02:00
Tomáš Livora 18cc94be94
ts: Add `commitment` param to `addEventListener` (#3052) 2024-06-26 23:00:17 +02:00
acheron 70d4f488c1
docs: Reverse the order of release notes (#3048) 2024-06-25 23:36:22 +02:00
acheron e6d7dafe12
v0.30.1 (#3040) 2024-06-20 17:20:02 +02:00
acheron cf7abd4fd4
Upgrade Solana to 1.18.17 (#3039) 2024-06-20 15:52:49 +02:00
acheron cc43e67399
idl: Add separate spec crate (#3036) 2024-06-19 23:06:25 +02:00
Burbo 9c17d65a76
lang: Fix using `bytemuckunsafe` account serialization with `declare_program!` (#3037) 2024-06-19 22:57:10 +02:00
acheron f326b89c48
idl: Fix using `address` constraint with field expressions (#3034) 2024-06-18 22:54:40 +02:00
cryptopapi997 3c5483f0d0
lang: Add const of program ID to `declare_id!` and `declare_program!` (#3019) 2024-06-18 22:48:58 +02:00
acheron 64c52c66e3
idl: Fix generation with unsupported expressions (#3033) 2024-06-17 23:21:24 +02:00
acheron d4318cc7cf
idl: Remove `anchor-syn` dependency (#3030) 2024-06-16 23:54:40 +02:00
acheron 1c2aabe315
lang: Include `pubkey!` macro in `prelude` (#3026) 2024-06-15 12:57:13 +02:00
Michal Nazarewicz 81c2519a9b
lang: Add `pubkey` macro for declaring `Pubkey` const values (#3021) 2024-06-15 00:01:37 +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
cryptopapi997 29a6558d08
ts: Fix using IDLs that have defined types as generic arguments (#3016) 2024-06-10 23:40:05 +02:00
acheron d6e43b6312
cli: Fix upgradeable program clones (#3010) 2024-06-07 23:58:29 +02:00
chalda 21d56094ea
client: Update `run-test.sh` script to build and check validator state (#3008) 2024-06-07 23:51:27 +02:00
acheron b7511837b6
cli: Add `idl convert` command (#3009) 2024-06-05 23:59:12 +02:00
acheron e77a453ac3
lang: Support legacy IDLs with `declare_program!` (#2997) 2024-06-03 12:10:49 +02:00
tom 727aa4a601
examples: Fix typos (#3003) 2024-06-03 11:44:51 +02:00
Vladyslav Korniienko 801b32a88c
cli: Add additional solana arguments to the `upgrade` command (#2998) 2024-06-03 10:29:54 +02:00
cryptopapi997 81803556e4
spl: Export `spl-associated-token-account` crate (#2999) 2024-06-02 21:52:42 +02:00
acheron efe2e40c12
Remove `rust-version` from crate manifests (#3000) 2024-05-31 23:32:40 +02:00
cryptopapi997 56017029b4
lang: Make tuple struct fields public in `declare_program!` (#2994) 2024-05-30 23:07:29 +02:00
Loris Leiva cd826271c2
ts: Extract Anchor error codes into their own package (#2983) 2024-05-29 22:24:32 +02:00
acheron 700cedd519
idl: Fix `unexpected_cfgs` build warning (#2992) 2024-05-28 22:48:50 +02:00
Andrei Hrs bcf3862ef7
cli: Fix IDL write getting corrupted from retries (#2964) 2024-05-27 22:46:12 +02:00
acheron c614f108bb
idl: Add ability to convert legacy IDLs (#2986) 2024-05-25 10:40:27 +02:00
acheron 334a44ab7b
lang: Fix instruction return type generation with `declare_program!` (#2977) 2024-05-21 22:04:19 +02:00
cryptopapi997 b76d1bf04b
lang: Fix using optional accounts with `declare_program!` (#2967) 2024-05-20 22:09:08 +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
CanardMandarin b7dff46267
lang: Implement `TryFromIntError` for `Error` (#2950) 2024-05-15 21:22:22 +02:00