Commit Graph

186 Commits

Author SHA1 Message Date
Christian Kamm e5cb5ca747 Simulate: Don't require wallet signature 2022-07-23 19:17:56 +02:00
Matthew Callens c47fb2877e
lang: adjust `realloc` implementation to safeguard max increase and idempotency (#1986) 2022-07-05 15:54:40 -04:00
Matthew Callens e67c50f914
ts: convert `EventParser.parseLogs` to a generator function (#2018) 2022-07-01 23:29:19 -04:00
Matthew Callens 2ad00678b6
ts: add `accountsStrict` for non-resolvable accounts input (#2019) 2022-07-01 18:26:09 -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
Matthew Callens 179711bacc
ts: verbose error for missing `ANCHOR_WALLET` in `NodeWallet.local()` (#1958) 2022-06-10 09:54:06 -04:00
Anoushk Kharangate 8f7572e8af
ts: add alternative to rpc deprecated comments (#1832) 2022-06-09 12:16:07 -04:00
Daniel Marin a5dbc7b850
ts: setup associated token program idl (#1939) 2022-06-01 14:51:44 -04:00
Vladimir Guguiev d83fcbf7bc
ts: Add program.coder.types for encoding/decoding user-defined types (#1931) 2022-05-29 22:39:45 +02:00
Daniel Marin 707ebf26e7
feat: Setup a coder for SystemProgram (#1920) 2022-05-26 13:03:44 +02:00
Sohrab f866d073db
fix(ts/idl): export all IDL types (#1918) 2022-05-25 14:15:18 +02:00
Krešimir Klas d3e9b5f05d
ts: add docs field to IdlAccoutDef and IdlTypeDef types (#1915) 2022-05-22 10:07:17 +02:00
Charlie You 90bbc8b6be
ts: Add tx signature to EventCallback (#1851) 2022-05-17 11:24:16 -04:00
Armani Ferrante ef178e5217
token metadata and accounts resolver update (#1896) 2022-05-15 18:28:11 -04:00
Aximili 8ddc9f25a6
ts: Fix browser detection (#1233) 2022-05-04 11:06:09 -04:00
Armani Ferrante ee14a884f7
ts: provider publicKey optional (#1867) 2022-05-03 10:45:42 -04:00
Victor Pontis e6155dbc7d
Fix typo in instruction.ts (#1862) 2022-05-02 18:05:32 -04:00
Tommy Johnson 0011e22b91
add wallet publickey to Provider (#1845) 2022-04-28 18:23:20 -04:00
ebrightfield ed15922f1a
Add docs field to idl (#1561) 2022-04-21 16:37:41 -04:00
Paul 537d470954
ts: make `Provider` an interface, add `AnchorProvider` class, and update provider functions (#1707) 2022-04-11 15:48:58 -04:00
Krešimir Klas 12f6541486
ts: export error types (#1756) 2022-04-11 11:25:59 -04:00
DFL Zeke 7d611ac46f
ts: fix program upgrade event crashes existing listeners (#1757) 2022-04-11 09:38:43 -04:00
Armani Ferrante 032525c212
ts: use modern gma api (#1753) 2022-04-10 16:05:52 -04:00
Matthew Callens d1ddf8ee24
ts: add `pubkeys` method builder function to view all instruction account addresses (#1733)
Co-authored-by: Paul Schaaf <paulsimonschaaf@gmail.com>
2022-04-10 13:19:56 -04:00
Armani Ferrante a89d2468d0
Revert "ts: Add data type to clients in `AccountNamespace` (#1358)" (#1739) 2022-04-06 15:39:41 -04:00
Harshal Sheth 423223d5bf
ts: Add data type to clients in `AccountNamespace` (#1358) 2022-04-06 13:16:20 -04:00
Tom Linton 8fb942efd5
ts: Add views (#1695) 2022-04-03 19:15:06 -04:00
Pierre 237dbbe42e
Add coption to DecodeType (#1699) 2022-03-30 21:43:29 -04:00
Tom Linton 1cb7429fe2
lang: Allow CPI return values (#1598) 2022-03-24 14:40:38 -04:00
Krešimir Klas 946fa23538
ts: fix type for accounts field in Idl (#1542) 2022-03-22 21:43:51 -04:00
Paul 4b4b8007fb
update lockfiles (#1662) 2022-03-21 00:47:56 -04:00
Paul 9afdb17ac2
ts: add error log parsing to ts client (#1640) 2022-03-20 20:29:12 -04:00
robert-balcerowicz 1c7139a9e3
ts: Use return value of `wallet.signTransaction` in `provider.ts` (#1527) 2022-03-20 14:11:41 -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
Matthew Callens b376fd4615
lang: add additional `require_x` comparison macros (#1622) 2022-03-16 14:45:09 -04:00
Paul 3b0006b3ce
use sol_log_data for logging events (#1608) 2022-03-16 14:28:19 -04:00
Paul 721fe6693c
lang: add support for logging expected and actual values and pubkeys (#1572) 2022-03-15 11:42:17 -04:00
Armani Ferrante b149fc522a
ts: add provider parameter to spl token client (#1597) 2022-03-10 22:43:33 -05:00
Matthew Callens eee75ab07a
ts: fix methods builder `.accounts` requiring global programs (#1548) 2022-03-03 22:42:45 -05:00
Matthew Callens 80be42803d
ts: fix methods namespace typing loss and deprecate non-methods namespaces (#1539) 2022-03-01 19:26:32 -05:00
Matthew Callens a78c9c0341
lang: add sysvar custom error and failing test case (#1535) 2022-03-01 11:33:18 -05:00
Totoro 9c49e7642d
ts: fix formatIdlData for option defined type (#1439) 2022-02-28 12:15:54 -05:00
Paul 40596824bf
error redesign (#1462) 2022-02-20 17:28:24 -05:00
Pavel Kuzovkin 90bcea1cbe
lang, ts: float types support (#1425) 2022-02-17 14:23:21 -05:00
Paul 1f56a62bab
lang: add check that declared id == program id (#1451) 2022-02-15 18:16:06 -05:00
tuphan-dn 40379eb21f
ts: update SPL IDL (#1450) 2022-02-14 21:28:39 -05:00
Daniel Marin 3838bdeaf0
ts: allow nullable types for option fields (#1428) 2022-02-10 09:46:44 -05:00
Krešimir Klas 580167a1b0
ts: add metadata field to Idl type (#1422) 2022-02-09 16:51:39 -05:00
Armani Ferrante 598c7b0790
lang: error if bump target is given on init (#1380) 2022-02-07 13:26:05 -05:00