Aditya
f049a56376
Merge PR #1266 : Multiple messages
...
* Started work on multiple msgs, types and x/auth tests pass
* Fix issues in x, examples, and baseapp
* Added baseapp tests for multiple msgs
* Documentation fixes
* Fix baseapp tests with sdk.Int
* Modify test
* Transaction handling is now atomic
* Fix test comment
* Minor doc fixes and code cleanup
* Added baseapp result changes
* Use address in validator update accumulation
* Started work on multiple msgs, types and x/auth tests pass
* Fix issues in x, examples, and baseapp
* Added baseapp tests for multiple msgs
* Documentation fixes
* Fix baseapp tests with sdk.Int
* Modify test
* Transaction handling is now atomic
* Fix test comment
* Minor doc fixes and code cleanup
* Added baseapp result changes
* Use address in validator update accumulation
* Added ante tests for multisigner
* Remove validatorUpdates from tx result
* Better error logs
* Put Memo in StdSignBytes and formatting
* Updated changelog
2018-06-22 00:05:25 +02:00
Christopher Goes
918e217e1f
Merge PR #1280 : Implement simple transaction memos
...
* AltBytes -> Memo, memo CLI support & thread-through
* Check memo size, update changelog
* Update existing testcases
* Nuke CircleCI caches
* Charge gas proportional to memo size
* Fix gas allocations in ante handler testcases
* Add testcases
* Update changelog
* Fix tiny CLI bug & add to CLI tests
* Add '--memo' to gaiacli
* Add testcase for large memos
* Address PR comments
2018-06-20 21:27:36 +02:00
Fabian
42e72956f4
Merge PR #1252 : Query node version
...
introduce non store queries
add version query
update lcd spec
changelog
moved version query into baseapp
2018-06-14 07:49:21 +02:00
Dev Ojha
bd362ee590
Merge PR #1090 : Switch away from ephemeral ports
...
* Switch ports 4665x to be 2655x
This is done so the default ports aren't in the linux kernel's default ephemeral port range.
* Missed one doc file, change dep so gaiad works
* Update changelog, fix Gopkg.lock
2018-06-14 00:13:51 +02:00
David Kajpust
ec2fedd36c
Merge PR #1227 : Set all Error strings 1st letters to lowercase. Fixes issue #1154
2018-06-13 21:13:22 +02:00
Dev Ojha
fefd1d2d8b
Merge PR #1075 : Add more baseapp tests
...
* Complete TestCheckTx
* Add a test for delivering invalid transaction types
* Add test for loading of older versions
2018-06-05 06:55:02 +02:00
Christopher Goes
be7ec5bc07
Merge PR #1115 : Update SDK to ABCI v11
2018-06-05 01:42:01 +02:00
Christopher Goes
aed5d94b1c
Remove absent validators from sdk.NewContext
2018-05-29 02:26:17 +02:00
Christopher Goes
95c5baf449
Rebase & squash slashing
2018-05-28 21:55:27 +02:00
sunnya97
5d7c3af1b8
works
2018-05-23 22:09:01 -07: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
3d5b048444
Remove txGasLimit, update tests
2018-05-16 02:31:52 +02:00
Christopher Goes
03e220700e
Unexport RunTxMode (fix linter)
2018-05-16 02:18:25 +02:00
Christopher Goes
4134bf922c
Address PR comments
2018-05-16 02:06:17 +02:00
Christopher Goes
d55ba2ca7d
Add p2p filter functions & tests
2018-05-16 01:15:07 +02:00
Christopher Goes
a801874aba
PR comment: codec => cdc
2018-05-16 01:14:31 +02:00
Christopher Goes
ce38d8f423
Minor fix, testcases
2018-05-16 01:14:31 +02:00
Christopher Goes
8c1c40b89a
New store query prefixes (ref #979 )
2018-05-16 01:13:49 +02:00
Christopher Goes
a240554695
SimulateTx through Query
2018-05-16 01:13:49 +02:00
Christopher Goes
097646e6df
Correct semantics for simulateDeliver
2018-05-16 01:13:49 +02:00
Christopher Goes
da5fe2ef13
Add baseapp.CheckFull
2018-05-16 01:13:49 +02:00
Christopher Goes
ca4ef9a2fc
Add baseapp test for out-of-gas handling
2018-05-16 01:13:48 +02:00
Christopher Goes
09517056b0
Catch out-of-gas panics
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
26991803ee
GasMeter & context updates
2018-05-16 01:13:47 +02:00
Christopher Goes
ad6c7f0be4
Remove MemLogger, update baseapp
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
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
10d2e5ae40
Move generateApp & exportApp to baseapp/helpers
2018-04-27 20:04:29 -04:00
rigelrozanski
260ab69e4f
cleanup, move simplestaking to democoin
2018-04-26 22:59:30 -04:00
rigelrozanski
1f9184a24b
basic go-linting // moved corecontext
2018-04-18 15:39:32 -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
49b8978454
Swap all examples & testcases to use automatic DB namespacing
2018-04-14 17:05:50 -07:00
Ethan Buchman
f5c285f5ee
more MarshalJSONIndent
2018-04-09 23:18:56 +03:00
Jae Kwon
49fdf80d9d
WIP commit
2018-04-06 17:25:08 -07:00
Christopher Goes
0888096677
Replace Result.ToQuery with Error.QueryResult ( closes #765 )
2018-04-03 22:15:52 +02:00
Ethan Buchman
f40e01aada
fix test
2018-04-02 18:30:30 +03:00
Ethan Buchman
be05bf4343
remove InitGenesis
2018-04-02 18:14:42 +03: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
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
Adrian Brink
8574f923e8
Mount every single store with its own DB
2018-03-28 14:33:48 +02:00
Christopher Goes
578392d4b2
Address Rigel review - also run gofmt
2018-03-28 11:24:31 +02:00
Christopher Goes
5b642062a7
Initial per-module genesis initialization
2018-03-28 11:24:31 +02:00
Ethan Buchman
eb23803833
remove tx.GetFeePayer
2018-03-17 18:34:06 +01:00
Rigel
7627323c93
Merge pull request #619 from lino-network/bugfix
...
Fix Issue#618
2018-03-14 16:05:59 +01:00
Yukai Tu
651e931763
Fix Issue#618
2018-03-13 11:53:45 -07: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
0469358286
rebase fixes
2018-03-01 03:17:48 +00:00
Ethan Frey
e8676921f7
Basecoind start works with upgraded tendermint
2018-03-01 02:36:08 +00:00
Ethan Frey
f93947f3ab
Update tendermint, can parse genesis in start
2018-03-01 02:34:05 +00:00
Ethan Frey
438d18e059
Pulled most of gaiad into server, with rough implementation
2018-03-01 02:30:13 +00:00
Adrian Brink
40c3465ec5
Add multiple routes simultaneously
...
closes #329
2018-02-28 17:27:20 +00:00
Ethan Buchman
2cefcf9e6c
baseapp: introduce checkState and deliverState to wrap their ms and ctx
2018-02-27 23:46:27 -05:00
Ethan Buchman
0a87bfa26f
Merge pull request #521 from cosmos/bucky/fix-multistore-load
...
baseapp: fix restarting
2018-02-27 23:19:43 -05: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
Ethan Buchman
7f44470ad5
baseapp: save header on commit. fixes #507
2018-02-27 22:29:26 -05:00
Ethan Buchman
57e8030b55
Merge pull request #510 from cosmos/adrian/checktx
...
REVIEW: Don't abort after AnteHandler if CheckTx
2018-02-27 19:55:46 -05:00
Adrian Brink
d79473d1ab
Go through all tests
2018-02-26 11:59:48 +01:00
Adrian Brink
ec4711afd8
Don't abort after AnteHandler if CheckTx
...
Currently we are aborting running a transaction after the AnteHandler in
case it is a checkTx. This means that the handler never gets the chance
to check the validity of a transaction. Furthermore the AnteHandler
should not handle CheckTx logic.
The AnteHandler should handle global validation, whereas each Handler
should handle module validation.
2018-02-25 21:59:11 +01:00
zramsay
dfa9bc8117
baseapp: start TestInfo ( #471 )
2018-02-19 18:02:52 +00:00
Ethan Buchman
5019700425
Set(Begin/End)Blocker and some comments
2018-02-18 13:48:36 -05:00
Ethan Buchman
b2a12628c7
fix comment
2018-02-17 19:24:40 -05:00
Ethan Buchman
31ce53e256
baseapp: more tests
2018-02-17 19:13:22 -05:00
Ethan Buchman
958a632eed
baseapp: ctxCheck and ctxDeliver, begin/endBlocker
2018-02-17 18:14:15 -05:00
Ethan Buchman
c31f871de6
finish removing TestApp and TestTx
2018-02-17 16:32:30 -05:00
Ethan Buchman
f6cea66e2e
test and fix InitChain
2018-02-17 16:32:30 -05:00
Ethan Buchman
c7df77ce3c
simplify baseapp and InitStater -> InitChainer
2018-02-17 16:32:30 -05:00
Ethan Buchman
1698e4e2d8
small test and some comments
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
Ethan Buchman
d9ebe34c32
fixes from review
2018-02-13 07:30:51 -05: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
da538a8bf6
more comments cleanup
2018-02-08 10:36:37 +00:00
rigelrozanski
41ae60c1fb
working
2018-02-08 10:36:36 +00:00
rigelrozanski
40fd4589c1
init genesis WIP, also making golint compliant
2018-02-08 10:36:13 +00:00
Ethan Buchman
d48c819207
minor things
2018-02-06 17:20:29 -05:00
Ethan Frey
8765fa32fa
Expose rootMultiStore query in BaseApp
2018-02-06 17:20:29 -05:00
Ethan Frey
ff6fbe9e80
Expose NewContext, so I can initialize accounts
2018-02-06 19:35:25 +01:00
Jae Kwon
b95b67d520
Separation of Tx from Msg; CodeType
2018-01-26 06:54:03 -08:00
Jae Kwon
05036e35d2
CacheWrap after AnteHandler
2018-01-26 06:54:03 -08:00
Jae Kwon
c6bad0b325
Add first Basecoin test harness
2018-01-26 06:54:03 -08:00
Jae Kwon
ac7fa3f59f
Require BeginBlock for NewContext
2018-01-26 06:54:03 -08:00
Jae Kwon
a5fa1874c5
Expose way to get Context
2018-01-26 06:54:03 -08:00
Jae Kwon
55c4bc873c
Remove baseapp/data
2018-01-22 06:20:46 -08:00
Jae Kwon
be665d53fe
Substore->Store; BaseApp has db; Mapper
2018-01-22 06:20:46 -08:00
Jae Kwon
633eaa87b3
cosmos-sdk/app.App -> cosmos-sdk/baseapp.BaseApp
2018-01-20 20:13:46 -08:00