Commit Graph

825 Commits

Author SHA1 Message Date
Paul 8aab5b4634
lang: fix clippy (#1164) 2021-12-18 18:25:04 -05:00
Henry-E ed85c9b3de
spl: Remove token program account infos (#1123) 2021-12-18 13:11:43 -05:00
man0s 561f7cdaa8
Change AccoutNotProgramOwned error to AccountOwnedByWrongProgram (#1154) 2021-12-17 13:34:43 +01:00
Tom Linton 713d43668b
examples, tests: Setup prettier (#1152) 2021-12-15 18:11:41 -05:00
Kirill Fomichev efd37219d2
ci: run clippy for nightly (#1150) 2021-12-15 18:03:44 -05:00
Paul a8280b786c
lang: move accounts into their own module (#1139) 2021-12-15 14:02:27 -05:00
utx0 c0a0ce2857
client: Added Debug derive macro (#1142) 2021-12-15 13:20:04 -05:00
Justin Starry a3c8d20352
lang: Reduce compute unit consumption of loader accounts (#1134) 2021-12-15 10:53:48 -05:00
0xCryptoSheik a7e80079da
fix: translateAddress should not rely on PublicKey constructor nam (#1138) 2021-12-15 02:20:26 +01:00
Paul 911620ee27
lang: programdata_address field for Program account (#1125) 2021-12-13 16:43:13 -05:00
Paul 96f79993dd
ci: update solana cli (#1133) 2021-12-13 11:23:36 -05:00
andrealincoln fcb07eb8c3
docs: Change "basic" to "basic_0" (#1119) 2021-12-09 13:47:13 -05:00
andrealincoln 43c119dbde
docs: Changing "0.0.0" --> "0.1.0" (#1118) 2021-12-08 21:47:16 -05:00
Armani Ferrante 4b40719c87
docker: Pin node version (#1117) 2021-12-08 18:11:40 -05:00
Armani Ferrante 3afd1a22e4
v0.19.0 (#1116) 2021-12-08 17:33:36 -05:00
Paul 423ddde30a
lang: Always execute constraints for init_if_needed (#1096) 2021-12-08 16:50:08 -05:00
Dominic Lee bef1bd8b80
ts: add getAccountInfo helper method to account namespace/client (#1084) 2021-12-08 15:05:52 +01:00
Chris Coudron 290d0353e3
docs: Update broken link to tutorial (#1112) 2021-12-07 19:03:55 -05:00
Christian Kamm 512bb95808
spl: Fix governance try_deserialize_unchecked to not check discriminator (#1105) 2021-12-07 15:24:21 -05:00
Jeduan Cornejo 0f8de4f6af
ts: Create a minified browser build (#1108) 2021-12-07 15:16:46 -05:00
Kevin Heavey 105bb203c0
lang: add missing #[serde(rename = "type")] to IdlConst (#1107) 2021-12-05 17:47:50 -05:00
Paul 3321a3f9c9
lang: Add ProgramData account (#1095) 2021-12-05 14:14:16 -05:00
Paul 517838e494
ts: Better public key error msgs (#1098) 2021-12-04 15:01:50 -05:00
Tom Linton 8467491a56
cli: Fix program deploy path for camelcased directory names (#939) 2021-12-03 19:17:56 -05:00
Tom Linton 6bc59350de
lang: Add constant attribute (#956) 2021-12-03 18:49:38 -05:00
Armani Ferrante be4e946040
spl: Move permissioned market proxy (#962) 2021-11-30 12:44:15 -08:00
Jon Cinque d0eb4fc8fb
cli: Add ability to verify non-upgradeable programs (#1079) 2021-11-29 18:04:09 -08:00
Paul 926c0246e3
lang: Add deprecated attribute to Loader (#1078) 2021-11-29 22:40:20 +00:00
bigzPubkey 7c479ad7ec
docs: Update Drift project name (#1077) 2021-11-29 08:44:19 -08:00
Armani Ferrante 7359464df5
readme: Update build status badge (#1076) 2021-11-28 21:15:34 -08:00
Paul 064d8bb286
client: Ignore logs that are not base64 encoded (#1075) 2021-11-28 20:38:51 -08:00
Paul e8934a113c
ci: Improvements (#1074) 2021-11-28 11:10:39 -08:00
Vladimir Guguiev 5e8d335599
ts: Improve native ESM compatibility (#1053) 2021-11-28 08:02:58 -08:00
Tom Linton 1c5f503a75
cli: Add version name from programs Cargo.toml to IDL (#1061) 2021-11-27 09:06:01 -08:00
Paul a4002dfb95
ci: Switch to github actions, parallelise tests (#1066) 2021-11-27 08:57:43 -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
Lorenzo Ampil 6140103a5e
docs: Fix typo (#1050) 2021-11-21 07:21:36 -08:00
Kirill Fomichev 632aefa250
lang: Add fmt::Debug to structs (#1043) 2021-11-20 07:14:06 -08:00
Armani Ferrante c868b91e93
ts: Add bool, u128, i128 for idl types (#1042) 2021-11-19 07:14:43 -08:00
Kirill Fomichev 9bee113fa4
travis: Remove not required ENV variables (#924) 2021-11-19 07:10:20 -08:00
Kirill Fomichev 3db7a048ba
deps: Cargo update --aggressive (#1037) 2021-11-19 06:31:12 -08:00
Mikhail Gorbachev 2d44654a4b
lang: Add `AccountNotInitialized` error (#1024) 2021-11-18 07:42:07 -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
Swift e7e8f4da9b
ts: Remove console logs from Node package (#1031) 2021-11-17 14:58:26 -08:00
Aadhi ab3e1294d9
fix: Check if name in keyword (#1020) 2021-11-15 16:54:51 -08:00
zklock 7b86aed638
lang: Document init_if_needed (#1023) 2021-11-15 04:09:30 -08:00