Commit Graph

87 Commits

Author SHA1 Message Date
Sunny Aggarwal 161cb474d4 Account Numbers for Replay Protection with Account Pruning (#1077)
* in progress
* passes current tests
* added tests and got working
* changelog and docs
* removed prints
* oops
* works!
* issue in test_cli
* number 9 number 9 number 9
* at least it does only the 9 issue now
* hallelujah it works!
* removed print statement
* rebased
* gah
2018-06-12 04:30:54 +02:00
Christopher Goes 3fbee11ccc
Merge PR #1142: Export validators to genesis
* Validator export skeleton
* Update export command, add tests, update CHANGELOG
* Rename exportAppState to exportAppStateAndTMValidators
2018-06-06 18:38:13 +02:00
Christopher Goes be7ec5bc07
Merge PR #1115: Update SDK to ABCI v11 2018-06-05 01:42:01 +02:00
rigelrozanski 0ef3259a39 revised use of EndBlock/BeginBlock, basecoin updated for staking/slashing 2018-06-01 14:24:48 -07:00
Christopher Goes 95c5baf449
Rebase & squash slashing 2018-05-28 21:55:27 +02:00
Sunny Aggarwal d3bdb09ffc passes, needs tests 2018-05-25 20:29:40 -07:00
sunnya97 5d7c3af1b8 works 2018-05-23 22:09:01 -07:00
Sunny Aggarwal ea6d3e8efc should work maybe? 2018-05-15 16:52:30 -04:00
Christopher Goes 81ac153e7d
Fix testcase 2018-04-28 02:50:54 +02:00
rigelrozanski f7587f7847 export refactor, lcd tests borken 2018-04-27 20:47:35 -04:00
rigelrozanski 318e924145 refactor 2018-04-27 20:36:11 -04:00
Christopher Goes ad77affb53 Add IterateAccounts & account export 2018-04-27 20:04:29 -04:00
Christopher Goes 10d2e5ae40 Move generateApp & exportApp to baseapp/helpers 2018-04-27 20:04:29 -04:00
Christopher Goes 724c1eced5 Minor cleanup 2018-04-27 20:03:43 -04:00
Christopher Goes f92e83d2e0 Swap to general `export` command 2018-04-27 20:02:26 -04:00
rigelrozanski 260ab69e4f cleanup, move simplestaking to democoin 2018-04-26 22:59:30 -04:00
rigelrozanski 201908949a stake init overhaul 2018-04-26 14:26:39 -04:00
Sunny Aggarwal 016a1c8ec9 removed seal 2018-04-22 23:36:15 -07:00
rigelrozanski d28efaac27 many renames / golint compliance 2018-04-19 00:49:24 -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 474fa1dfd1
Switch to BurnFeeHandler 2018-04-17 01:06:07 +02: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 49b8978454 Swap all examples & testcases to use automatic DB namespacing 2018-04-14 17:05:50 -07:00
Jae Kwon c4bc888375 Fix almost all tests 2018-04-07 00:02:00 -07:00
Jae Kwon a44e871dc7 WIP, aminoification 2018-04-06 16:20:14 -07:00
Ethan Buchman be05bf4343 remove InitGenesis 2018-04-02 18:14:42 +03:00
Christopher Goes 10a22f20ba
Remove 'cool' and 'sketchy' modules from basecoind 2018-03-30 16:32:11 +02:00
Ethan Buchman d25593afc4
Merge pull request #726 from cosmos/adrian/mountmultipledbs
Mount every single store with its own DB
2018-03-30 06:41:10 -04:00
Adrian Brink 0789a5eed0
NewBasecoinApp takes a map of databases
NewBasecoinApp takes a map[string]dbm.DB . This stabilises the API,
since it allows us to add more stores without a breaking change. The
convention is that the keys of the dbs correspond to the names of the
capKeys.
2018-03-30 12:18:12 +02:00
Adrian Brink fcc8a9a415
Address comments
I hope this is correct. I'm feely pretty dizzy right now from the fish
food.
2018-03-29 20:44:56 +02:00
Sunny Aggarwal bc1d9e6f93 fixed package name 2018-03-29 06:40:06 +02:00
Sunny Aggarwal 9d9001ab62 renamed staking to simplestake 2018-03-29 06:33:45 +02:00
Adrian Brink 243564c233
Tests can never be proven to be non-deterministic
Our tests are at best probabilistic deterministic.
2018-03-28 15:08:59 +02:00
Adrian Brink 8574f923e8
Mount every single store with its own DB 2018-03-28 14:33:48 +02:00
Christopher Goes 90304fcfef Rebase onto #690 (tiny fix) 2018-03-28 11:24:31 +02:00
Christopher Goes 5b642062a7 Initial per-module genesis initialization 2018-03-28 11:24:31 +02:00
Sunny Aggarwal 0be651fd27 address rigels review 2018-03-27 19:42:09 +02:00
Sunny Aggarwal 131289ce70 everything but IBC module 2018-03-25 00:29:33 +01:00
Sunny Aggarwal 2fc5cc6bcd updated app.go 2018-03-25 00:29:33 +01:00
Sunny Aggarwal b118b34695 worked on coolKeeper 2018-03-25 00:29:33 +01:00
Sunny Aggarwal 917d431f39 updated app.go 2018-03-25 00:28:41 +01:00
Sunny Aggarwal 8b19ffa7c1 worked on coolKeeper 2018-03-25 00:27:29 +01:00
Ethan Buchman 723889570e ErrTxParse->ErrTxDecode; check for empty bytes in account and tx 2018-03-21 02:44:17 +01:00
Adrian Brink 75674a9ec3
Implement Simple Staking as a module
The simple staking module allows validators to bond and add more stake
to their bond. It doesn't allow partial unbond and has no delegation.
The staking power per validator though is correctly reflected within the
consensus.
2018-03-20 12:14:35 +01:00
mossid 2c0b172653 apply comments 2018-03-20 00:22:49 +01:00
Adrian Brink 23191aee68
Work out wire for IBC module 2018-03-18 15:47:17 +01:00
Adrian Brink 95a5a7c9a0
IBC implementation almost done 2018-03-18 13:32:16 +01:00
mossid 8a99041512 move ibc_test code to basecoin/app_test 2018-03-15 17:24:31 +01:00
Adrian Brink cd79574927
Add IBC to basecoind 2018-03-15 15:07:01 +01:00