Commit Graph
57 Commits
Author SHA1 Message Date
Ethan Frey 03be05964a More test helper refactoring 2020-02-05 16:31:26 +01:00
Ethan Frey da9eff547e Pull out wasm contract actions as test helper functions 2020-02-05 16:26:37 +01:00
Ethan Frey 477511f1b3 Complete wasm calls via manual testing with curl 2020-02-05 16:11:46 +01:00
Ethan Frey e0b3cb006c Add some basic wasm queries (manually tested with curl) 2020-02-05 15:24:15 +01:00
Simon Warta a74310ab4c Merge pull request #47 from confio/execute-contract
Implement contract execution message
2020-02-05 12:57:30 +01:00
Simon Warta 651ba497d9 Deduplicate pubkey type strings 2020-02-05 12:34:34 +01:00
Simon Warta 0b3b1559f7 Make pubkeyTypes readonly 2020-02-05 11:50:07 +01:00
Simon Warta f1a354eb0c Extract findAttribute in test code 2020-02-05 11:41:54 +01:00
Simon Warta e3c294ed2e Implement contract execution 2020-02-05 11:31:35 +01:00
Simon Warta ce18a5296d Add some fields to PostTxsResponse 2020-02-05 11:31:35 +01:00
Simon Warta 68670fc8a1 Avoid innecessary Value* types; Add docs 2020-02-05 11:31:35 +01:00
Simon Warta 6083c3f7ea Serach codeIdAttr in first message event 2020-02-05 11:31:35 +01:00
Ethan Frey 64666d60d4 Merge remote-tracking branch 'origin/master' into move-address-decode-to-sdk 2020-02-05 10:33:45 +01:00
Ethan Frey dc93bfc1e7 Simplify sdk pubkey types 2020-02-05 10:30:21 +01:00
Ethan Frey 0f6721e5f4 Fix lint error 2020-02-05 10:24:45 +01:00
Simon Warta 488dd79be7 Randomize contracts in tests 2020-02-05 01:22:45 +01:00
Simon Warta 4136d5e691 Free variable name: data 2020-02-05 00:45:11 +01:00
Ethan Frey a2c14bb80b Update bcp address to reduce code dup 2020-02-04 20:31:33 +01:00
Ethan Frey 8807e7532d Move bcp-free address en/de-coding into sdk 2020-02-04 20:06:56 +01:00
Simon Warta f9734fb0f3 Normalize unset attribute value to empty string 2020-02-04 19:01:40 +01:00
Simon Warta 9e1d369523 Test transfer event's amount attribute 2020-02-04 18:38:55 +01:00
Simon Warta a2570f24b3 Dedup transferAmount 2020-02-04 18:38:55 +01:00
Simon Warta 4809958cc6 Add makeSignedTx helper 2020-02-04 18:18:09 +01:00
Simon Warta 517b65f58d Add support for contract instantiation 2020-02-04 18:13:03 +01:00
Simon Warta 7741e5711a Parse and test logs 2020-02-04 16:43:38 +01:00
Simon Warta f3a413f62a Cleanup test code 2020-02-04 15:28:14 +01:00
Simon Warta 63e3ab037c Make messages in makeSignBytes a list
this fixes a bug introduced in 2d14efa4cd
2020-02-04 15:10:56 +01:00
Ethan Frey 3fe792e058 Disable faucet docker job 2020-02-04 14:00:24 +01:00
Ethan Frey 220c0c69d6 Add test case for simple MsgSend 2020-02-04 13:43:35 +01:00
Simon Warta 2d14efa4cd Deduplicate makeSignBytes 2020-02-04 13:34:51 +01:00
Simon Warta 44182e96b7 Improve and fix Msg types 2020-02-04 13:10:27 +01:00
Simon Warta cd66935dce Extract encodeSecp256k1Signature 2020-02-04 12:43:41 +01:00
Simon Warta a9189262e5 Increase gas limit in test 2020-02-04 12:43:41 +01:00
Simon Warta 4e9c009809 Use stronger types for Msg 2020-02-04 12:43:40 +01:00
Simon Warta 28a4518edf Test wasm upload in RestServer 2020-02-04 12:43:40 +01:00
Simon Warta 8034ae7bc6 Move sortJson into @cosmwasm/sdk 2020-02-04 12:43:40 +01:00
Simon Warta 4b91ed8f0c Test and fix RestClient.authAccounts 2020-02-04 09:10:03 +01:00
Simon Warta b7877d136d Test nodeInfo and encodeTx in RestServer 2020-02-04 09:10:03 +01:00
Ethan Frey c62702ba30 Fix lint issues 2020-02-03 21:33:39 +01:00
Ethan Frey 0031d6860d Fix encodeTx implementation, Connection.identifier now works 2020-02-03 21:31:46 +01:00
Ethan Frey b99340bf76 Add encode logic to rest client 2020-02-03 20:22:02 +01:00
Ethan Frey 7e7f18a1b3 Remove all use of amino, identifier is disabled 2020-02-03 19:59:20 +01:00
Ethan Frey e50733eb71 RestClient posts with JSON-encoded StdTx 2020-02-03 19:44:38 +01:00
Ethan Frey 9299b73aa6 Merge branch 'master' into move-amino-into-sdk 2020-02-03 18:53:42 +01:00
Ethan Frey 80be33b621 Fix types re-export 2020-02-03 18:47:59 +01:00
Ethan Frey 6444be5aa4 Remove obsolete comments 2020-02-03 18:42:36 +01:00
Ethan Frey 6358b02f11 Move TokenInfo, coinToDecimal, decimalToCoin from sdk to bcp 2020-02-03 18:33:14 +01:00
Ethan Frey 1491b13e83 Format and lint 2020-02-03 18:25:05 +01:00
Ethan Frey f5fbb02ba4 Improve parsing, two types of pubkey decoding 2020-02-03 18:18:21 +01:00
Ethan Frey 62b5c88c58 bcp builds properly 2020-02-03 17:19:48 +01:00