Commit Graph
100 Commits
Author SHA1 Message Date
Ethan Frey 018f047973 Use wasmd v0.6.1 with rest server fixes 2020-02-18 22:51:06 +01:00
Ethan Frey b6b29562cb Expose senderAddress() 2020-02-17 13:25:50 +01:00
Ethan Frey 28a85a5e6e Expose SigningData/Callback types 2020-02-17 13:24:27 +01:00
Ethan Frey 2d7c4e09a3 Clean up test cases 2020-02-17 12:55:47 +01:00
Ethan Frey 6d3865a27e Add sendToken() and test 2020-02-17 12:55:47 +01:00
Ethan Frey 7bc76bd59b Fix linter warnings 2020-02-17 12:21:30 +01:00
Ethan Frey d079f7673a getAccount returns undefined when address not found 2020-02-17 12:21:30 +01:00
Ethan Frey b39a54211b Add getAccount to CosmWasmClient 2020-02-17 12:21:30 +01:00
Ethan Frey d9bcd821c1 Added helper to parse Uint8Array as Utf8-encoded json for smart queries 2020-02-11 12:01:01 +01:00
Ethan Frey c3bd498524 Merge guide into readme 2020-02-11 12:01:01 +01:00
Ethan Frey ec9a1eab92 Run through the full script 2020-02-11 12:01:01 +01:00
Ethan Frey 1bea452fbc more 2020-02-11 12:01:01 +01:00
Ethan Frey b047658af3 Got guide working 2020-02-11 12:01:01 +01:00
Ethan Frey 0544836a60 Start with some helpers 2020-02-11 12:01:01 +01:00
Ethan Frey 3a9cf56635 Use assert to avoid ! 2020-02-11 11:31:27 +01:00
Ethan Frey 8e0042ed75 Fix bcp, update to proper docker image 2020-02-11 10:32:55 +01:00
Ethan Frey 13c708e787 Fix malformed REST response/parsing 2020-02-11 10:32:09 +01:00
Ethan Frey 5677976463 Tests pass 2020-02-11 10:32:09 +01:00
Ethan Frey 6f35fad87c WIP: update return types for queries 2020-02-11 10:32:09 +01:00
Ethan Frey 33b9ac2482 Merge pull request #69 from confio/debug-start
Debug start of blockchain in CI
2020-02-10 13:52:21 +01:00
Ethan Frey 8be57612c4 Use new v0.0.4 docker image 2020-02-10 12:57:44 +01:00
Ethan Frey 77294979bc Ensure metadata is set 2020-02-10 12:46:01 +01:00
Ethan Frey abe8eeeac3 Return full info on 500 errors 2020-02-10 12:41:47 +01:00
Ethan Frey efcca8a769 Download wasm code by id works 2020-02-10 12:20:32 +01:00
Ethan Frey f1e1c76baa Update rest server, pass tests 2020-02-10 12:01:21 +01:00
Ethan Frey 903166478b Merge pull request #59 from confio/add-cli
Add @cosmwasm/cli
2020-02-06 20:01:10 +01:00
Ethan Frey 5046963b17 Merge pull request #60 from confio/housekeeping
Do some housekeeping
2020-02-06 17:29:51 +01:00
Ethan Frey 6f454152f6 Merge pull request #57 from confio/docs
Update package documentation; clarify faucet deployment
2020-02-06 11:14:14 +01:00
Ethan Frey 7320bcec3b Merge pull request #52 from confio/add-wasm-queries
Add some basic wasm queries
2020-02-05 18:25:15 +01:00
Ethan Frey 49070f668f A bit more cleanup 2020-02-05 18:22:20 +01:00
Ethan Frey 8699e2e8f7 Cleanup from PR review 2020-02-05 18:05:19 +01:00
Ethan Frey 3e48ee1213 Pin to docker image v0.0.2 2020-02-05 18:02:41 +01:00
Ethan Frey 213d59c75c Clean up test naming 2020-02-05 17:33:53 +01:00
Ethan Frey c7313275c3 Test smart queries 2020-02-05 17:18:25 +01:00
Ethan Frey 90ac9f1387 All contract queries except smart 2020-02-05 17:14:08 +01:00
Ethan Frey 620767b5c6 Inline getCodeId and getContractAddress helpers 2020-02-05 16:59:26 +01:00
Ethan Frey 4bacba8340 Add some basic contract queries 2020-02-05 16:55:51 +01:00
Ethan Frey 0846162434 Test list codes 2020-02-05 16:39:51 +01:00
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
Ethan Frey ae8acefc81 Merge pull request #55 from confio/speed-up-wasmd
Speed up wasmd
2020-02-05 15:16:35 +01:00
Ethan Frey 50ea6bb54c Reduce block time from 5s to 1s 2020-02-05 14:54:24 +01:00
Ethan Frey 2047b63b7b Merge pull request #54 from confio/rm-top-level-dependencies
Remove top level dependencies
2020-02-05 14:27:13 +01:00
Ethan Frey 5ac758c6ba Merge pull request #44 from confio/move-address-decode-to-sdk
Move address decode to sdk
2020-02-05 11:28:34 +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
Ethan Frey 4f3bbb8001 Merge pull request #45 from confio/speedup-chain-start
Improve chain start speed
2020-02-05 10:21:20 +01:00
Ethan Frey 9d0a0ddf44 Merge pull request #46 from confio/randomize-contract
Randomize contract wasm
2020-02-05 10:20:22 +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
Ethan Frey 82447e8afe Merge pull request #42 from confio/normalize-attribute-value
Normalize unset attribute value to empty string
2020-02-04 19:22:05 +01:00
Ethan Frey 555534ba1b Add script to run local binaries, help debug 2020-02-04 14:29:38 +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
Ethan Frey f52bb378b4 Re-enable test cases 2020-02-03 22:53:05 +01:00
Ethan Frey 1fbfa311c3 Minor cleanups from pr 2020-02-03 22:42:40 +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 449a83120a WIP: test identifier via rest client amino encoding 2020-02-03 20:25:08 +01:00
Ethan Frey b99340bf76 Add encode logic to rest client 2020-02-03 20:22:02 +01:00
Ethan Frey 3da5865614 Linter cleanup 2020-02-03 20:06:15 +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 eeca7d1a8c Merge pull request #35 from confio/extract-token-info
Move TokenInfo, coinToDecimal, decimalToCoin from sdk to bcp
2020-02-03 18:48:27 +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 d2030f4f51 Add sample tx decode data 2020-02-03 18:20:29 +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
Ethan Frey 8b262e6b12 Update imports from bcp to sdk 2020-02-03 17:11:44 +01:00
Ethan Frey b68fe1aa6a Copy amino interface definitions to package - need some cleanup 2020-02-03 17:08:48 +01:00
Ethan Frey 34a74286b7 Merge pull request #33 from confio/linting-updates
Linting updates
2020-02-03 16:11:33 +01:00
Ethan Frey 52ffee6d3b Merge pull request #30 from confio/add-integration-tests
Add COSMOS_ENABLED to ci
2020-02-03 16:09:36 +01:00
Ethan Frey 037ceebe7b Give 60 seconds for cosm/start.sh startup 2020-02-03 09:47:56 +01:00
Ethan Frey 10489402f8 One more typo with script path 2020-02-03 09:44:30 +01:00
Ethan Frey 81cbc9b51f More fixes to ci config 2020-02-03 09:38:23 +01:00
Ethan Frey 7b1fef158c Fix syntax error with env 2020-02-03 09:29:15 +01:00
Ethan Frey 94a49ed899 Enable test in ci, move pull into start.sh 2020-02-03 09:11:13 +01:00
Ethan Frey 690a93ae59 Add background flag to start.sh 2020-02-03 08:57:09 +01:00
Ethan Frey 93d554805f Add COSMOS_ENABLED to ci 2020-02-03 08:55:59 +01:00
Ethan Frey 7b25a2e11c Merge pull request #25 from confio/update-docker-images
Update docker images
2020-01-31 15:43:13 +01:00
Ethan Frey 661662413b Update denoms in tests 2020-01-30 22:01:25 +01:00
Ethan Frey d292ff91d3 Rebuild template with ucosm and ustake 2020-01-30 21:59:32 +01:00
Ethan Frey c915d6f2a7 Update queries and tests for updated docker image 2020-01-30 19:44:11 +01:00
Ethan Frey 81e5cf5af5 Regenerate template for CI with latest master 2020-01-30 19:35:27 +01:00
Ethan Frey d0de8d5b2b Fix up spellcheck errors 2020-01-30 19:28:23 +01:00
Ethan Frey e94f32c765 Put configuration in one file, use auto-built wasm-demo:latest tag 2020-01-30 19:19:54 +01:00
Ethan Frey 065b1883ed Merge pull request #23 from confio/no-multichain
No multichain
2020-01-30 12:47:25 +01:00
Ethan Frey 53981bfbc1 Merge pull request #21 from confio/remove-bn.js
Remove bn.js dependency
2020-01-30 12:09:05 +01:00
Ethan Frey 669c5886cb Merge pull request #20 from confio/binary-name
Fix faucet binary name
2020-01-30 12:02:46 +01:00
Ethan Frey 4b6a5bbddd Merge pull request #19 from confio/test-cache
Use recommended yarn cache settings
2020-01-29 19:26:30 +01:00
Ethan Frey 19e3a5b065 Merge pull request #17 from confio/lerna
Convert to monorepo
2020-01-29 14:43:48 +01:00
Ethan Frey fe494e91a1 Merge pull request #16 from confio/setup-ci
Add basic CI config
2020-01-27 20:23:30 +01:00
Ethan Frey e748e7b22a Merge pull request #15 from confio/clarify-license
Clarify license
2020-01-23 18:39:01 +01:00