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
9b5babba81
sort coins in genesis
2018-04-05 14:55:10 +03:00
Ethan Buchman
be05bf4343
remove InitGenesis
2018-04-02 18:14:42 +03:00
mossid
9a4f9345cf
in progress
2018-03-31 20:19:22 +02:00
mossid
549896128d
in progress
2018-03-31 20:01:39 +02:00
mossid
f1d27e95ff
TestHandler -> TestIBCMsgs
2018-03-31 19:42:24 +02:00
mossid
d80e6540c2
merge commit
2018-03-31 19:42:06 +02:00
mossid
12a17f6996
merge commit
2018-03-31 19:40:40 +02: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
Ethan Buchman
55e72781ce
basecoin: uncomment test
2018-03-30 13:40:04 +03: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
rigelrozanski
658f58015f
...
2018-03-25 00:27:29 +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
Joon
e80f7b040c
Merge branch 'develop' into joon/ibc-mvp1
2018-03-19 22:53:58 +01:00
mossid
3ae618fd4a
comment out TestGenesis
2018-03-19 21:08:55 +01:00
Adrian Brink
54b162f5c3
Merge branch 'develop' into joon/ibc-mvp1
2018-03-18 17:11:34 +01:00
Adrian Brink
23191aee68
Work out wire for IBC module
2018-03-18 15:47:17 +01:00
Adrian Brink
6c9b62d461
Add errors to IBC module
2018-03-18 14:51:08 +01:00
Adrian Brink
95a5a7c9a0
IBC implementation almost done
2018-03-18 13:32:16 +01:00
Sunny Aggarwal
3e91e12a2f
moved errors to sdk from bank
2018-03-18 03:42:54 +01:00
Ethan Buchman
dd4a86b856
x/auth: crank the test coverage
2018-03-17 21:20:24 +01:00
Ethan Buchman
3babf8c2d9
fix and clean fees and x/auth
2018-03-17 19:54:18 +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
Ethan Buchman
8f03b181c7
examples/basecoin/app: fix test by using StdSignDoc
2018-03-13 11:54:22 +01:00
rigelrozanski
29cd41e5e4
basecoin app_test is cool now
2018-03-13 02:58:09 +01:00
rigelrozanski
e7777cc7ca
cool module renames
2018-03-13 02:57:14 +01:00
rigelrozanski
b9691f1086
cool module test fixes
2018-03-13 02:57:14 +01:00
Ethan Buchman
661d0fd7e8
types: StdSignDoc includes sequence for each sig
2018-03-13 01:42:13 +01:00
Ethan Buchman
e4da8ebee2
fixes from rebase
2018-03-13 01:42:13 +01:00
Ethan Buchman
a05ea5fcc9
implement replay protection
2018-03-13 01:42:13 +01:00
Ethan Buchman
70e9f52f76
examples/bascoin/app: clean tests
2018-03-13 01:42:13 +01:00
rigelrozanski
b861b4692d
wip app tests
2018-03-06 00:56:03 +00:00
rigelrozanski
7b0a5fb043
add cool msg to codec
2018-03-05 00:55:23 +00:00
rigelrozanski
131130b7a4
basecoin upgrade without CLI
2018-03-04 17:21:37 +00:00
Ethan Buchman
630a5fe579
revert to old go-wire
2018-03-02 04:24:07 -05:00
Ethan Buchman
62d6a5de46
crypto.Address -> sdk.Address
2018-03-02 02:49:07 -05:00
Ethan Buchman
cba7379f78
dont mount multiple stores while its broken
2018-03-01 02:03:26 -05:00
Ethan Buchman
2047abc8bc
add tests to show mounting multiple stores is broken. see #532
2018-03-01 02:00:44 -05:00
rigelrozanski
3be46395cf
restructure to remove deps on example
2018-03-01 02:36:57 +00:00
rigelrozanski
5bc5135c1b
wire
2018-03-01 02:36:57 +00:00
rigelrozanski
1d3904dfd3
bank registers crypto
2018-03-01 02:36:57 +00:00
Ethan Frey
67e896dcaf
Clean up sendtx example
2018-03-01 02:36:57 +00:00
Ethan Frey
f481900b23
Hacked together sendtx - basecoin parse logic fails
2018-03-01 02:36:57 +00:00
Adrian Brink
40c3465ec5
Add multiple routes simultaneously
...
closes #329
2018-02-28 17:27:20 +00:00
Ethan Buchman
588acc272e
baseapp: dont save header for now. use DeliverTx state in InitChain ( fixes #474 )
2018-02-27 23:07:54 -05:00
zramsay
0e93f694d6
basecoin/tests: send real tx, check balances ( #471 )
2018-02-19 02:31:52 +00:00
Ethan Buchman
5019700425
Set(Begin/End)Blocker and some comments
2018-02-18 13:48:36 -05:00
Ethan Buchman
958a632eed
baseapp: ctxCheck and ctxDeliver, begin/endBlocker
2018-02-17 18:14:15 -05:00
Ethan Buchman
8d8f4114a8
x/sketchy -> examples/basecoin/x/sketchy
2018-02-17 16:32:30 -05:00
Ethan Buchman
c31f871de6
finish removing TestApp and TestTx
2018-02-17 16:32:30 -05:00
Ethan Buchman
c56b6254de
update basecoin for baseapp changes - still need to fix tests
2018-02-17 16:32:30 -05:00
rigelrozanski
1555c4876e
pretty good refactor
2018-02-17 16:32:30 -05:00
rigelrozanski
938ee94e9e
WIP refactor working
2018-02-17 16:32:30 -05:00
rigelrozanski
6681904af9
wip refactoring basecoin
2018-02-17 16:32:30 -05:00
rigelrozanski
44536faf08
wip refactoring basecoin
2018-02-17 16:32:30 -05:00
rigelrozanski
f446b94ac7
wip basecoin refactoring
2018-02-17 16:32:30 -05:00
rigelrozanski
34ff225c31
working
2018-02-17 16:32:30 -05:00
rigelrozanski
890fadc8c3
wip refactor examples/basecoin
2018-02-17 16:32:30 -05:00
Adrian Brink
8837af66bd
Refactor CoinMapper
...
CoinMapper is now called CoinKeeper to differentiate it from
AccountMapper. A Mapper retrieves things from a store. A Keeper exposes
functionality of coins and maintain invariants.
bank.NewHandler takes a CoinKeeper instead of the entire AccountMapper.
2018-02-13 13:33:19 -05:00
Ethan Buchman
d9ebe34c32
fixes from review
2018-02-13 07:30:51 -05:00
rigelrozanski
658d7633a3
cleanup
2018-02-13 10:28:24 +00:00
rigelrozanski
ed662566eb
remove genesis of checkTx
2018-02-12 12:55:22 +00:00
rigelrozanski
0bab936d70
initgen tests complete
2018-02-09 17:07:54 +00:00
Ethan Frey
b09653c9ea
Fix init state bug
2018-02-09 18:04:18 +01:00
rigelrozanski
fd1684ab6b
...
2018-02-09 16:56:23 +00:00
rigelrozanski
2b9633db4a
working genesis tests
2018-02-09 16:24:21 +00:00
rigelrozanski
7206c434d4
genesis exisiting tests pass
2018-02-09 12:48:11 +00:00
rigelrozanski
17acf9e18d
working
2018-02-09 04:33:42 +00:00
rigelrozanski
849139ebeb
working
2018-02-08 21:16:33 +00:00
rigelrozanski
6eaafa496a
wip genesis parsing
2018-02-08 10:36:37 +00:00
rigelrozanski
7643dea255
genesis wip compiles
2018-02-08 10:36:37 +00:00
rigelrozanski
40fd4589c1
init genesis WIP, also making golint compliant
2018-02-08 10:36:13 +00:00