Pierre
b7bada148c
fix: remove skip preflight from cli ( #2492 )
...
---------
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-05-16 15:46:40 +02:00
Ryan De La O
89e94d1d6a
cli: Fix incorrect metadata.address generation ( #2485 )
...
Currently when running 'anchor deploy --program-name <name> --program-keypair <specified keypair>' the cli still uses the auto-generated keypair when fetching the program id to add to the IDL metadata at the end. It should instead use the address from the specified keypair.
---------
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-05-13 11:17:47 +02:00
CanardMandarin
714d524863
lang: Add error message when Mint and TokenAccount with `init` are not ordered correctly ( #2484 )
2023-05-09 16:17:11 +02:00
James
9a93a2eccc
ts: Improve IDL typing ( #2482 )
...
* Use XOR pattern for enum variants to prevent two variants being used at the same time.
* Fix unknown for types like Option<[u8; 32]>
2023-05-08 11:17:51 +02:00
CanardMandarin
d1ddf00293
lang: Fix incorrectly checking the first init constraint ( #2483 )
2023-05-07 11:03:37 +02:00
Matthew Callens
ac86e15756
spl: remove mpl `create_metadata_account_v2` wrapper that were removed from program ( #2480 )
...
* remove mpl ix wrappers that were removed from program
* update changelog
2023-05-03 18:53:46 -04:00
acheron
c1667120e6
bench: Add a script to sync benchmark results for all versions ( #2477 )
2023-05-03 09:09:41 +02:00
acheron
a195106117
spl: Use fixed version for `winnow` crate to fix new builds ( #2478 )
2023-05-01 13:39:50 +02:00
acheron
03b1e4df6b
Upgrade `clap` to 4.2.4 ( #2474 )
2023-04-27 12:10:23 +02:00
Proph3t
876ef41610
docs: fix broken links in `AccountLoader` docs ( #2473 )
2023-04-27 10:53:04 +02:00
Tuan Pham Minh
c14ae6b4f8
Fix typo of `is_signer` field in intro-to-solana docs page ( #2469 )
2023-04-25 19:07:39 +02:00
acheron
5910dd3e2f
Add benchmarking for compute units usage ( #2466 )
2023-04-24 10:33:11 +02:00
CanardMandarin
2e89b79c51
fix: used identifiers in handler ( #2464 )
2023-04-22 21:26:22 +02:00
Elliot Kennedy
670b4f5005
Add `token_program` constraint to token, mint, and associated token accounts ( #2460 )
2023-04-19 10:43:24 +02:00
Vladimir Guguiev
b11d63861c
docker: Update the version of NODE_VERSION to the current LTS ( #2462 )
2023-04-17 23:33:22 +02:00
xiyao
8cf87d8364
fix: add `.yarn` to the default gitignore of anchor-cli ( #2461 )
2023-04-11 11:04:32 +02:00
Sean Young
9e7c33eec1
Add support for Solidity using the Solang compiler ( #2421 )
...
anchor init and anchor new have a new option `-s` (or `--solidity`) which
creates an example using Solidity in the soldity directory of the
anchor workspace.
anchor deploy/build/test work accordingly.
solang is required to be in the path, this can be downloaded from the
release at https://github.com/hyperledger/solang
anchor build/deploy finds all the solidity contracts by using the
solidity parser to find all contract declarations.
2023-04-04 17:58:03 +02:00
Nick Garfield
fbd0688903
Replace unsafe arithmetic with checked_add ( #2448 )
2023-03-30 11:44:12 -04:00
Pierre
9a075087d0
feat: Add account-dir test-validator argument support ( #2436 )
2023-03-24 13:13:18 -05:00
Andreas
00c2fc3601
spl: implement try_deserialize for Metaplex accounts to ensure initialization ( #2439 )
2023-03-24 13:12:15 -05:00
Marquelle N
f307729bdc
Narrow AccountClient to it's appropriate type ( #2440 )
2023-03-24 13:09:34 -05:00
Britt Cyr
7ee4a7a047
Fix unsafe add ( #2444 )
2023-03-24 12:03:33 -05:00
Matthew Callens
5e13431aca
spl: update mpl metadata crate and add more wrappers ( #2430 )
...
* update mpl metadata crate and add more wrappers
* update changelog
2023-03-09 14:36:31 -05:00
Henry-E
16da5e9ce7
Update CHANGELOG.md ( #2429 )
2023-03-09 14:43:42 +00:00
Henry-E
3b45144787
v0.27.0 ( #2428 )
2023-03-08 13:28:23 +00:00
Henry-E
30083bd83c
Simple versioned transaction support ( #2427 )
2023-03-07 15:08:29 +00:00
Henry-E
1dc16d6642
Revert "Simple Versioned Transaction Support ( #2407 )" ( #2426 )
...
This reverts commit 064dde4b1a
.
2023-03-06 12:22:58 +00:00
Henry-E
064dde4b1a
Simple Versioned Transaction Support ( #2407 )
2023-03-06 12:07:24 +00:00
Henry-E
5623c7c8ed
update discord links ( #2424 )
2023-03-06 11:19:08 +00:00
Jon Cinque
06c42327d4
cli: Add arch option to use `build-sbf` or `build-bpf` ( #2398 )
2023-03-03 16:21:36 +00:00
Henry-E
45fa9bd3ba
Update Solana-program and rust-version ( #2420 )
2023-03-02 17:23:16 +00:00
dependabot[bot]
a48562754b
Bump minimatch from 3.0.4 to 3.1.2 in /docs/programs/tic-tac-toe ( #2418 )
2023-03-02 11:35:18 +00:00
dependabot[bot]
d31b160dbe
Bump minimatch from 3.0.4 to 3.1.2 in /examples/tutorial ( #2417 )
2023-03-02 11:35:06 +00:00
dependabot[bot]
a7343c3eca
Bump tokio from 1.22.0 to 1.25.0 in /avm ( #2416 )
2023-03-02 11:34:51 +00:00
dependabot[bot]
ef5f4c2538
Bump tokio from 1.21.2 to 1.24.2 ( #2415 )
2023-03-02 11:34:41 +00:00
dependabot[bot]
53559eb847
Bump json5 from 1.0.1 to 1.0.2 in /docs ( #2414 )
2023-03-02 11:34:27 +00:00
dependabot[bot]
fdecc1bd5c
Bump bumpalo from 3.9.1 to 3.12.0 in /docs/programs/tic-tac-toe ( #2413 )
2023-03-02 11:34:14 +00:00
Henry-E
90383a7a22
fix redos vulnerability ( #2412 )
2023-03-01 16:01:41 +00:00
dependabot[bot]
2c94467e67
Bump json5 from 1.0.1 to 1.0.2 in /tests ( #2411 )
2023-03-01 16:01:19 +00:00
dependabot[bot]
975e38960b
Bump json5 from 2.2.1 to 2.2.3 in /ts ( #2410 )
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 16:01:12 +00:00
dependabot[bot]
fd1859bf8c
Bump json5 from 1.0.1 to 1.0.2 in /docs/programs/tic-tac-toe ( #2409 )
2023-03-01 16:00:56 +00:00
Kyle Espinola
6f4f32a9c5
feat: add master edition account deserialization to spl metadata ( #2393 )
2023-02-27 17:29:13 +00:00
Tristyn Stimpson
e1fd686ef2
Idempotent typo ( #2406 )
2023-02-27 17:27:53 +00:00
Jon Cinque
777f2eace1
interface: Support multiple programs with the same interface via token-2022 ( #2386 )
2023-02-27 10:55:08 +00:00
Matthew Callens
9044b9b8cd
spl: add spl token approve checked wrapper ( #2401 )
...
* add spl token approve checked wrapper
* update changelog
2023-02-21 02:49:07 -05:00
Marquelle Nesbitt
37cc99c2b6
Make the return type of `AccountClient.fetchMultiple` consistent ( #2390 )
2023-02-07 20:28:43 +00:00
Henry-E
cfdaac11e6
changes from previous PR ( #2391 )
...
Co-authored-by: henrye <henry@notanemail>
2023-02-07 10:49:24 +00:00
nojob1
5099044bf4
add --skip-build option for verify command ( #2387 )
2023-02-07 10:49:07 +00:00
Jean Marchand (Exotic Markets)
eef9888c82
lang: remove ConstraintLiteral ( #2379 )
2023-02-06 17:41:38 +00:00
Jean Marchand (Exotic Markets)
c76641f861
lang: remove deprecated accounts ( #2375 )
2023-02-06 16:46:09 +00:00