Commit Graph

21 Commits

Author SHA1 Message Date
Ethan Frey
72ba6d1382 Remove console.log, fix linter errors 2020-01-23 18:19:32 +01:00
Simon Warta
de0f68a90c Use decodeCosmosPubkey to decode pubkey 2020-01-23 17:23:15 +01:00
Simon Warta
cae35522ce Add decodeCosmosPubkey 2020-01-23 17:20:34 +01:00
Simon Warta
c428e40e79 Format code 2020-01-23 17:20:17 +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
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
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
35f0a0af7a Start out coin<->Amount<->Ticker mapping 2020-01-22 22:24:22 +01:00
Ethan Frey
65465b895c Fix some tests... others hardcode atoms :( 2020-01-22 15:56:06 +01:00
Ethan Frey
0fc62d4aa8 Import from @iov/cosmos 2020-01-22 09:41:48 +01:00