cosmos-sdk/baseapp
Amaury Martiny 3b9b58c931
Add height in exported genesis (#7089)
* Add height in exported genesis

* +1

* Add test

* Refactor ctx in setupApp

* Use amino in export

* Use tmjson

* Add custom initialVersion (set to 0 for now)

* Add comment

* Add mount in initChainer

* app.LastBlockheight

* InitializeAndSeal in InitChain?

* Revert create store with initial version

* Update to latest iavl

* Check height in test

* Make it work

* Add more tests

* Rename interface

* Use struct isntead of 6 args

* Fix lint

* Remove stray fmt

* Revert go mod/sum

* Install iavl rc3

* Update comments

* Add fee in network

* Typo

* Fix logic in commit

* Fix tests

* Only set initial version on > 1

* Genesis block num = 1

* Fresh chain, genesis block = 0

* Add comments

* Revert Mutable/ImmutableTree

* Allow for zero height

* Fix restart

* Add comments

* Add comments, fix test

* Fix remaining one test

* Add panic test

* Update comment

* Add test for --height

* No cast

* Add check that genesis file exists

* Remove duplicate imports

* Fail early

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Cory <cjlevinson@gmail.com>
2020-09-03 10:11:46 +00:00
..
abci.go Add height in exported genesis (#7089) 2020-09-03 10:11:46 +00:00
baseapp.go Add height in exported genesis (#7089) 2020-09-03 10:11:46 +00:00
baseapp_test.go Add height in exported genesis (#7089) 2020-09-03 10:11:46 +00:00
grpcrouter.go Ensure IBC Proto Registration (#7210) 2020-09-01 20:59:48 +00:00
grpcrouter_helpers.go gRPC interface reflection. (#6722) 2020-08-17 17:02:13 +00:00
grpcrouter_test.go gRPC interface reflection. (#6722) 2020-08-17 17:02:13 +00:00
grpcserver.go Add GRPCBlockHeightHeader in clientCtx gRPC requests (#7021) 2020-08-12 14:42:10 +00:00
helpers.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
options.go Merge PR #7121: Support Event Indexing 2020-08-20 12:19:16 -04:00
params.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
params_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
queryrouter.go x/ibc: alter id requirements (#6227) 2020-05-15 17:24:31 +00:00
queryrouter_test.go Merge PR #5421: Refactor Error Handling 2019-12-27 12:57:54 -05:00
recovery.go Baseapp recovery middleware (#6053) 2020-06-05 16:48:18 +00:00
recovery_test.go Baseapp recovery middleware (#6053) 2020-06-05 16:48:18 +00:00
router.go module: pass route by value (#6404) 2020-06-11 15:37:23 +00:00
router_test.go Concept PR simplify Module (#6231) 2020-06-10 18:48:16 +00:00
state.go