cosmos-sdk/simapp
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
..
helpers Put AccountSequence in SignerInfo (#6997) 2020-08-21 14:20:47 +00:00
params Enable proto JSON generally and remove HybridCodec (#6859) 2020-08-13 13:20:02 +00:00
simd Add height in exported genesis (#7089) 2020-09-03 10:11:46 +00:00
app.go Add height in exported genesis (#7089) 2020-09-03 10:11:46 +00:00
app_test.go Add height in exported genesis (#7089) 2020-09-03 10:11:46 +00:00
config.go Remove dependency of types/module package on x/simulation (#5835) 2020-03-23 12:55:44 +01:00
encoding.go Fix module interface registration (#6834) 2020-07-23 22:45:34 -04:00
export.go Add height in exported genesis (#7089) 2020-09-03 10:11:46 +00:00
genesis.go Enable proto JSON for genesis (#7000) 2020-08-11 14:22:30 +00:00
genesis_account.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
genesis_account_test.go Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
sim_bench_test.go fix hardcoded auth sims (#7135) 2020-08-24 10:55:42 +00:00
sim_test.go Add height in exported genesis (#7089) 2020-09-03 10:11:46 +00:00
state.go Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
test_helpers.go Put AccountSequence in SignerInfo (#6997) 2020-08-21 14:20:47 +00:00
types.go Add height in exported genesis (#7089) 2020-09-03 10:11:46 +00:00
utils.go Add height in exported genesis (#7089) 2020-09-03 10:11:46 +00:00
utils_test.go Implement gRPC Simulate endpoint (#7035) 2020-08-24 14:41:08 +00:00