Commit Graph

221 Commits

Author SHA1 Message Date
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
Paul 9e070870f4
cli: update js/ts templates to use new `.methods` syntax (#1732)
Co-authored-by: Nikhil B N <nikhilbn365@gmail.com>
2022-04-04 14:50:45 -04:00
sweetim 938f89d81b
added bn.js types fixed #1711 (#1712) 2022-04-04 13:24:10 -04:00
Paul 470e902f48
lang: Add support for multiple test suites with separate local validators (#1681) 2022-03-30 17:17:54 -04:00
Paul 7803acb995
cli: update cli templates (#1698) 2022-03-28 16:59:53 -04:00
Kirill Fomichev 40ea715beb
lang, cli, spl: Update solana toolchain to v1.9.13 (#1653)
Co-authored-by: Paul Schaaf <paulsimonschaaf@gmail.com>
2022-03-26 20:28:55 -04:00
Paul a2e760c50c
cli-fix: anchor test with --skip-deploy should fail if validator exists already (#1675) 2022-03-24 19:16:25 -04:00
Italo Casas 811a4cb318
Remove serum-common dependency from cli (#1667) 2022-03-21 19:48:01 -04:00
anant asthana d2233d6163
Added better error messaging when workspace.member or workspace.exclude doesn't exist. (#1524) 2022-03-21 18:09:46 -04:00
Armani Ferrante 77b1afcf2f
v0.23.0 (#1660) 2022-03-20 23:30:55 -04:00
Tom Linton d42d147e6a
cli: Fix npm install command in fallback (#1643) 2022-03-18 13:19:01 -04:00
Paul 94b0fec714
fix anchor-lang import in safety-check, add custom-coder to ci, and fix spl-token coder (#1604) 2022-03-16 18:27:57 -04:00
Paul f0a664c837
update versions (#1607) 2022-03-16 15:55:15 -04:00
Paul 3face237fb
cli: make ts idl equal json idl (#1609) 2022-03-16 14:38:07 -04:00
Paul acb4e7119b
cli: better errors for config.rs file in cli (#1603) 2022-03-16 14:28:58 -04:00
Matthew Callens 2a039f2e45
cli: initialize a new git repository on `anchor init` (#1605) 2022-03-14 11:43:05 -04:00
SchwarzBier 97a8dfe71d
Bump up rust to 2021 edition (#1430) 2022-03-12 17:39:21 -05:00
skrrb 3c994fcdef
cli: also clone program data account (#1495) 2022-03-12 17:36:35 -05:00
NIKHIL B N 00488b512c
Add support for `anchor idl fetch` to work outside anchor workspace (#1509) 2022-03-12 17:25:27 -05:00
skrrb 07c7cc1ce5
cli: add anchor clean (#1479) 2022-03-11 10:46:52 -05:00
Armani Ferrante b733610d87
v0.22.1 (#1528) 2022-02-28 11:35:59 -05:00
Shridhar Sukhani 55ebb7c80e
Add "@types/chai" devDependency to package.json in ts template (#1512) 2022-02-23 11:05:41 +01:00
Armani Ferrante 99403bff7e
cli: fix template (#1486) 2022-02-21 10:09:12 -05:00
Armani Ferrante 24ccaea903
v0.22.0 (#1484) 2022-02-20 20:32:38 -05:00
Paul c0b2fd7555
cli: add --skip-lint option (#1482) 2022-02-20 19:43:19 -05:00
Tom Linton 8aa7b2289e
cli: Make templates conform to default prettier rules (#1466) 2022-02-17 19:25:16 -05:00
Tom Linton 5ff9947ba2
lang: Error on undocumented unsafe account types (#1452) 2022-02-17 17:45:33 -05:00
Armani Ferrante ef1a58d665
v0.21.0 (#1403) 2022-02-07 20:10:49 -05:00
Blas Rodriguez Irizar ba131265f8
cli, spl: fix compilation for tests with --all-features (#1389) 2022-02-03 19:15:23 -05:00
Tom Linton 5e2821fd85
cli: Expose --account flag for solana-test-validator in Anchor.toml (#1366) 2022-01-31 19:52:08 -05:00
Paul 17c9463592
Lang: feature flag for init_if_needed (#1258)
Co-authored-by: Armani Ferrante <armaniferrante@gmail.com>
2022-01-30 21:59:25 +01:00
Armani Ferrante e6333e3554
cli: clap 3.0.x (#1370) 2022-01-27 19:32:58 -05:00
Armani Ferrante d8d720067d
lang, ts: automatic client side pda derivation (#1331) 2022-01-24 14:44:24 -05:00
Kirill Fomichev c21921af1b
cli: change error message on startup_wait (#1327) 2022-01-16 11:01:47 -05:00
Armani Ferrante e121e4e09d
ts: builder api (#1324) 2022-01-15 17:09:53 -05:00
Kirill Fomichev bb08a79dd4
cli: unblock os/cpu for npm-package (#1282) 2022-01-10 09:17:01 -05:00
Armani Ferrante a81ff88d76
v0.20.1 (#1274) 2022-01-09 16:50:10 -05:00
Leofis G e2b928161e
cli: correct docker message (#1243) 2022-01-07 11:00:57 -05:00
Armani Ferrante 9c47c0a6cd
v0.20.0 (#1251) 2022-01-06 18:09:43 -05:00
Paul b3720a0b84
lang, ts: fix init_if_needed missing ATA address check (#1221) 2022-01-01 21:47:13 -05:00
Paul 1749a7bd53
cli: Add `anchor expand` command (#1160) 2021-12-27 13:34:45 -05:00
Paul 8aab5b4634
lang: fix clippy (#1164) 2021-12-18 18:25:04 -05:00
Kirill Fomichev efd37219d2
ci: run clippy for nightly (#1150) 2021-12-15 18:03:44 -05:00
Paul 96f79993dd
ci: update solana cli (#1133) 2021-12-13 11:23:36 -05:00
Armani Ferrante 3afd1a22e4
v0.19.0 (#1116) 2021-12-08 17:33:36 -05:00
Tom Linton 8467491a56
cli: Fix program deploy path for camelcased directory names (#939) 2021-12-03 19:17:56 -05:00
Jon Cinque d0eb4fc8fb
cli: Add ability to verify non-upgradeable programs (#1079) 2021-11-29 18:04:09 -08:00