Commit Graph

167 Commits

Author SHA1 Message Date
acheron c66b323293
Upgrade Solana to 1.18.8 (#2867) 2024-03-28 05:52:24 +01:00
acheron 0f6090950a
lang: Add `declare_program!` macro (#2857) 2024-03-25 23:14:02 +01:00
acheron b83d5fd64b
Upgrade `cargo_toml` to 0.19.2 (#2859) 2024-03-20 02:36:39 +01:00
acheron d9a9f19394
Fix IDL (#2824)
* Rewrite IDL type spec

* Rewrite IDL generation

* Partially rewrite the TS package with the new IDL, improved account resolution and types
2024-03-10 14:22:23 +01:00
acheron fde00661c1
spl: Pin version of `toml_edit` crate to 0.21.0 (#2807) 2024-02-04 12:46:25 +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
Michal Nazarewicz 7e5bdce710
Update base64 dependency (#2686) 2023-10-28 23:00:00 +02:00
Sean Young 749c45a2d9
Fixes for Solidity/Solang (#2677) 2023-10-24 15:59:34 +02:00
acheron fc9fd6d24b
v0.29.0 (#2672) 2023-10-16 18:35:17 +02:00
Pierre 5900c93310
avm: Allow install, list and use from commit (#2659) 2023-10-14 17:41:46 +02:00
0xWoo 23eeb1ec2d
spl: add feature memo to support cpi to spl-memo (#2661) 2023-10-13 01:23:35 +02:00
acheron 6cf200493a
spl: Update dependencies to their latest versions (#2657) 2023-10-12 11:13:30 +02:00
acheron 5e7fb44518
Upgrade Solana to `1.17.0` (#2645) 2023-10-07 23:53:37 +02:00
Fernando Otero b0e725b5ac
spl: Update `mpl-token-metadata` to `3.1.0` and fix `create_metadata_accounts_v3` (#2651) 2023-10-07 11:01:19 +02:00
Sean Young 3e8bc76d72
Update to solang v0.3.2 and add simple test (#2636) 2023-09-26 22:55:41 +02:00
Fernando Otero 99b75a905b
spl: Update to token metadata client sdk (#2632) 2023-09-25 16:19:23 +02:00
Jean Marchand (Exotic Markets) c548c85dff
chore: Remove unused crates (#2577) 2023-07-22 12:43:56 +02:00
acheron 4e5280be46
cli: Fix workspace inheritence (#2570) 2023-07-14 23:17:23 +02:00
Lucas Steuernagel cfc6d2916b
cli: Bump `solang-parser` version (#2569) 2023-07-14 21:29:16 +02:00
Krešimir Klas 6ef6b79a6c
IDL generation through compilation (#2011)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-07-08 19:59:30 +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 70d922301e
cli: Add `anchor keys sync` command (#2505) 2023-05-28 22:34:53 +02:00
acheron f9d0eca704
spl: Update `spl-token-2022` to 0.6.1 (#2496) 2023-05-19 13:18:14 +02:00
acheron 4793b90db1
Fix `toml_datetime` 1.64.0 MSRV error (#2495) 2023-05-19 10:58:16 +02:00
chalda 41a4d820d3
cli: Add print base64 instruction option for some of the IDL commands (#2486)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-05-18 19:12:25 +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 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
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
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 3b45144787
v0.27.0 (#2428) 2023-03-08 13:28:23 +00:00
Henry-E 45fa9bd3ba
Update Solana-program and rust-version (#2420) 2023-03-02 17:23:16 +00:00
dependabot[bot] ef5f4c2538
Bump tokio from 1.21.2 to 1.24.2 (#2415) 2023-03-02 11:34:41 +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
Henry-E cfdaac11e6
changes from previous PR (#2391)
Co-authored-by: henrye <henry@notanemail>
2023-02-07 10:49:24 +00:00
Jean Marchand (Exotic Markets) eef9888c82
lang: remove ConstraintLiteral (#2379) 2023-02-06 17:41:38 +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) 38bbb21c33
lang: remove the state and interface attributes (#2285) 2022-12-22 16:33:44 +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
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
Henry-E afbbbb0330
Trying to stop `zero-copy` test failing (#2274)
* trying out different solutions to zero copy issue (none work yet)

* using a newer version of the CLI should fix the issue

* re update solana client version

* add cargo.lock for some reason

* comment out broken test, get help later

* clippy doesn't like the new option

Co-authored-by: henrye <henry@notanemail>
2022-11-22 15:40:07 +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
Han Yang 3970847e75
stake (#2195) 2022-09-24 14:11:12 -04:00
Matthew Callens 000e74ed48
spl: add create metadata v3 and set collection size ix (#2119)
* add create metadata v3 and set collection size ix

* update changelog
2022-08-12 12:11:43 -04:00
Armani Ferrante 6baed77eb5
v0.25.0 (#2031) 2022-07-05 16:32:55 -04:00
Armani Ferrante 9b61bbc626
bump solana-program version (#2027) 2022-07-04 23:58:31 -04:00