893 Commits

Author SHA1 Message Date
Simon Warta
7f7537bd59 Improve ContractCodeHistoryEntry.operation 2020-07-28 18:11:18 +02:00
Simon Warta
c023179ab4 Pull out and improve queryContractSmart tests 2020-07-28 18:05:26 +02:00
Simon Warta
53acab4422 Pull out and improve queryContractRaw 2020-07-28 18:01:20 +02:00
Simon Warta
ab2dd159df Extract and improve getAllContractState tests 2020-07-28 17:57:57 +02:00
Simon Warta
5ad837f992 Move getContractCodeHistory after getContractInfo 2020-07-28 17:56:02 +02:00
Simon Warta
116ab6496a Use a single hackatom instance 2020-07-28 17:49:13 +02:00
Simon Warta
5aa5623348 Use SigningCosmosClient for testing wasm messages 2020-07-28 17:45:41 +02:00
Simon Warta
888597fd04 Pull out getContractCodeHistory tests 2020-07-28 17:34:34 +02:00
Simon Warta
104d828509 Cleanup getContractInfo tests 2020-07-28 17:31:38 +02:00
Simon Warta
462aafa39e Start cleaning up WasmExtension tests 2020-07-28 17:25:34 +02:00
Simon Warta
2f83fcd1f9 v0.22.0-alpha.0 2020-07-28 15:13:26 +02:00
Simon Warta
859c540263 Add nonces 2020-07-28 15:11:49 +02:00
Simon Warta
c575f930a8 Rename @cosmjs/sdk38 to @cosmjs/launchpad 2020-07-28 14:54:38 +02:00
Simon Warta
8410f41a40 Fix pubkey test 2020-07-28 14:54:38 +02:00
Simon Warta
70e9c1532a Update to wasmd v0.10.0-beta1 2020-07-28 14:54:37 +02:00
Simon Warta
650f638b3d Make packages/sdk38/src/lcdapi/lcdclient.spec.ts independent of CosmWasm 2020-07-28 14:54:37 +02:00
Simon Warta
51acfc48f6 Use ContractCodeHistoryEntry instead of ContractDetails in the CLI 2020-07-28 14:54:37 +02:00
Simon Warta
b92405108a Adapt cosmwasm code to wasmd 0.10 2020-07-28 14:54:37 +02:00
Simon Warta
c9283db741 Use coins helper for shorter test code 2020-07-28 14:54:37 +02:00
Simon Warta
b7d9b59fd1 Update codebase to launchpad backend 2020-07-28 14:54:36 +02:00
Simon Warta
ce72832a93 Let tests stop early when transaction did not succeed 2020-07-28 13:32:48 +02:00
Simon Warta
00182bbc2f Remove unused variable: guest 2020-07-28 13:32:48 +02:00
Alex Peters
622cf4ce21 Apply wasmd updates 2020-07-28 13:32:48 +02:00
Simon Warta
63cbc42f7b
Merge pull request #310 from CosmWasm/secure-wallet
Add wallet serialization/deserialization
2020-07-28 13:31:07 +02:00
Simon Warta
a1b86ade81 Extract isArgon2idOptions 2020-07-28 13:16:08 +02:00
Simon Warta
ef7d171a64 Improve documentation of Secp256k1Wallet.serialize/deserialize 2020-07-28 13:16:08 +02:00
Simon Warta
a75be1406c Monce nonce from params to ciphertext 2020-07-28 13:16:07 +02:00
Simon Warta
8fc6023b8a Move encryption/decryption to waller.ts 2020-07-28 13:16:07 +02:00
Simon Warta
f108045d61 Make serialization tests stricter 2020-07-28 13:16:07 +02:00
Simon Warta
35cf3e89db Deduplicate KDF execution 2020-07-28 13:16:07 +02:00
Simon Warta
97c936e71f Add types Secp256k1Derivation and Secp256k1DerivationJson 2020-07-28 13:16:07 +02:00
Simon Warta
d2f854d140 Improve readability of wallet code 2020-07-28 13:16:07 +02:00
Simon Warta
efc9498fe7 Fix a bunch of typos in comments 2020-07-28 13:16:07 +02:00
Simon Warta
e949d92097 Reuse cosmjsSalt from wallet.ts 2020-07-28 13:16:07 +02:00
Simon Warta
0ea2babd74 Pull out Secp256k1Wallet into separate module 2020-07-28 13:16:01 +02:00
Simon Warta
91aec70650 Pull out executeKdf 2020-07-28 13:12:24 +02:00
Simon Warta
21202e821d Various Secp256k1Wallet cleanups 2020-07-28 13:12:24 +02:00
Simon Warta
b6c7b8b1d4 Add Secp256k1Wallet.deserialize and .deserializeWithEncryptionKey 2020-07-28 13:12:24 +02:00
Simon Warta
588b31fed6 Rename to serialize/serializeWithEncryptionKey 2020-07-28 13:12:24 +02:00
Simon Warta
ed8497b005 Split into save/saveWithEncryptionKey 2020-07-28 13:12:24 +02:00
Simon Warta
bd6efee4f0 Add initial attempt of Secp256k1Wallet.save 2020-07-28 13:12:23 +02:00
Simon Warta
c42b341fe4 Improve Secp256k1Wallet.fromMnemonic docs 2020-07-28 13:12:23 +02:00
Simon Warta
57914c2a61 Add Secp256k1Wallet.generate 2020-07-28 13:12:23 +02:00
Simon Warta
2a47d8b580 Add mnemonic storage to Secp256k1Wallet 2020-07-28 13:12:23 +02:00
Simon Warta
8798e7046f Add documentation to Argon2idOptions 2020-07-28 13:12:23 +02:00
Simon Warta
5ad11bdef6 Use string | PubKey | null as public key type 2020-07-28 12:43:13 +02:00
Simon Warta
2b52c8e75d Add normalizePubkey 2020-07-28 12:43:12 +02:00
Simon Warta
4dca3619de Change account_number/sequence type to number | string 2020-07-28 12:43:12 +02:00
Simon Warta
29e98ec156 Rename CosmosSdkAccount to BaseAccount 2020-07-28 12:43:12 +02:00
Simon Warta
a69006b8c3 Add uint64ToNumber and uint64ToString 2020-07-28 12:43:12 +02:00