Commit Graph

156 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Leofis G e2b928161e
cli: correct docker message (#1243) 2022-01-07 11:00:57 -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
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
Tom Linton 1c5f503a75
cli: Add version name from programs Cargo.toml to IDL (#1061) 2021-11-27 09:06:01 -08:00
Jon Cinque 384f143f77
cli: Do verifiable builds from any image (#1054) 2021-11-24 20:09:48 +00:00
Paul 8a30d87064
lang: Log instruction names (#1057) 2021-11-24 10:46:17 -08:00
Tom Linton af9d9d2aa7
Revert "cli: Add quotes to Command args (#1046)" (#1056) 2021-11-23 18:12:28 -08:00
Kirill Fomichev 92c6d4c3f7
cli: Add quotes to Command args (#1046) 2021-11-21 07:22:26 -08:00
Paul 11764a1fa5
cli: Add cargo args handling to verifiable builds (#1035) 2021-11-17 18:38:26 -08:00
FlorianMilcendeau 7a7db5bc0a
cli: Add `types` setting to Anchor.toml workspace (#1032) 2021-11-17 15:04:14 -08:00
Aadhi ab3e1294d9
fix: Check if name in keyword (#1020) 2021-11-15 16:54:51 -08:00
Kirill Fomichev 3688683931
lang: Add `deprecated` attribute to `ProgramAccount` (#1014) 2021-11-14 06:46:18 -08:00
Tom Linton 468fe79473
cli, examples, tests: Remove global JavaScript dependencies in favour of local (#990) 2021-11-11 22:38:35 +00:00
Kirill Fomichev ac3fbe8d38
cli: Add `idl-ts` option to build command (#940) 2021-11-10 06:40:28 +00:00
Kirill Fomichev 13eadea2d5
cli: Output ts in idl parse (#941) 2021-11-02 17:00:13 -07:00
Luke Mahan 2f05903c75
cli: Typo fix (#932) 2021-10-25 16:28:04 -07:00
Kirill Fomichev d10413fc70
cli: Fix dns in NODE_OPTIONS (#928) 2021-10-25 09:47:59 -07:00
Kirill Fomichev 95d46976d4
cli: Add NODE_OPTIONS env variable with DNS fix (#915) 2021-10-23 13:50:47 -07:00
Armani Ferrante c7d165fc12
client: Fix clap dep (#893) 2021-10-17 20:06:48 -07:00
Haroon Isse d99eca60ec
cli: Make typescript the default for anchor init (#889) 2021-10-17 17:53:32 -07:00
Alan O'Donnell d3f78bb735
cli: Make sure program_paths only includes directories. (#887) 2021-10-15 13:01:05 -07:00
Armani Ferrante 635a18c7ff
cli: Generate ts idl in addition to type (#860) 2021-10-09 18:19:33 -07:00
Tom Linton de8cb49dd1
cli: Error if program in genesis configuration doesn't exist (#841) 2021-10-07 13:11:26 -07:00
bonedaddy 6a9e6a2b20
cli: Enable configurable startup wait (#842) 2021-10-06 09:14:19 -07:00
Tom Linton 54a6e9cf37
cli: Add solana-test-validator control to Anchor.toml (#834) 2021-10-05 13:12:55 -07:00
Armani Ferrante 8566b909cf
cli: Fix ts filepath for verifiable build (#836) 2021-10-05 10:30:38 -07:00
ChewingGlass 0a660d26c4
ts, cli: Program clients generic over IDL types (#795) 2021-10-04 23:16:13 -07:00
Chris Heaney 15eca29ca8
cli: Add localnet command (#820) 2021-10-02 14:46:57 -07:00
Maximilian Schneider 11064f9048
cli: Add more descriptive error message (#821) 2021-10-02 13:27:08 -07:00