Commit Graph

267 Commits

Author SHA1 Message Date
godmodegalactus c60dd2f0bd
using solana application fees branch v1.13.5 2023-01-01 18:01:00 +01:00
Christian Kamm a97d04ab06
Cli: Don't regenerate idl in read_all_programs() (#2332) 2022-12-23 13:28:35 +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
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
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
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
skrrb 6814ce646e
cli: run a subset of the test suites (#1864)
* cli: run subset of tests with --run

* changelog

* test

* fix run test path

* test: added missing package.json

* cli: run subset of tests with --run

* changelog

* test

* fix run test path

* test: added missing package.json

Co-authored-by: Armani Ferrante <armaniferrante@gmail.com>
Co-authored-by: henrye <henry@notanemail>
2022-12-06 21:42:10 +00:00
metta0714 04b988299a
cli: fix windows yarn error (#1965)
* fix windows yarn error

* add install_node_modules function
2022-12-06 12:20:19 +00:00
Italo Casas 11af9a6624
Adding support for idl.json (#2114) 2022-12-05 17:41:02 +00:00
skrrb fb714b9343
fix anchor keys list command (#2063)
* fix anchor keys list command

* changelog

Co-authored-by: henrye <henry@notanemail>
2022-12-05 15:50:31 +00:00
Kyle Gilliam 23c9717af1
Add option for jest test scaffolding (#2200)
* Add in option for jest scaffolding

* Add tests for Jest in both JS/TS

* Clone moved value; use new function name

* Remove invalid tests
2022-12-05 15:11:56 +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
Jean Marchand (Exotic Markets) b8cda8a717
cli: Allow custom cluster config (#2271)
* cli: Allow custom cluster config

* Update changelog

* Downgrade the code

* Fix rust fmt

Co-authored-by: Henry-E <henry.elder@adaptcentre.ie>
2022-11-22 16:33:44 +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
Tracy Adams ee026aa8f5
Add geyser_plugin_config test-validator param (#2150) 2022-11-17 14:21:16 +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
eydelrivero b9b2737c18
Improved error message when verify command fails on missing program or IDL (#2225) 2022-10-14 00:42:29 -04:00
Henry-E 862575a649
new clippy lints for rust 1.63 (#2207) 2022-10-06 14:26:22 -04:00
Pierre bd54c2b128
fix: return err on test result err (#2068) 2022-07-19 12:08:21 -04:00
Matthew Callens fc3789520e
fix new clippy warnings for cicd (#2075) 2022-07-19 12:07:20 -04:00
Tom Linton c6b99ff34f
cli: Strip workspace dir prefix from solana args (#2046) 2022-07-08 09:21:56 -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
Drew Nutter 24ab7d3e84
add skip-lint to Anchor.toml (#2026) 2022-07-04 12:12:50 -04:00
Kevin Rodríguez 8a6a9e1c75
ts: fix Module needs an import assertion of type json (#2023) 2022-07-03 10:43:32 -04:00
Italo Casas a1bb494631
docs meta tags and registry url (#2010) 2022-06-28 18:01:14 -04:00
Sohrab 55e0c5d9dd
fix: align links to coral-xyz/anchor github repo (#1988) 2022-06-19 22:16:16 -04:00
Tom Linton c14668d6ef
cli: Improve Anchor workspace name validation (#1949) 2022-06-06 20:21:10 -04:00
sushi-shi 58db41bb35
cli: Allow passing arguments to a script (#1914) 2022-05-29 23:24:45 +02:00
Italo Casas a298bcd650
cli: add --skip-build flag to publish command (#1841) 2022-05-03 09:48:51 -04:00
Blas Rodriguez Irizar cb4549fdf3
cli: add short alias for build and test commands (#1823) 2022-04-22 17:04:05 -04:00
ebrightfield ed15922f1a
Add docs field to idl (#1561) 2022-04-21 16:37:41 -04:00
Paul 269200b3b8
cli: improve cli metadata missing error (#1819) 2022-04-20 19:07:14 -04:00
Paul fe255bba2b
cli: add custom release profile to improve CU efficiency (#1807) 2022-04-20 17:49:12 -04:00
Tom Linton b885c7b68c
tests: Add CLI IDL command tests (#1808) 2022-04-20 17:38:45 -04:00
Paul 700ed262c9
cli: add option to specify program keypair when using 'anchor deploy' (#1786) 2022-04-20 16:37:14 -04:00
Paul 509ef94f79
cli: move overflow-checks into workspace Cargo.toml so that it will not be ignored by compiler (#1806) 2022-04-20 16:36:10 -04:00
Armani Ferrante aa2b766434
cli: publish metadata (#1817) 2022-04-20 11:56:34 -04:00
Armani Ferrante 45d3d3fe31
cli: add to publish script (#1815) 2022-04-20 11:38:57 -04:00
Armani Ferrante 0b4c7b0c73
v0.24.2 (#1788) 2022-04-13 19:44:18 -04:00
Armani Ferrante d491f0ba1d
v0.24.1 (#1779) 2022-04-12 18:50:33 -04:00
Paul 53ead6077c
cli: fix failing 'anchor build' if 'Test.toml' included a relative pa… (#1772) 2022-04-12 15:27:03 -04:00
Paul fb149f96a1
update yarn lockfile, fix cli template, and fix ci (#1770) 2022-04-12 15:02:06 -04:00
Armani Ferrante b0f263214d
v0.24.0 (#1769) 2022-04-12 10:52:06 -04:00
cavemanloverboy f0c09f2f3e
cli: integer arithmetic safe by default w/o checked (#1758) 2022-04-10 22:45:47 -04:00
Paul 248ef79006
cli: improve filepath canonicalization error (#1745) 2022-04-07 11:57:29 -04:00
Paul ce884066e0
cli: add prettier to new project js/ts template (#1741) 2022-04-07 09:14:38 -04:00
Kevin Aud e056cca519
Minor clean up in IDL accounts (#1144) 2022-04-04 18:37:24 -04:00