Commit Graph
100 Commits
Author SHA1 Message Date
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
Ethan Frey 72ba6d1382 Remove console.log, fix linter errors 2020-01-23 18:19:32 +01:00
Ethan Frey fe48c50c3d Merge pull request #13 from confio/properly-sign-tx-simon
Add and use decodeCosmosPubkey
2020-01-23 18:15:19 +01:00
Ethan Frey be1eb6f72f Try to debug odd test failure 2020-01-23 15:47:21 +01:00
Ethan Frey 3eacb108bd Fix signing, pubkey parsing. all tests pass on first run against chain 2020-01-23 15:47:21 +01:00
Ethan Frey b3c7a6a478 Cleanup nonce encoding 2020-01-23 15:47:21 +01:00
Ethan Frey 5074a8c8d3 add nonce encode/decode functions and test 2020-01-23 15:47:21 +01:00
Ethan Frey 95722a0495 Located bug.
Example output:
from query: account: number = 4, sequence = 0
for signing: nonce: 0
2020-01-23 15:47:21 +01:00
Ethan Frey ae1534896d Merge pull request #10 from confio/error-on-failed-tx
Error on failed tx
2020-01-23 15:47:06 +01:00
Ethan Frey 870d9acb66 throw error on failed post, plus format and lint 2020-01-23 14:38:56 +01:00
Ethan Frey 7440bfb6f1 Removed obsolete TODOS 2020-01-23 14:29:02 +01:00
Ethan Frey 3bc3e687d9 cli.sh works directory independent 2020-01-23 12:36:33 +01:00
Ethan Frey db110fe489 Merge pull request #2 from confio/docker-setup
Make docker setup work for me
2020-01-23 12:33:17 +01:00
Ethan Frey de52df68d4 Merge pull request #1 from confio/support-multiple-tokens
Support multiple tokens
2020-01-23 11:23:30 +01:00
Ethan Frey 310dad2a0f Commit updated types 2020-01-22 23:33:17 +01:00
Ethan Frey f1ad81a05a Post tx tests work until invalid signature 2020-01-22 23:33:00 +01:00
Ethan Frey 344d980b5f Fix getAccount 2020-01-22 23:16:37 +01:00
Ethan Frey 69d9ef5ce8 Fix up some integration tests 2020-01-22 23:10:00 +01:00
Ethan Frey c40f07144a Pass prefix and token info into codec and connection 2020-01-22 23:03:54 +01:00
Ethan Frey 17468f5a75 Add prefix and tokens into Codec 2020-01-22 22:40:34 +01:00
Ethan Frey fa40ff54a5 Add todos for token mapping logic 2020-01-22 22:24:22 +01:00
Ethan Frey 129f28dd8b yarn format && yarn lint 2020-01-22 22:24:22 +01:00
Ethan Frey 00926c71dc Set up format and lint configs 2020-01-22 22:24:22 +01:00
Ethan Frey 35f0a0af7a Start out coin<->Amount<->Ticker mapping 2020-01-22 22:24:22 +01:00
Ethan Frey 6495167a0e Add LICENSE, dev instructions in README 2020-01-22 22:24:09 +01:00
Ethan Frey c12ebe39df Updated docker image to match what is pushed to dockerhub 2020-01-22 16:09:14 +01:00
Ethan Frey 65465b895c Fix some tests... others hardcode atoms :( 2020-01-22 15:56:06 +01:00
Ethan Frey 1ca8435df0 Add template for initialize node (block 0) 2020-01-22 15:46:28 +01:00