cosmos-sdk/types
Rafael Tenfen 91a916ec1a
refactor: add option to set bondDenom on simulations (#14529)
## Description




- Add new property `BondDenom` to `SimulationState` struct in `types/module/simulation.go`
- Changed the `x/modules/simulation/genesis.go` mostly to use the new property

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [x] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [x] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed 
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2023-01-08 18:21:51 +00:00
..
address chore: lint tests (#14268) 2022-12-18 23:48:31 +00:00
bech32 chore: [types/bech32] add a fuzzer for DecodeAndConvert (#13775) 2022-11-07 16:01:42 +00:00
errors chore: minor cleanup of types (#13430) 2022-10-02 15:03:03 +02:00
grpc Add GRPCBlockHeightHeader in clientCtx gRPC requests (#7021) 2020-08-12 14:42:10 +00:00
kv refactor: remove store kv dependency (#14144) 2022-12-07 20:57:47 +00:00
mempool chore: lint tests (#14268) 2022-12-18 23:48:31 +00:00
module refactor: add option to set bondDenom on simulations (#14529) 2023-01-08 18:21:51 +00:00
msgservice feat: add proto annotation for Msg services (#13178) 2022-09-14 09:27:45 +00:00
query feat(collections): implement pagination (#14468) 2023-01-06 11:08:31 +00:00
simulation chore: math lib update and type fixes (#12791) 2022-08-02 11:16:40 +00:00
tx chore: lint tests (#14268) 2022-12-18 23:48:31 +00:00
abci.go feat: Settable PrepareProposal handler (#13831) 2022-11-11 11:57:53 -06:00
abci.pb.go refactor: migrate to cosmos/gogoproto (#13070) 2022-09-08 17:27:48 +00:00
account.go refactor: Move x/auth's AccountI and ModuleAccountI interfaces to types package (#13937) 2023-01-03 11:25:09 +01:00
address_race_test.go refactor!: Rename AccAddressFromHex (#11888) 2022-05-06 22:09:36 +00:00
address_test.go chore: lint tests (#14268) 2022-12-18 23:48:31 +00:00
address.go chore(types): add MustAccAddressFromBech32 util func (#12201) 2022-06-09 12:26:07 -04:00
bench_test.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
codec.go Remove ServiceMsgs from ADR-031 (#9139) 2021-04-30 11:00:47 +00:00
coin_benchmark_test.go test: fix BenchmarkCoinsAdditionIntersect panic (#9904) 2021-08-11 02:13:17 -07:00
coin_internal_test.go add sorted check for the coins sub/add fun parameter (#9240) 2021-05-05 15:55:28 +00:00
coin_test.go chore: lint tests (#14268) 2022-12-18 23:48:31 +00:00
coin.go perf: Refactor Coins/Validate to avoid unnecessary map (#14163) 2022-12-07 00:12:25 +01:00
coin.pb.go feat: Add proto annotations for Amino JSON (#13501) 2022-11-07 22:51:51 +00:00
config_test.go Deprecate SetFullFundraiserPath in favor of SetPurpose and SetCoinType (#8629) 2021-02-22 15:14:09 +00:00
config.go chore: fix linting issues exposed by fixing golangci-lint (#12895) 2022-08-11 22:00:24 +02:00
context_bench_test.go perf(context): avoid unnecessary copies in KVStore, TransientStore and CacheContext methods (#14354) 2022-12-19 18:40:40 +00:00
context_test.go chore: lint tests (#14268) 2022-12-18 23:48:31 +00:00
context.go chore: update the event manager modifier on context (#14418) 2022-12-26 14:37:55 +00:00
dec_coin_test.go fix: prevent nil DecCoin creation when converting Coins to DecCoins (#12903) 2022-08-11 21:39:46 +00:00
dec_coin.go fix: prevent nil DecCoin creation when converting Coins to DecCoins (#12903) 2022-08-11 21:39:46 +00:00
denom_internal_test.go chore: lint tests (#14268) 2022-12-18 23:48:31 +00:00
denom.go refactor!: create math go sub module (#11788) 2022-04-28 14:05:21 -04:00
events_test.go fix: improve baseapp event emission (#14356) 2022-12-19 22:45:48 +00:00
events.go refactor(context): Pass EventManager to the context as an interface. (#14384) 2022-12-22 00:29:19 -05:00
handler_test.go refactor: remove suite from chaindecorator handler test #14173 2022-12-06 16:24:23 +00:00
handler.go chore: fix linting issues exposed by fixing golangci-lint (#12895) 2022-08-11 22:00:24 +02:00
invariant_test.go types: tests -> test suites migration (#7405) 2020-09-29 13:29:10 +02:00
invariant.go Merge PR #4832: print all failed invariants only 2019-08-05 14:21:44 -04:00
math.go refactor: Move sdk.Dec to math package (#12634) 2022-07-20 15:13:45 +00:00
proto.go refactor: migrate to cosmos/gogoproto (#13070) 2022-09-08 17:27:48 +00:00
result_test.go chore: lint tests (#14268) 2022-12-18 23:48:31 +00:00
result.go refactor!: remove broadcast mode block (#12659) 2022-09-23 15:16:31 +00:00
router.go chore: types audit (#14258) 2022-12-12 10:47:42 -05:00
staking_test.go revert: Revert "feat: staking config (#10988)" (#11446) 2022-03-24 12:26:25 +01:00
staking.go feat: overwrite default denom in init cmd (#13535) 2022-10-13 18:24:28 +02:00
store_internal_test.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
store_test.go refactor: remove global metrics in store (#14439) 2022-12-30 14:46:29 +01:00
store.go refactor: remove store kv dependency (#14144) 2022-12-07 20:57:47 +00:00
tx_msg_test.go feat: add draft-proposal for x/group (#13353) 2022-09-22 00:53:02 +02:00
tx_msg.go feat: add draft-proposal for x/group (#13353) 2022-09-22 00:53:02 +02:00
utils_test.go feat: add FormatTime and ParseTimeString methods (#12995) 2022-08-22 23:53:09 +02:00
utils.go chore: types audit (#14258) 2022-12-12 10:47:42 -05:00