cryptopapi997
f8d0f5208a
client: Add option to pass in mock rpc client ( #3053 )
2024-07-19 22:36:29 +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
chalda
21d56094ea
client: Update `run-test.sh` script to build and check validator state ( #3008 )
2024-06-07 23:51:27 +02:00
acheron
efe2e40c12
Remove `rust-version` from crate manifests ( #3000 )
2024-05-31 23:32:40 +02:00
acheron
4540c8253a
Bump minimum Solana crate versions to `1.17.3` ( #2975 )
2024-05-19 16:44:10 +02:00
acheron
c66b323293
Upgrade Solana to 1.18.8 ( #2867 )
2024-03-28 05:52:24 +01:00
acheron
ef836852dd
Specify `solana-program` version range to not include 1.18.0 ( #2798 )
2024-01-29 23:18:57 +01:00
acheron
8717364f81
Remove the maximum version constraint from Solana crates ( #2667 )
2023-10-13 23:58:51 +02:00
acheron
5e7fb44518
Upgrade Solana to `1.17.0` ( #2645 )
2023-10-07 23:53:37 +02:00
acheron
abfdc4e88f
chore: Remove duplicate dependency and and alphabetize features ( #2590 )
2023-08-05 23:47:06 +02:00
acheron
e1afcbf71e
v0.28.0 ( #2527 )
2023-06-09 18:00:35 +02:00
acheron
c7c73194d8
Allow wider range of dependency versions to reduce dependency issues ( #2524 )
2023-06-08 18:59:44 +02:00
Jean Marchand (Exotic Markets)
65c9d6e9b9
client: Add async to anchor-client ( #2488 )
...
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-06-06 09:43:46 +02:00
acheron
1c6f86e5f7
Upgrade Solana to 1.16.0 ( #2512 )
2023-06-04 13:09:39 +02:00
acheron
03b1e4df6b
Upgrade `clap` to 4.2.4 ( #2474 )
2023-04-27 12:10:23 +02:00
Henry-E
45fa9bd3ba
Update Solana-program and rust-version ( #2420 )
2023-03-02 17:23:16 +00:00
cavemanloverboy
020b6448e0
Multithreaded Client ( #2321 )
2023-02-06 12:13:54 +00:00
Jean Marchand (Exotic Markets)
38bbb21c33
lang: remove the state and interface attributes ( #2285 )
2022-12-22 16:33:44 +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 c864cd5d4f
.
* 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
Henry-E
66e4295fe0
drop rust version to allow earlier CLIs to compile ( #2289 )
...
* drop back rust version to allow earlier cli to compile
* update solana program to 1.13.5 latest mainnet version
Co-authored-by: henrye <henry@notanemail>
2022-11-29 11:36:48 +00:00
Henry-E
5291a7b6ff
Update rust to v1.62 ( #2272 )
...
* update rust from v1.56 to v1.65
* remove unnecessary borrows to appease clippy
* stop clippy complaining for now
* use 1.64 instead because of CI stuff
* update CHANGLEOG
* just seeing if the cli version is affecting the available rust version
* ok, back to 1.62
Co-authored-by: henrye <henry@notanemail>
2022-11-22 16:13:45 +00:00
Jean Marchand (Exotic Markets)
89b047b21e
chore: Bump non-solana dependencies ( #2270 )
...
* chore: Bump non-solana dependencies
* Fix project generation and client example
* Fix snake case project name
* Update lock file
2022-11-22 10:42:43 +00:00
Henry-E
7a0a37e0f8
Update solana to version 1.13.3 ( #2239 )
...
* upgrade solana version to 1.13.3
* get everything to compile correctly
* update to using struct constructor to avoid deprecated field usage
* update deprecated functions
* more fixes to pass tests
* update auction-house submodule commit
* update the swap submodule
Co-authored-by: henrye <henry@notanemail>
2022-10-29 15:23:13 +01:00
Armani Ferrante
9b61bbc626
bump solana-program version ( #2027 )
2022-07-04 23:58:31 -04:00
Sohrab
55e0c5d9dd
fix: align links to coral-xyz/anchor github repo ( #1988 )
2022-06-19 22:16:16 -04:00
Paul
016a1d3da5
update forgotten solana versions ( #1751 )
2022-04-10 14:26:03 -04:00
SchwarzBier
97a8dfe71d
Bump up rust to 2021 edition ( #1430 )
2022-03-12 17:39:21 -05:00
Drew Nutter
34c4e50917
client: use any Signer instead of only Keypair ( #975 )
2021-12-20 14:41:21 -05:00
Paul
423ddde30a
lang: Always execute constraints for init_if_needed ( #1096 )
2021-12-08 16:50:08 -05:00
Paul
064d8bb286
client: Ignore logs that are not base64 encoded ( #1075 )
2021-11-28 20:38:51 -08:00
Paul
e8934a113c
ci: Improvements ( #1074 )
2021-11-28 11:10:39 -08:00
Paul
a4002dfb95
ci: Switch to github actions, parallelise tests ( #1066 )
2021-11-27 08:57:43 -08:00
Armani Ferrante
c7d165fc12
client: Fix clap dep ( #893 )
2021-10-17 20:06:48 -07:00
Armani Ferrante
3958533750
Static owner and program ID checks ( #686 )
2021-09-07 13:06:15 -07:00
Armani Ferrante
5d8b4765f2
Add /tests dir ( #676 )
2021-09-04 05:33:39 -07:00
Armani Ferrante
f8276be2b8
client: Fix example ( #671 )
2021-09-03 11:01:35 -07:00
Kirill Fomichev
ceb80b0a04
lang: Dynamically fetch rent sysvar for when using `init` ( #588 )
2021-08-08 13:20:26 -07:00
Armani Ferrante
d796cee091
client, lang: Add client support for state instructions ( #248 )
2021-05-06 14:48:22 -07:00
Armani Ferrante
3cbc227491
Events ( #89 )
2021-03-24 20:19:29 -07:00
armaniferrante
292423b691
client/example: Build before deploying in test
2021-03-09 07:07:22 -08:00
Armani Ferrante
0354bab56f
client/example: Fix build
2021-02-26 18:43:14 +08:00
Armani Ferrante
212490f408
travis, client/example: Run rust client test in CI ( #85 )
2021-02-15 18:16:59 +08:00
Armani Ferrante
48b27e6943
Migrate to sighash based method dispatch ( #64 )
2021-02-06 16:28:33 +08:00
Armani Ferrante
9825710c8f
Explicit CLI commands
2021-01-31 00:59:26 -08:00
Armani Ferrante
e42668279a
Rust client generation
2021-01-30 01:26:28 -08:00