Commit Graph

2441 Commits

Author SHA1 Message Date
Milan Steiner
7c439e155c Adding MsgSend to defaultRegistryTypes 2022-02-01 17:02:10 +01:00
Milan Steiner
697e4d2fec Fix linting 2022-02-01 16:33:25 +01:00
Milan Steiner
7af2c64732 Let Registry constructor argument override types 2022-02-01 16:17:27 +01:00
Milan Steiner
8c9c759624 Fix implementation of evidence so its non optional 2022-02-01 15:15:51 +01:00
Milan Steiner
c0882460b0 Fix implementation of evidence so its non optional 2022-02-01 14:59:30 +01:00
Milan Steiner
ca969f2822 Make evidence non optional 2022-02-01 14:29:32 +01:00
Simon Warta
6db399a340 Add gasWanted/gasUsed values to all result types of SigningCosmWasmClient 2022-01-31 09:58:49 +01:00
Simon Warta
aa804db064 Improve fromHex: avoid deprecated substr, write to output buffer directly 2022-01-29 20:50:26 +01:00
Simon Warta
6595521956 Bump target to es2018 2022-01-27 23:45:05 +01:00
Simon Warta
53c52356c7
Merge pull request #1014 from cosmos/improve-AminoTypes-constructor
Make prefix required in AminoTypes constructor
2022-01-27 09:40:30 +01:00
Simon Warta
8b775c84bb Add toRealUint8Array 2022-01-26 21:33:20 +01:00
Simon Warta
3c7d886eee Use Sha2 from @noble/hashes 2022-01-26 21:32:35 +01:00
Simon Warta
218c341f67 Use sha3 from noble 2022-01-26 21:32:35 +01:00
Simon Warta
4a6253f16b Replace ripemd160 dependencies with @noble/hashes 2022-01-26 21:32:30 +01:00
Simon Warta
353f2da4a8 Make prefix required in AminoTypes constructor 2022-01-26 16:38:35 +01:00
Simon Warta
f812fe7be9 Remove SHA1 2022-01-26 15:35:57 +01:00
Simon Warta
e098e763dd Set version 0.27.1 2022-01-26 15:28:55 +01:00
Simon Warta
5176fad733 Refactor we demo and add show address functionality 2022-01-26 13:45:20 +01:00
Simon Warta
9d35df3d91 Use bech32 encoder from CosmJS 2022-01-26 13:45:20 +01:00
Simon Warta
7fec3a2875 Improve demo script for node to show adresses 2022-01-26 13:45:20 +01:00
Simon Warta
c3f062dfb1 Disable @typescript-eslint/explicit-module-boundary-types for .js files 2022-01-26 13:45:20 +01:00
Simon Warta
75d5722df5 Write some showAddress docs 2022-01-26 13:45:20 +01:00
Simon Warta
e48101f8a7 Refactor to LaunchpadLedger.showAddress 2022-01-26 13:45:15 +01:00
Simon Warta
08bb7e4e73 Add missing pubkey encoding 2022-01-26 13:44:59 +01:00
Simon Warta
450480791b adding show address in ledgerSigner 2022-01-26 13:44:53 +01:00
Simon Warta
ec98fc1996 Avoid parsing evidence from Tendermint 2022-01-26 12:45:18 +01:00
Simon Warta
8b59c70e71 Export WasmExtension and setupWasmExtension 2022-01-25 18:45:03 +01:00
Simon Warta
40a1121b8e
Merge pull request #996 from cosmos/notes-on-registry
Simplify usage and examples for Registry
2022-01-20 16:07:06 +01:00
Assaf Morami
f55e157187
Update packages/stargate/src/aminomsgs.ts
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
2022-01-20 12:07:59 +02:00
Assaf Morami
17ea689da8
Fix ambiguity in TimeoutTimestamp docs
Also see https://github.com/cosmos/ibc-go/pull/715
2022-01-20 08:20:49 +02:00
Simon Warta
f48c0e3105 Simplify usage and examples for Registry 2022-01-19 14:33:08 +01:00
Simon Warta
96de965a21 Add type ID/type URL to error messages in AminoTypes 2022-01-19 09:02:40 +01:00
Simon Warta
c3eae7c28a Add fromBinary/toBinary 2022-01-13 22:26:42 +01:00
Simon Warta
c192fc9b95 Set version 0.27.0 2022-01-10 16:03:01 +01:00
Simon Warta
6ad4135bb7
Merge pull request #976 from cosmos/gasprice-tostring
Add GasPrice.toString
2022-01-10 15:41:18 +01:00
Simon Warta
7c57b5aee1 Add GasPrice.toString 2022-01-10 15:18:04 +01:00
Simon Warta
0bd186d0e3 Replace colors with chalk in @cosmjs/cli 2022-01-10 14:27:29 +01:00
Simon Warta
576bf2a5a2 Add MintExtension for queries 2022-01-04 23:32:10 +01:00
Simon Warta
6d9398475f Add decodeCosmosSdkDecFromProto 2022-01-04 22:48:54 +01:00
Simon Warta
57a56cfa6a Set version 0.27.0-rc2 2021-12-06 13:52:25 +01:00
Simon Warta
61fb5872df Adaot tests to Date -> Timestamp change 2021-12-06 11:05:15 +01:00
Simon Warta
fa58c73988 Upgrade cosmjs-types to ^0.4.0 2021-12-06 09:50:52 +01:00
Simon Warta
700cac88ec Set version 0.27.0-rc1 2021-12-01 13:21:49 +01:00
Simon Warta
34e0220e03 Sort exports 2021-12-01 11:58:57 +01:00
Simon Warta
d6fa413e61 Move StdTx, isStdTx and makeStdTx to @cosmjs/amino 2021-11-25 22:46:30 +01:00
Simon Warta
b56200d2e5 Merge DeliverTxFailure/DeliverTxSuccess into DeliverTxResponse 2021-11-25 17:57:12 +01:00
Simon Warta
74db678ab4 Fix imports from build folders to packages 2021-11-25 17:18:43 +01:00
Simon Warta
652d377f1d Accept non-string type in getAccount error 2021-11-24 13:56:36 +01:00
Simon Warta
b859384035 Upgrade typedoc to 0.22 2021-11-24 13:31:57 +01:00
Simon Warta
28ddfeb45c Upgrade TypeScript to 4.4 and adapt code 2021-11-24 13:26:36 +01:00
Simon Warta
73e255a500 Adapt compatibility table 2021-11-24 11:09:57 +01:00
Simon Warta
4d2479f68f Adapt AMINO JSON representation of messages sent to contracts 2021-11-24 11:09:10 +01:00
Simon Warta
baa4e5e049
Merge pull request #946 from cosmos/rename-BroadcastTxResponse
Rename BroadcastTx{Success,Failure} to DeliverTx{Success,Failure}
2021-11-24 09:25:00 +01:00
Simon Warta
5baf9781de Rename BroadcastTx{Success,Failure} to DeliverTx{Success,Failure} 2021-11-23 18:39:39 +01:00
Simon Warta
3b559d22d1 Add denomMetadata/denomsMetadata queries to BankExtension 2021-11-23 14:35:23 +01:00
Simon Warta
90ebdd2bc4 Add hash to BroadcastTxAsyncResponse 2021-11-23 10:25:38 +01:00
Simon Warta
e3ce6eb3d8 Add missing BlockSearchResponse case to Response 2021-11-23 10:16:10 +01:00
Simon Warta
39bd0d437f
Merge pull request #942 from cosmos/upgrade-to-yarn3
Upgrade to yarn 3.1.0
2021-11-23 09:45:32 +01:00
Simon Warta
5e6477ada4 Run tests through yarn 2021-11-22 22:47:23 +01:00
Simon Warta
95e6156d3b Use symbols from tendermint34 folder 2021-11-22 21:13:43 +01:00
Simon Warta
fe07180431 Remove Tendermint33Client and related symbols 2021-11-22 21:09:36 +01:00
Simon Warta
8ac88b7f74 Merge branch '0.26' 2021-11-22 18:58:32 +01:00
Simon Warta
895b494f95 Set version 0.26.5 2021-11-20 13:01:17 +01:00
Simon Warta
cd5bc69012 Fix undefined this in decodeBroadcastTxAsync 2021-11-20 10:24:33 +01:00
Simon Warta
b4aa877843 Try SIGN_MODE_UNSPECIFIED 2021-11-20 09:46:11 +01:00
Simon Warta
37b472af44 Allow the use of a custom gas multiplier 2021-11-20 09:46:11 +01:00
Simon Warta
86467822f9 Add "auto" option to fee 2021-11-20 09:46:11 +01:00
Simon Warta
e3b18c3859 Use sendTokens and signAndBroadcast in example 2021-11-20 09:46:11 +01:00
Simon Warta
20e49746c5 Use coins helper in examples 2021-11-20 09:46:11 +01:00
Simon Warta
926767d1e1 Add simulate example 2021-11-20 09:46:11 +01:00
Simon Warta
2a16375eab Increase accepted gas range in simulation tests 2021-11-20 09:46:11 +01:00
Simon Warta
4bf33f24ea Add SigningCosmWasmClient.simulate 2021-11-20 09:46:11 +01:00
Simon Warta
5511c242c1 Add SigningStargateClient.simulate 2021-11-20 09:46:10 +01:00
Simon Warta
8a944ddf21 Add query extension tx for simulation 2021-11-20 09:46:10 +01:00
Simon Warta
25556ae4a8 Add Registry.encodeAsAny 2021-11-20 09:46:10 +01:00
Simon Warta
ab3b04b96b
Merge pull request #936 from cosmos/upgrade-bnjs-5
Upgrade bn.js to version 5
2021-11-19 10:42:24 +01:00
Simon Warta
01a8212775 Upgrade bn.js to version 5 2021-11-19 10:16:44 +01:00
Simon Warta
c03a06e26b Remove default URLs from HttpClient and WebsocketClient 2021-11-19 10:12:11 +01:00
Simon Warta
eda053bfbf Merge branch '0.26' 2021-11-18 23:16:10 +01:00
Simon Warta
91f3c9872e Upgrade prettier to 2.4.1 2021-11-18 23:04:36 +01:00
Simon Warta
67866dbaa4 Format cosmwasm example 2021-11-18 22:36:29 +01:00
Simon Warta
f3227209df Fix stargate example to latest fee API 2021-11-18 22:36:17 +01:00
Simon Warta
de32f787e9 Fix SIMAPP42_ENABLED -> WASMD_ENABLED for cosmwasm example 2021-11-18 22:18:36 +01:00
Simon Warta
09c37c5868 Remove unused ERC20_ENABLED
This is never read since https://github.com/cosmos/cosmjs/pull/701
2021-11-18 22:17:47 +01:00
Simon Warta
acc3f1e53d Add SDK 0.44 vote options to tests 2021-11-18 15:21:01 +01:00
Simon Warta
09b94d77dc Upgrade cosmjs-types to 0.3.0 and adapt code 2021-11-18 09:57:29 +01:00
Simon Warta
f8bd2e3783 Remove obsolete pendingWithoutSimapp42 import in tests 2021-11-17 16:31:58 +01:00
Simon Warta
dc814b1e26 Merge branch '0.26' 2021-11-17 12:54:38 +01:00
Simon Warta
584a8c0ceb Merge branch '0.26' 2021-11-17 00:06:46 +01:00
Simon Warta
0e63ee5cc6 Let coin/coins take amount as number | string 2021-11-09 17:51:12 +01:00
Simon Warta
106f2b1354 Improve CUSTOM_PROTOBUF_CODECS.md and update to 0.26 2021-11-02 14:59:36 +01:00
Simon Warta
2e0fef4546 Set version 0.26.4 2021-10-28 22:08:06 +02:00
Simon Warta
e754fad581 Fix response error handling for smart queries 2021-10-28 16:43:49 +02:00
Simon Warta
a4d4d4382f Remove unneeded lint ignores 2021-10-28 16:43:49 +02:00
Simon Warta
5aed28fc1b Set version 0.26.3 2021-10-25 11:13:00 +02:00
Simon Warta
fbaf8d7068 Deprecate verified queries 2021-10-24 22:35:45 +02:00
Simon Warta
a2b6e74524 Make env vars simapp42/simapp44 specific 2021-10-24 21:52:39 +02:00
Simon Warta
d0e81e665c Rename simapp -> simapp42 2021-10-24 21:52:39 +02:00
Simon Warta
054acb7c80 Use query queryVerified key that works for 0.42 and 0.44 2021-10-24 21:52:39 +02:00
Simon Warta
4547b8ea50 Remove verified queries 2021-10-20 23:12:16 +02:00