Commit Graph

371 Commits

Author SHA1 Message Date
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 1319dc65d6
v0.18.2 (#1011) 2021-11-13 18:58:10 -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
Tom Linton e22eb4c3d7
cli: Improve error if global anchor not found (#996) 2021-11-10 05:40:37 +00:00
Kirill Fomichev a22b94921e
cli: Add fields os/cpu to npm cli package (#976) 2021-11-04 16:38:04 +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
Armani Ferrante 229e335da8
v0.18.0 (#921) 2021-10-24 19:18:32 -07:00
Armani Ferrante 6ab714a5a5
Bump solana-program v1.8.0 (#886) 2021-10-24 17:42:52 -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
Tom Linton 1d148785ed
cli: Fix for npm globals unknown command (#892) 2021-10-17 17:52: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
Armani Ferrante 6eead5669e
v0.17.0 (#828) 2021-10-03 16:54:00 -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
Armani Ferrante 8b7b5aaddd
cli: Fix clippy (#816) 2021-10-01 08:47:57 -07:00
Alan O'Donnell 5ba8252ccc
cli: Kill test validator if it starts too slowly. (#809) 2021-09-28 10:30:19 -07:00
Armani Ferrante 3d21d33cd5
v0.16.2 (#807) 2021-09-27 16:40:44 -07:00
Vladimir Guguiev 48385b4a4f
cli: Support `cargo_args` on `test`, `verify` and `publish` commands (#804) 2021-09-27 08:45:28 -07:00
Armani Ferrante 0de09e71a2
cli: Fix clippy (#803) 2021-09-26 18:37:40 -07:00
Pierre df97fd8d56
cli: Add "slop" when anchor build (#719) 2021-09-26 17:15:31 -07:00
Marcin Żółkiewski 63eabc5b61
cli: Set ANCHOR_WALLET for migrate ts (#802) 2021-09-26 11:26:56 -07:00
Armani Ferrante f4fee46ea5
cli: Build publish tarball for more reliable error checks (#794) 2021-09-25 09:51:56 -07:00
Armani Ferrante 2c827bc839
lang, spl, cli: Add associated_token keyword (#790) 2021-09-23 17:06:38 -07:00
David 2a5e16357b
cli: Properly build anchor.Wallet for shell template script (#778) 2021-09-22 13:28:45 -07:00
Aadhi Nana Murali b0b9efc30d
clI: Added 'detach' flag to anchor test (#770) 2021-09-22 12:24:27 -07:00
Siong bde45c2985
cli : Use ANCHOR_WALLET for migrate command (#779) 2021-09-22 11:52:53 -07:00
Vecheslav Druzhbin beace2c000
cli: Run command considers config (#755) 2021-09-18 10:27:01 -05:00
Armani Ferrante d8f947fc9c
v0.16.1 (#751) 2021-09-17 12:33:32 -05:00
Armani Ferrante 780094a648
v0.16.0 (#746) 2021-09-16 19:19:15 -05:00
Pierre bf5cf80c11
ts: Use env variable for local wallet (#718) 2021-09-12 10:07:42 -07:00
Armani Ferrante 374009bd9f
cli: Fix clippy (#713) 2021-09-11 15:42:50 -07:00
Siong adb0c56770
cli: Snake case program names when initializing workspace (#711) 2021-09-11 12:59:53 -07:00
Armani Ferrante 23656de877
v0.15.0 (#688) 2021-09-07 18:30:04 -07:00
Armani Ferrante 3ee33132f5
cli: Add default program id to init template (#689) 2021-09-07 17:57:01 -07:00
Armani Ferrante 3958533750
Static owner and program ID checks (#686) 2021-09-07 13:06:15 -07:00
Armani Ferrante 5017a1afee
v0.14.0 (#655) 2021-09-02 11:31:50 -07:00
Kirill Fomichev 697f585b5b
Update solana to 1.7.11 (#653) 2021-08-31 14:52:41 -07:00
Tom Linton b01e1e5d4b
cli: Remove anchor launch (#634) 2021-08-23 14:38:21 -07:00
Julian McCarthy 5532aca6ec
cli: Add package.json in anchor init (#623) 2021-08-18 23:50:00 -07:00
Armani Ferrante 8e4870d370
v0.13.2 (#599) 2021-08-11 01:13:38 -07:00
Armani Ferrante 5312ca314f
cli: Fix init command (#598) 2021-08-11 00:40:51 -07:00
Armani Ferrante 496f2b258c
v0.13.1 (#597) 2021-08-10 22:33:28 -07:00
Armani Ferrante bd68e28f15
cli: Fix Cargo.lock in workspace subdirectories when publishing (#593) 2021-08-10 21:36:56 -07:00
aac 544d66ee9b
cli: Add program logs for genesis programs in tests (#594) 2021-08-10 02:39:02 -07:00
Armani Ferrante af7d246c0c
v0.13.0 (#587) 2021-08-08 19:38:50 -07:00
Armani Ferrante 4bf710c771
cli: Remove solana installer file after build (#590) 2021-08-08 18:47:11 -07:00
Armani Ferrante 3248481288
cli: Anchor registry publishing (#570) 2021-08-08 02:11:48 -07:00
Armani Ferrante ec6888a3b9
v0.12.0 (#572) 2021-08-04 12:29:38 -07:00
Armani Ferrante 1bea1bcbfc
Prune ix and solana version pinning (#569) 2021-08-03 12:50:43 -07:00
Kirill Fomichev 690c41315d
cli: Allow custom test commands (#550) 2021-07-29 14:38:24 -07:00
Kirill Fomichev ba6e15d557
cli: Do not serialize empty workspace (#559) 2021-07-28 14:04:36 -07:00
Kirill Fomichev 03042590a9
cli: Allow custom program addresses for test (#554) 2021-07-28 14:04:14 -07:00
Kirill Fomichev b8dae74836
cli: Add keys include/exclude in programs section (#546) 2021-07-25 17:25:40 -07:00
Armani Ferrante c5b61848c0
v0.11.1 (#507) 2021-07-09 19:05:57 -07:00
Chris Heaney 3b304588c8
cli: Use ts-node to execute typescript migrations (#477) 2021-07-04 19:57:10 -07:00
Armani Ferrante bbc40ba1c0
v0.11.0 (#458) 2021-07-03 12:41:55 -07:00
Kirill Fomichev cdccf826c4
cli: Any arch/platform in npm package (#460) 2021-07-03 10:29:16 -07:00
Vladimir Komendantskiy 61625e73db
Upgrade solana to 1.7.4 and borsh to 0.9 (#450) 2021-07-01 10:16:04 -07:00
Kirill Fomichev 94f08cd166
cli: Remove .spec from ts files (#441) 2021-06-30 11:00:37 -07:00
Kirill Fomichev 7314c66c9f
cli: Add npm package (#438) 2021-06-29 14:04:59 -07:00
Armani Ferrante c7de475177
v0.10.0 (#433) 2021-06-27 17:34:40 -07:00
Kirill Fomichev 1aa019cb0f
Apply clippy rules (#431) 2021-06-27 17:09:46 -07:00
Kirill Fomichev dc6227fc86
cli: Use npx for local mocha/ts-mocha (#432) 2021-06-27 15:59:02 -07:00
Armani Ferrante f067624add
Token PDAs and CLI scripts (#400) 2021-06-27 13:17:05 -07:00
Kirill Fomichev fe63a94486
cli: Add lto=true and codegen-units=1 (#428) 2021-06-27 09:52:36 -07:00
Kirill Fomichev b3ce642454
cli: Add final newline in templates (#420) 2021-06-26 07:57:02 -07:00
Michael Huang a3fa9c0584
cli, client, lang, spl: Bump dependencies (#408) 2021-06-18 08:42:39 -07:00
Armani Ferrante 796d917f42
v0.9.0 (#388) 2021-06-15 18:43:21 -07:00
Armani Ferrante 2bcd44ded3
v0.8.0 (#375) 2021-06-10 20:01:25 -07:00
Armani Ferrante 381a3dfde6
cli, client, lang: Bump solana toolchain to v1.7.1 (#368) 2021-06-09 16:18:07 -07:00
Tyera Eulberg f8909effad
cli, client, docs: Update solana endpoints (#365) 2021-06-07 19:48:52 -07:00
Armani Ferrante f3fca35447
cli: Add --program-name option for build command (#362) 2021-06-07 18:13:53 -07:00
Armani Ferrante a8fd1e0abb
v0.7.0 (#348) 2021-05-31 12:25:05 -07:00
Armani Ferrante 6b5ed789fc
lang, spl, cli: Refactor to preserve span information (#341) 2021-05-30 12:59:33 -07:00
Armani Ferrante 52628bcfeb
cli: Test command deploys programs on localnet when skipping validator launch (#324) 2021-05-25 14:10:50 -07:00
Armani Ferrante b1dbf7c5bf
cli: Use pascal case for anchor shell workspace (#319) 2021-05-24 18:23:31 -07:00
Armani Ferrante 1777ecaee4
cli: Global options to override Anchor.toml values (#313) 2021-05-24 16:04:17 -07:00
John Rees 1121961e87
cli: Add .anchor to .gitignore created by anchor init (#316) 2021-05-24 14:52:21 -07:00
Armani Ferrante 6da6ae22f8
v0.6.0 (#309) 2021-05-23 14:45:34 -07:00
Armani Ferrante 78d773a6de
ts, cli: Overrideable workspace program addresses (#308) 2021-05-23 13:57:55 -07:00
Armani Ferrante a9179600cd
cli: Add provider section to Anchor.toml (#305) 2021-05-23 10:00:24 -07:00
Armani Ferrante ccf18557f9
cli: Add shell command (#303) 2021-05-22 16:06:08 -07:00
nutchanon-pho 691a30ae06
cli: Add --skip-build flag to anchor test (#301) 2021-05-21 22:20:59 -07:00
jon-chuang 30a58b99e1
cli: Option to specify program to launch/deploy in workspace (#288) 2021-05-17 10:50:36 -07:00
Michael Huang 425997a12d
Add yarn flag to the anchor test command (#267) 2021-05-08 17:00:35 -07:00
Armani Ferrante 791269d3e3
v0.5.0 (#257) 2021-05-07 12:11:18 -07:00
Armani Ferrante 531e796f77
V0.4.5 (#230) 2021-04-29 23:47:20 -07:00
guanqun a108354536
lang, cli: Fix typos (#229) 2021-04-29 10:24:43 -07:00
Armani Ferrante 0de345f1a6
v0.4.4 (#205) 2021-04-18 17:42:01 -07:00
Armani Ferrante 016e2c3d4c
Update solana tools to v1.6.6 (#210) 2021-04-18 12:13:07 -07:00
armaniferrante 218c2d25ce
cli: Print common cluster urls 2021-04-14 21:03:08 -07:00
Armani Ferrante f1bb17d35d
v0.4.3 (#188) 2021-04-13 12:11:58 -07:00
armaniferrante fbb1a31e37
cli: Use crate's current version for Cargo.toml template 2021-04-10 18:16:21 -07:00
Armani Ferrante 808d0542a5
v0.4.2 (#170) 2021-04-10 18:10:19 -07:00
Armani Ferrante 81e03c5e37
lang: Cleanup private apis and documentation (#169) 2021-04-10 17:47:14 -07:00
Armani Ferrante 0e02301e42
cli: Fund configured wallet when testing (#164) 2021-04-09 10:33:59 -07:00
armaniferrante 3eb1ee96c7
cli: Add version number to version and help commands 2021-04-06 17:55:01 -07:00
Armani Ferrante 430e10cb6a
v0.4.1 (#152) 2021-04-06 15:49:51 -07:00
Armani Ferrante dce5cfd1f8
cli, docker: Version verifiable builder with cli (#145) 2021-04-06 15:15:18 -07:00
Armani Ferrante 719602e836
v0.4.0 (#144) 2021-04-04 14:24:50 -07:00
Armani Ferrante 8289e47513
Update solana tooling to v1.6.3 (#139) 2021-04-04 00:55:56 -07:00
Standaa 7f2ef239ac
Feat/migrations typescript support (#132) 2021-03-30 23:14:15 -07:00
Armani Ferrante 46a9ff9dab
travis: Pin nightly version (#131) 2021-03-27 10:09:03 -07:00
defactojob c1119ccc56
cli: Test command kills all subprocesses (#130) 2021-03-27 09:52:09 -07:00
Armani Ferrante cf1feafb06
cli: Specify test files to run (#118) 2021-03-23 10:58:46 -07:00
armaniferrante f84d072bca
Pin solana-program to v1.5.15 2021-03-16 14:18:09 -07:00
armaniferrante 97027d9abc
v0.3.0 2021-03-12 14:48:29 -08:00
Armani Ferrante 4c5771d008
lang, cli: Idl write buffers (#107) 2021-03-12 12:43:26 -08:00
armaniferrante 060313725e
cli: Verify for write buffers 2021-03-10 12:16:54 -08:00
Armani Ferrante a7b092a611
docker, cli, lang: Deterministic and verifiable builds (#100) 2021-03-09 05:40:09 -08:00
Austin Abell d543b335b7
Include git ignore in init template (#101) 2021-03-08 18:49:11 -08:00
Armani Ferrante 8c985ecba0
cli: Require test files to end in .spec.ts 2021-03-01 17:56:52 +08:00
NorbertBodziony 7b69e0ba23
add TS support for tests (#94) 2021-03-01 17:25:59 +08:00
Armani Ferrante 4d562b0a82
cli: Flag to skip starting a local validator (#93) 2021-02-26 22:16:19 +08:00
Marko dc61f4115c
bump solana to 1.5.8 (#92) 2021-02-26 17:31:48 +08:00
Armani Ferrante b3803aec03
cli: Specify programs to embed into local validator genesis via Anchor.toml 2021-02-23 01:41:40 +08:00
Armani Ferrante 79b791ffa8
cli: Propagate mocha exit status on error 2021-02-19 23:24:22 +08:00
Armani Ferrante 08f5a0e243
Clippy fixes 2021-02-16 13:57:09 +08:00
Armani Ferrante ce5ca7ddab
cli: Stream program logs to file when testing 2021-02-10 01:04:18 +08:00
Armani Ferrante 733ec300b0
cli: Embed workspace programs into genesis when testing 2021-02-09 23:31:52 +08:00
Armani Ferrante a314ffd1cf
cli, lang: Upgradeable IDL commands 2021-01-31 03:28:07 -08:00
Armani Ferrante 9825710c8f
Explicit CLI commands 2021-01-31 00:59:26 -08:00
Armani Ferrante f0297012c6
Create lang dir 2021-01-30 05:23:23 -08:00
Armani Ferrante e42668279a
Rust client generation 2021-01-30 01:26:28 -08:00
Armani Ferrante 772edde073
Store IDL at deterministic account address (#49) 2021-01-29 06:20:30 -08:00
Armani Ferrante 345d25a583
cli: Deploy with upgradeable loader 2021-01-29 06:20:30 -08:00
Armani Ferrante 80e1fd54ca
Revert solana deploy case back to camel 2021-01-27 20:50:23 -08:00
Armani Ferrante cef682a232
Use environment derived provider in test template 2021-01-27 20:07:09 -08:00
Armani Ferrante 989b1ea3bd
Add deploy script template 2021-01-27 19:58:26 -08:00
Armani Ferrante 930aa1d9f6
Changes for a functioning lockup/stake UI (#46) 2021-01-27 19:31:15 -08:00
Armani Ferrante ef23756978
State struct instructions 2021-01-23 07:40:31 -08:00
Armani Ferrante ca7e1bcce4
Log exit data 2021-01-20 19:04:24 -08:00
Armani Ferrante c9ae5eb0ef Lockup and staking examples (#28) 2021-01-20 17:13:29 -08:00
Armani Ferrante 41b25afed0
Remove explicit solana dependencies 2021-01-15 21:40:11 -08:00
Armani Ferrante 13ed9d79bb
Remove explicit borsh dependency 2021-01-15 19:58:01 -08:00
Armani Ferrante 9c77d89c17
Bump borsh version 2021-01-15 04:10:37 -08:00
Armani Ferrante eb82093fb7
examples: Bump borsh versions 2021-01-15 00:53:14 -08:00
Armani Ferrante 5d571ee9fc
Set alpha and borsh versions 2021-01-15 00:39:46 -08:00
Armani Ferrante 34a3474663
Composable Accounts derivations (#21) 2021-01-14 22:35:50 -08:00
Armani Ferrante 20bd3c2db8
Put CPI client behind feature flag 2021-01-14 17:13:21 -08:00
Armani Ferrante 92b5f74eea
CPI client generation (#19) 2021-01-14 15:16:27 -08:00
Armani Ferrante 17d62cbf30
Sysvar support (#16) 2021-01-11 09:22:25 -08:00
armaniferrante 4792d1ce49
Run examples in CI 2021-01-06 15:07:37 -08:00
armaniferrante 8caee03251
Pin syn dep 2021-01-05 15:01:38 -08:00
armaniferrante 16b5d751eb
Fix broken links 2021-01-05 14:18:55 -08:00
armaniferrante e5ab0684f8
Finish tutorial-1 draft 2021-01-04 18:37:10 -08:00
armaniferrante a36a5429fb
Deploy command 2021-01-04 12:27:35 -08:00
Armani Ferrante 9570830b65
Workspaces 2021-01-04 11:47:22 -08:00
armaniferrante cbe06afc99
Basic example working e2e 2021-01-01 21:53:35 -08:00
armaniferrante c89bb72c78
Update README 2020-12-31 17:01:15 -08:00
armaniferrante a6e7cb8f7a
Remove old makefiles 2020-12-31 16:03:34 -08:00
armaniferrante 736c4912e1
Init repo 2020-12-31 15:48:06 -08:00