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
Ruven Salamon
010b400669
cli: fixes bug where the wrong exit status is reported ( #2370 )
2023-02-06 12:29:06 +00:00
cavemanloverboy
cd63049c40
add async_rpc method ( #2322 )
2023-02-06 12:19:43 +00:00
cavemanloverboy
020b6448e0
Multithreaded Client ( #2321 )
2023-02-06 12:13:54 +00:00
nojob1
872d084e00
--fix clippy ( #2388 )
2023-02-06 11:16:23 +00:00
nojob1
cb680809f0
make idl enum fields which are snake case have proper typing to camel case ( #2378 )
2023-02-01 11:56:12 +00:00
Henry-E
21c3b3c7b5
fix misaligned bytes in test ( #2373 )
2023-01-26 17:40:49 +00:00
Christian Kamm
ed2769ef28
Make zero copy safe by default, add `account(zero_copy(unsafe))` feature. ( #2330 )
2023-01-26 14:46:57 +00:00
Henry-E
2a05075760
Update IDL program ( #2365 )
2023-01-26 11:32:30 +00:00
Jean Marchand (Exotic Markets)
a0ef4ed7a4
lang: add the InitSpace macro ( #2346 )
2023-01-26 11:22:48 +00:00
Jean Marchand (Exotic Markets)
5f9b5905dc
ts: remove duplicate functions ( #2357 )
2023-01-24 10:39:31 +00:00
Andrey Frolov
79a066661c
inroduce idl account getter ( #2367 )
2023-01-23 12:25:28 +00:00
Zhuojie Zhou | rex
b4459f2a0c
Relax the mpl metadata package constraint ( #2366 )
2023-01-22 08:48:57 -06:00
Elias Renman
ba16746d5d
docs: updated release-notes ( #2364 )
2023-01-20 11:13:08 +00:00
omahs
a2572690e5
Fix: typos ( #2361 )
2023-01-20 10:18:48 +00:00
Henry-E
74009921a1
Fix clippy lints ( #2362 )
2023-01-17 13:17:44 +00:00
Christian Kamm
e3fe24f925
Simulate: Don't attempt to sign transaction ( #2331 )
2023-01-17 09:57:47 +00:00
CurriedOtter
6e776c5e7b
make constraint group fields public ( #2360 )
2023-01-16 20:24:35 -06:00
Christian Kamm
27bb695685
Idl: Limit account size to 60kb, allow closing idl accounts ( #2329 )
2023-01-05 13:25:21 +00:00
Henry-E
11642929ac
Spl token transfer checked ( #2353 )
2023-01-05 10:02:36 +00:00
Henry-E
8f3291a1f5
Revert "Added token::transfer_checked wrapper to token ( #2351 )" ( #2352 )
...
This reverts commit a068171aee
.
2023-01-04 16:39:18 +00:00
Barebox
a068171aee
Added token::transfer_checked wrapper to token ( #2351 )
2023-01-04 16:19:40 +00:00
Sammy Harris
9ba0223c58
box up some accounts in Optional test ( #2344 )
2023-01-03 16:59:01 +00:00
Sammy Harris
d055c89ec3
Chore: Use reusable workflows for GitHub actions ( #2345 )
...
* reusable workflows
* fix name
* fix syntax
* fix syntax again
* update install solana
* rename stuff
* fix naming
* Update test names once more
2023-01-03 16:25:32 +00:00
Christian Kamm
a97d04ab06
Cli: Don't regenerate idl in read_all_programs() ( #2332 )
2022-12-23 13:28:35 +00:00
Henry-E
e910d44b67
update cli version and add retry cli download on error ( #2335 )
2022-12-23 10:53:05 +00:00
Jean Marchand (Exotic Markets)
38bbb21c33
lang: remove the state and interface attributes ( #2285 )
2022-12-22 16:33:44 +00:00
Henry-E
7236c8bb69
Add headings to changelog ( #2333 )
2022-12-21 11:24:33 +00:00
riordanp
8856aee7df
Allow passing env vars to verifiable build container ( #2325 )
2022-12-21 11:22:34 +00:00
Henry-E
4bef8c40ef
Switch to using @coral-xyz/anchor packages ( #2318 )
2022-12-16 13:21:50 +00:00
acheron
ba5b55d7f0
Fix 0.26.0 CHANGELOG PR links ( #2316 )
2022-12-15 18:59:33 +00:00
Henry-E
9f3d66ff8c
post release clean up ( #2317 )
...
Co-authored-by: henrye <henry@notanemail>
2022-12-15 18:44:12 +00:00
Henry-E
347c225a27
v0.26.0 ( #2315 )
...
* v0.26.0
* update packages
* typedocs
Co-authored-by: henrye <henry@notanemail>
2022-12-15 16:12:22 +00:00
Henry-E
b00fe70d1b
add optional accounts to changelog ( #2314 )
...
* add optional accounts to changelog
* Update CHANGELOG.md
2022-12-14 20:15:57 +00:00
Henry-E
f79f9dab74
Use less heap intensive error mapping ( #2313 )
...
* less heap intensive error mapping
* add changelog
* try returning the error
* dumb match statements instead
* missing commas
Co-authored-by: henrye <henry@notanemail>
2022-12-14 17:03:57 +00:00
Jean Marchand (Exotic Markets)
fad05805d8
spl: change serum-dex to openbook-dex ( #2308 )
...
* Change serum-dex by openbook-dex
* Change serum-dex by openbook-dex in tests
* Fix swap
* Fix cfo
* Downgrade openbook
* Disable cfo and update changelog
* Revert lock file
* minor grammar
* update the pubkey to open dex
* Remove @solana/web3.js from ts package.json
Co-authored-by: Henry-E <henry.elder@adaptcentre.ie>
Co-authored-by: henrye <henry@notanemail>
2022-12-12 16:12:33 +00:00
Adithya Narayan
b662ff1460
cli: `anchor account` subcommand to read program account ( #1923 )
...
* Setup account subcommand skeleton
* Move IDL deserialization code to syn module
* Change HashMap to serde_json
* Add enum deserialization
* Add account subcommand to docs
* Fix lint
* Add validation for account type
* Fix solana-sdk dependency version
* Fix clippy warnings
* Move IDL deserialization code to cli module
* Remove debug print
* Add integration tests
* Update documentation with example
* Fix clippy warnings
* Fix leftover merge conflict
* run prettier
Co-authored-by: Henry-E <henry.elder@adaptcentre.ie>
Co-authored-by: henrye <henry@notanemail>
2022-12-12 16:11:26 +00:00
Henry-E
03eff348db
only add public enums to the IDL ( #2310 )
...
Co-authored-by: henrye <henry@notanemail>
2022-12-12 16:10:47 +00:00
Petr Kozorezov
7527033c7b
Add 'ticks-per-slot' option passing to test validator ( #1875 )
...
* add 'ticks-per-slot' option passing to test validator
* add 'ticks-per-slot' option passing to test validator
* add 'ticks-per-slot' option passing to test validator
* cargo fmt and changelog
Co-authored-by: henrye <henry@notanemail>
2022-12-12 16:10:14 +00:00
Sammy Harris
484628070c
Feat: Optional Positional Accounts ( #2101 )
...
* optional accounts initial implementation
* cargo fmt
* panic if Account related traits are run on none
* Allow empty accounts to deserialize to None for optional accounts
* implement constraints for optional accounts
* optional accounts to idl gen
* accountstruct helper method
* implemented to_account_metas and infos
* add test program
* Rename optional to is_optional
* added more traits
* added TryKey error
* fix has_one
* update prelude
* is_optional
* add is_optional helper method
* Add TryAccountInfos trait
* improve constraint parser
* initial work on TryToAccountInfo
* Rename to TryToAccountInfo
* finished implementing tryToAccountInfo
* Using program method
* Formatting
* Fix program function call
* Remove function return borrow
* Fix access to program field
* finished implementing tryToAccountInfo
* add exit try_to_account_infos
* descriptive ID path
* try_to_account_info
* fix close constraint
* update test files
* completed typescript optional accounts implementation
* fix try accounts for init
* update tests
* fix to_account_metas
* update tests
* fix linting
* remove types/node
* update yarn.lock maybe?
* update optional test
* update optional test
* update optional rust cli test
* fix linting and tests
* fix tests
* update try_accounts to pass in accs during constraint gen
* Add default impl for TryToAccountInfos
* Removed TryToAccountInfos trait
* Formatting
* remove unneccesary traits and improve constraint gen drastically
* fix exit generation
* clippy
* improve cross check error message
* improve comments
* more comments
* update constraints hopefully good now?
* add new errors to ts client
* add new errors to ts client
* update optional test
* update anchor ts client
* update misc crate
* linting
* temporarily comment out optional rs tests
* update ts
* remove local test files
* linting
* optional client tests
* fix other lints to make the test pass
* remove comments
* remove misc-optional for now
* update optional program
* update optional program and client tests again
* update optional program and client tests again again
* added initialize tests that should pass
* undo unrelated anchor.toml change
* update close on optional program and improve tests
* update optional program again.
* update optional program and optional tests
* fix has one error message
* fix client example tests
* update lockfile
* update lockfile
* regenerate lockfile
* reset lockfile
* reset ts yarn lockfile
* update no caching tests
* update exit codegen to use generate_optional_check
* remove `try_to_account_infos`
* update parser to ignore method calls in constraints
* refactor and improve optional checks in constraints
* add misc-optional program and tests
* enable cpi for optional tests
* Revert "enable cpi for optional tests"
This reverts commit c864cd5d4f019e6bd5f93641e01bd82fc74041d4.
* simplify misc tests
* update version
* fix rust version and resolve merge conflicts
* prevent Option on composite accounts
* hopefully fixed ts stuff?
* hopefully fixed ts stuff?
* testing
* hopefully done?
* update misc test
* fix optional tests
* fix ts
* fix ts again!
* linting urg
* allow-missing-optionals feature
* fix client tests
* add bnjs types to tests
Co-authored-by: febo <febo@kent.ac.uk>
Co-authored-by: Henry-E <henry.elder@adaptcentre.ie>
2022-12-12 15:32:59 +00:00