Commit Graph
66 Commits
Author SHA1 Message Date
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 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
Simon Warta 8cde21b15c Remove unnecessary await 2020-02-03 09:23:00 +01:00
Simon Warta 7a8f248fcb Avoid unnecessary cast to any 2020-02-03 09:22:06 +01:00
Simon Warta db9259616c Remove tslint-immutable linter plugin 2020-02-03 09:21:51 +01:00
Simon Warta 8610da30d2 Merge pull request #28 from confio/add-sdk
Extract RestClient, TxsResponse, AminoTx into @cosmwasm/sdk
2020-02-02 21:46:31 +01:00
Simon Warta 9da9225345 Move decimalToCoin and coinToDecimal into SDK 2020-02-01 17:09:27 +01:00
Simon Warta e127058100 Make coinToDecimal and decimalToCoin BCP free 2020-02-01 17:05:22 +01:00
Simon Warta c81c356fe3 Simplify decodeAmount 2020-02-01 16:29:08 +01:00
Simon Warta 4377fdd8ab Move TokenInfo into sdk 2020-02-01 16:23:08 +01:00
Simon Warta eb72f0e175 Make TokenInfo free from BCP types 2020-02-01 16:19:52 +01:00
Simon Warta fb9160f258 Move isAminoStdTx into sdk 2020-02-01 15:54:08 +01:00
Simon Warta 9514982d32 Properly support multiple pubkey types in decodePubkey
Closes #27
2020-02-01 15:43:13 +01:00
Simon Warta 399a53e99a Add first test in new package 2020-01-31 18:02:08 +01:00
Simon Warta 1bf2d9b287 Extract RestClient, TxsResponse, AminoTx into @cosmwasm/sdk 2020-01-31 17:50:10 +01:00
Ethan Frey 661662413b Update denoms in tests 2020-01-30 22:01:25 +01:00
Ethan Frey c915d6f2a7 Update queries and tests for updated docker image 2020-01-30 19:44:11 +01:00
Simon Warta c41f42193e Simplify codecImplementation() and establishConnection() 2020-01-30 12:35:30 +01:00
Simon Warta 84c5998ca8 Remove references to "first chain" 2020-01-30 12:25:43 +01:00
Simon Warta cb3df57426 Add missing runtime dependency @iov/keycontrol to faucet 2020-01-30 12:19:53 +01:00
Simon Warta 3fff813810 Remove dependency on @iov/multichain 2020-01-30 12:19:53 +01:00
Simon Warta 6ea963c87d Remove remaining uses of MultiChainSigner 2020-01-30 12:19:53 +01:00
Simon Warta 36e86543cb Let tokenTickersOfFirstChain not depend on MultiChainSigner 2020-01-30 12:19:53 +01:00
Simon Warta 11dc128d39 Implement accountsOfFirstChain without MultiChainSigner 2020-01-30 12:19:53 +01:00
Simon Warta fbbbbcaeff Implement sendOnFirstChain without MultiChainSigner 2020-01-30 12:19:52 +01:00
Simon Warta ddf2bf1c2f Remove codec parameter 2020-01-30 12:19:52 +01:00
Simon Warta 102488cb06 Remove Lisk support 2020-01-30 12:15:40 +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
Simon Warta 3085f6eaa5 Remove bn.js dependency 2020-01-30 09:07:29 +01:00
Simon Warta e737884aa3 Implement needsRefill without BN 2020-01-30 09:07:28 +01:00
Simon Warta 3b10f4e783 Implement creditAmount without BN 2020-01-30 09:07:28 +01:00
Simon Warta d52f69afff Implement Amount debugging using Decimal class 2020-01-30 09:07:28 +01:00
Simon Warta 55700b2157 Simplify some code 2020-01-30 09:07:28 +01:00