Commit Graph

300 Commits

Author SHA1 Message Date
rigelrozanski c69c145964 fix stake app tests 2018-05-17 09:19:05 -04:00
rigelrozanski eb87a5dbbf introduce UpdateSharesLocation to deal with different share types 2018-05-17 09:19:05 -04:00
rigelrozanski 675dc5df15 staking refactor compiling 2018-05-17 09:19:05 -04:00
rigelrozanski 6d0c788185 working refactoring 2018-05-17 09:17:40 -04:00
rigelrozanski fa64487e65 working fee distribution reorg 2018-05-17 09:17:40 -04:00
mossid 22e9fc276d GetDelegated -> GetBondAmount 2018-05-17 09:17:40 -04:00
mossid 2e9e2835ff add delegation 2018-05-17 09:17:40 -04:00
mossid 79fdbe2f3a add ValidatorSet, remove methods 2018-05-17 09:17:40 -04:00
rigelrozanski ed5d088824 renaming and refactoring for fees 2018-05-17 09:17:14 -04:00
rigelrozanski 750cbc53ec stake cleanup, functionality for total prevote power 2018-05-17 09:17:14 -04:00
rigelrozanski aeabdcae5d add absent validators to context 2018-05-17 09:15:57 -04:00
rigelrozanski d871605241 staking fee distribution working commit 2018-05-17 09:15:06 -04:00
mossid 02a267c292 remove cdc from validator_set.go 2018-05-17 09:15:06 -04:00
mossid 755f79d52d GetValidators -> Validators, sdk.Validator=abci.Validator 2018-05-17 09:15:06 -04:00
mossid 60869ff427 implement TotalPower 2018-05-17 09:15:06 -04:00
mossid 9d7e893226 rebase on develop 2018-05-17 09:15:06 -04:00
Ethan Buchman 4bdcad572b remove gasLimit from NewContext 2018-05-15 22:19:09 -04:00
Christopher Goes 3d5b048444
Remove txGasLimit, update tests 2018-05-16 02:31:52 +02:00
Christopher Goes d55ba2ca7d
Add p2p filter functions & tests 2018-05-16 01:15:07 +02:00
Christopher Goes 147cf9f897
Move GasKVStore to /store 2018-05-16 01:14:30 +02:00
Christopher Goes 1c4ed7b833
Gas-wrap ctx.KVStore 2018-05-16 01:13:48 +02:00
Christopher Goes 1f8ef62d28
Swap to panic/recover version 2018-05-16 01:13:48 +02:00
Christopher Goes af379b6cf6
Linter fixes 2018-05-16 01:13:48 +02:00
Christopher Goes ddb3b36b7b
Pass gas consumed back in result struct 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
Christopher Goes 46f9445f06
Add gas limit / gas consumed to context 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 5da41a6c88 types: modify bad syntax for struct tag value 2018-05-13 17:34:56 +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 f103cd412d
Linter fix 2018-05-10 17:36:55 +02:00
Christopher Goes bef7e44f6d
Example tag implementation for CoinKeeper 2018-05-10 17:36:55 +02:00
rigelrozanski 677559bf6c cwgoes comments 2018-05-09 18:24:51 -04:00
rigelrozanski d44c7afa30 add range queries, add candidates query 2018-05-08 15:57:12 -04:00
rigelrozanski dd9b5e78f7 cleanup stake marshalJson -> marshalBinary 2018-05-01 16:41:04 -04:00
Jae Kwon cb2491bbb8 Use GoAmino 0.9.9 and change impl of Rational.MarshalAmino 2018-05-01 11:31:56 -07:00
Christopher Goes 2376f231c2
Rebase, update changelog & testcase 2018-05-01 14:00:23 +02:00
Christopher Goes 36e096d4bb
Update testcase after rebase 2018-05-01 13:52:49 +02:00
Christopher Goes db3a82fc97
Update changelog, add simple testcase 2018-05-01 13:52:49 +02:00
Christopher Goes ad6c7f0be4
Remove MemLogger, update baseapp 2018-05-01 13:52:49 +02:00
Christopher Goes c7cd21955a
Add MemLogger 2018-05-01 13:52:49 +02:00
Christopher Goes 62fc3e2c49
Context-accessible logger field 2018-05-01 13:52:49 +02:00
Rigel a674d75016
Merge pull request #895 from cosmos/sunny/remove-msg-get
Remove Get function from Msg interface
2018-04-30 22:12:19 -04:00
Christopher Goes a6589949fb
Remove unnecessary code 2018-05-01 00:19:28 +02:00
Sunny Aggarwal 9f4f35a6db
removed Get from account 2018-05-01 00:15:27 +02:00
Sunny Aggarwal af0e71fa0d
got rid of Get on Msg interface 2018-05-01 00:15:15 +02:00
rigelrozanski 4a834ae9c5 rational cleanup 2018-04-30 17:39:13 -04:00
rigelrozanski ce32117399 rational embedes bigRat 2018-04-30 17:21:14 -04:00
rigelrozanski 318e924145 refactor 2018-04-27 20:36:11 -04:00
rigelrozanski 10ddd7a3d3 refactor export function, working 2018-04-27 20:06:50 -04:00
Christopher Goes ad77affb53 Add IterateAccounts & account export 2018-04-27 20:04:29 -04:00
Christopher Goes ff66629b68 Example WriteGenesis implementation 2018-04-27 20:00:58 -04:00
rigelrozanski 260ab69e4f cleanup, move simplestaking to democoin 2018-04-26 22:59:30 -04:00
mossid 06d47bebed add comments for golint 2018-04-25 14:45:22 +02:00
mossid 8ff316c99e merge from develop 2018-04-25 14:15:34 +02:00
mossid 87edaa80d4 add comments, clarify Iterate() 2018-04-25 13:44:29 +02:00
mossid 88a11ec0bb apply requests 2018-04-20 23:25:43 +02:00
mossid 91767fc6d3 add GenericMapper 2018-04-19 21:07:56 +02:00
mossid e00d03aabd in progress 2018-04-19 21:07:56 +02:00
mossid 1b72a6c40d apply requests 2018-04-19 21:07:56 +02:00
mossid 373e408fad expose QueueInfo 2018-04-19 21:07:56 +02:00
mossid fbfdbd4266 stdlib -> lib 2018-04-19 21:07:56 +02:00
mossid 2c10c868f4 prefixed storekey 2018-04-19 21:07:56 +02:00
mossid cc07dce8f2 mock store 2018-04-19 21:07:56 +02:00
mossid 36c6f72690 add comment & write test for Iterate()s 2018-04-19 21:07:56 +02:00
rigelrozanski 5c78c382f9 stdlib linting 2018-04-19 13:04:40 -04:00
rigelrozanski d28efaac27 many renames / golint compliance 2018-04-19 00:49:24 -04:00
rigelrozanski c63a545206 stake handler tests 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
Christopher Goes 3bbb15f454
Add tx to feeHandler, move around in example apps 2018-04-16 14:58:19 +02:00
Christopher Goes 39ee95abe4
Refactor to use FeeHandler function 2018-04-16 14:15:03 +02:00
Christopher Goes e870163ec0
Implement fee pool pseudo-account in sdk.AccountMapper 2018-04-16 13:59:56 +02:00
rigelrozanski bdc7fe56ba cachecontext comments and changelog update 2018-04-10 15:44:49 -04:00
Joon 1c8094c6bd
Update context.go 2018-04-10 17:07:54 +02:00
mossid 8ed15f7e9d typo 2018-04-10 17:06:02 +02:00
mossid 442e677300 add CacheContext 2018-04-10 17:04:27 +02:00
Rigel 18ac0f99d1
Merge pull request #767 from cosmos/sunny/IAVLsubspace
KVStore Subspaces
2018-04-09 20:22:38 -04:00
Sunny Aggarwal 69448f90e5 added just FF byte 2018-04-10 01:32:04 +02:00
Sunny Aggarwal 9b40cf184f added PrefixBytesTest 2018-04-08 00:58:03 +02:00
Jae Kwon c4bc888375 Fix almost all tests 2018-04-07 00:02:00 -07:00
Sunny Aggarwal 4bcfcd5cc8 added comments and got rid of fixed variable 2018-04-06 11:29:25 +02:00
Sunny Aggarwal 348e28a4b5
Merge branch 'develop' into sunny/IAVLsubspace 2018-04-05 22:02:21 +02:00
Sunny Aggarwal f10983ba06 address review 2018-04-05 21:54:30 +02:00
Ethan Buchman 9b5babba81 sort coins in genesis 2018-04-05 14:55:10 +03:00
Christopher Goes 0888096677
Replace Result.ToQuery with Error.QueryResult (closes #765) 2018-04-03 22:15:52 +02:00
Sunny Aggarwal c441ccdf01 added more test 2018-04-01 18:00:28 +02:00
rigelrozanski e5199f0c7c fix validator keeper functionality, add testing 2018-03-28 19:01:50 +02:00
rigelrozanski e25b78055b dep update
...

...
2018-03-28 19:01:50 +02:00
rigelrozanski 4e45d7368b rebase fixes 2018-03-28 19:01:50 +02:00
rigelrozanski a4ab2fcf2f staking passing, low test coverage 2018-03-28 19:01:50 +02:00
rigelrozanski db0a275b23 rational to Exposed Fields 2018-03-28 19:01:50 +02:00
rigelrozanski 7da2789535 Rational -> Rat 2018-03-28 19:01:50 +02:00
rigelrozanski 3f0d7edb06 gettin' stakin' tests up to snuff 2018-03-28 19:01:50 +02:00
Ethan Buchman af6c1a3f02 types/rational: use encoding/json
minor fixes

working on compiling
2018-03-28 19:01:50 +02:00
rigelrozanski dc8636390c refactor, staking uses addresses instead of pubkey
staking refactoring working

working
2018-03-28 19:01:50 +02:00
rigelrozanski 292e156872 werkin to compile
working

working refactor staking
2018-03-28 19:01:49 +02:00
rigelrozanski c8c85dfbc8 ported over rational 2018-03-28 19:01:49 +02:00
rigelrozanski 514470b4d6 working porting rational 2018-03-28 19:01:49 +02:00
rigelrozanski 1ed7206efe added rational to types 2018-03-28 19:01:49 +02:00