Commit Graph

109 Commits

Author SHA1 Message Date
Rigel 0b9751ac98
Merge pull request #1170 from cosmos/rigel/test_framework
mock test framework for modules
2018-06-08 13:30:24 -07:00
rigelrozanski 17948ccf04 auth-mock simulate block now commits, stake app_test cleanup 2018-06-08 11:28:07 -07:00
rigelrozanski abab7c2e42 modules test within mock application 2018-06-07 20:55:14 -07:00
rigelrozanski 1e67768485 ported ibc tests 2018-06-07 17:20:35 -07:00
rigelrozanski f58b454985 mock application framework compiling 2018-06-07 16:13:11 -07:00
Christopher Goes b166cc237f
Testcase/linter fixes 2018-06-08 00:35:13 +02:00
Christopher Goes a6c0db71e5
Bech32ify GetSignBytes() for x/bank 2018-06-08 00:32:14 +02:00
Christopher Goes f8896ee7aa
Fix x/bank Msg testcases 2018-06-07 23:47:23 +02:00
Christopher Goes cabb6e68fc
bech32ify x/bank/MsgSend 2018-06-07 23:42:37 +02:00
Fabian 5f409ce832 Merge PR #1086: Bech32Cosmos output/input for the LCD
* refactored bech32ization
* updated keys endpoints for bech32
* bech32 for sending and querying
* trying to change output of validator addresses
* fixed validator output
* linted
* fixed merge conflict
* added bech32 to staking endpoints
* removed some logging statements
* added GetAccPubKeyBech32Cosmos
* fixed cli tests
* updated swagger
* merged standard bech32 change
* renamed bech32cosmos to bech32
* bech32ify json output for key add
* readded changelog
* fixed changelog merge issue
* Update CHANGELOG.md
2018-06-06 06:53:04 +02:00
Zaki Manian ce850dca3b Switch from bech32cosmos to bech32 2018-06-01 16:23:58 +02:00
Christopher Goes 12a7c0373a
Merge pull request #1072 from ValarDragon/dev/tx_encoding
Change to go-wire UnmarshalJSON for bank transactions
2018-05-31 23:51:27 +02:00
ValarDragon e9545d69ed Switch the default modules to use wire.codec's MarshalJSON instead of json.Marshal 2018-05-31 11:51:15 -07:00
ValarDragon 2d87563856 Change to go-wire UnmarshalJSON for bank transactions
The bank module now uses it's own codec to encode and decode Bank Msgs
into JSON.
2018-05-28 11:26:43 -07:00
Zaki Manian f33f49a840 Almost from scratch reimplementation of bech32cosmos integration. 2018-05-27 13:47:23 +02:00
sunnya97 cb52712660 in progress 2018-05-23 19:49:35 -07:00
Ethan Buchman 4bdcad572b remove gasLimit from NewContext 2018-05-15 22:19:09 -04:00
Christopher Goes 4134bf922c
Address PR comments 2018-05-16 02:06:17 +02:00
Christopher Goes 702ffafa06
Rebase 2018-05-16 01:14:30 +02:00
Christopher Goes 1f8ef62d28
Swap to panic/recover version 2018-05-16 01:13:48 +02:00
Christopher Goes f0e4d24ea3
Basic gas impl, quick testcase 2018-05-16 01:13:47 +02:00
Christopher Goes efc7843fb9
Changes to bank keeper for gas 2018-05-16 01:13:47 +02:00
Christopher Goes 26991803ee
GasMeter & context updates 2018-05-16 01:13:47 +02:00
Rigel 64f445ed22
Merge pull request #985 from LLLeon/master
modify bad syntax for struct tag value
2018-05-14 10:29:11 -04:00
LLLeon f1e441346a x/bank: fix typo 2018-05-13 20:47:26 +08:00
Christopher Goes 2b707f6b0a
AppendTags a function of Tags 2018-05-10 17:37:12 +02:00
Christopher Goes 60b56f9b1c
Slight tags API changes (Jae comments) 2018-05-10 17:36:55 +02:00
Christopher Goes bef7e44f6d
Example tag implementation for CoinKeeper 2018-05-10 17:36:55 +02:00
Christopher Goes 62fc3e2c49
Context-accessible logger field 2018-05-01 13:52:49 +02:00
Sunny Aggarwal af0e71fa0d
got rid of Get on Msg interface 2018-05-01 00:15:15 +02:00
Christopher Goes 5b4fb85f7e
Fn suffix & http.HandlerFunc 2018-04-25 22:32:22 +02:00
Christopher Goes fd40d39556
Only one CoreContext for all REST commands 2018-04-25 16:49:31 +02:00
Christopher Goes 56ac948dc6
REST folder restructure & cleanup 2018-04-25 16:18:06 +02:00
rigelrozanski d28efaac27 many renames / golint compliance 2018-04-19 00:49:24 -04:00
rigelrozanski 996cafe972 register wire, stake changelog, stake genesis update 2018-04-18 12:19:35 -04:00
Christopher Goes f8e44b5b00 Error codespacing (#809)
* Initial codespacing layout (ref #766)
* Add codespace to Router (ref #766)
* Implement Codespacer and update modules
* Default codespaces, testcases
* Update error formatting, codespacer tests
* Add RegisterOrPanic testcase
* Update CHANGELOG
2018-04-17 19:16:21 -07:00
Sunny Aggarwal d2013ec2a0
added state change revert comment 2018-04-17 23:39:57 +02:00
Sunny Aggarwal fcc164fab1
rebase and switch test to amino 2018-04-17 23:39:57 +02:00
Sunny Aggarwal c7bd05f0b8
hard reset 2018-04-17 23:39:52 +02:00
Christopher Goes c7b680a545
Address PR comments 2018-04-10 11:16:30 +02:00
Christopher Goes bd626ba94e
Helper function 2018-04-10 11:16:30 +02:00
Christopher Goes ec98545a1b
Default to next sequence number (closes #807) 2018-04-10 11:16:30 +02:00
Adrian Brink 13521b3f77
Remove deadcode 2018-04-09 17:33:53 +02:00
Ethan Buchman 4bee8c6865 update for tendermint v0.18.0-rc1 2018-04-05 16:31:06 +03:00
Christopher Goes 12f4a21d03
Reuse Tendermint client instance (closes #671) 2018-04-03 22:16:03 +02:00
Christopher Goes 8412215c16
Additional module cleanup 2018-04-03 22:16:03 +02:00
Christopher Goes 7214149f1d
Move client context initialization from viper to separate package 2018-04-03 22:16:03 +02:00
Christopher Goes f5322fa25f
Remove unused imports 2018-04-03 22:15:51 +02:00
Christopher Goes 7a8e00dbb9
Change CoreContext parameters instead of using viper.Set 2018-04-03 22:15:27 +02:00
Christopher Goes 579e5d4cdc
Add CoreContext for CLI/REST options 2018-04-03 22:15:12 +02:00