cosmos-sdk/testutil
Likhita Polavarapu fb257ae9d9
feat: add Context as arg to NewIntegrationApp (#15779)
## Description

Closes: #XXXX

This PR adds `sdk.Context` arg to `NewIntegrationApp`. This allows us to set the context updatable while verifying `begin/end block` logic in integration tests.

---

### 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...

* [ ] 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
* [ ] 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
* [ ] 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)
* [ ] 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-04-11 14:55:55 +00:00
..
cli refactor: remove cometbft/libs/cli import (#15673) 2023-04-03 14:48:02 +00:00
cmdtest test: add cmdtest package (#15251) 2023-03-06 19:40:24 +00:00
configurator refactor: use app config configurator for removing boilerplate (#15499) 2023-03-22 07:29:33 +01:00
integration feat: add Context as arg to NewIntegrationApp (#15779) 2023-04-11 14:55:55 +00:00
mock feat!: use cosmossdk.io/log logger (#15011) 2023-02-27 21:36:22 +00:00
network style: more linting (#15618) 2023-03-30 13:00:18 +00:00
sims style: various linting fixes (#15675) 2023-04-03 17:00:44 +00:00
testdata style: gofumpt linting (#15605) 2023-03-30 06:27:38 +00:00
testnet feat(testnet): allow a single active Comet RPC service (#15711) 2023-04-06 21:06:33 +00:00
account.go refactor(crisis): CLI tests using Tendermint mock (#12874) 2022-08-10 13:54:31 +00:00
compare.go test: remove api that should not be used (#15678) 2023-04-03 21:57:11 +00:00
context.go refactor(bank): move bank balances to use collections (#15327) 2023-04-11 13:06:04 +00:00
ioutil_test.go ci: improve error checking (errcheck linter) (#11195) 2022-04-13 06:46:51 +00:00
ioutil.go refactor!: abstractions for snapshot and pruning; snapshot intervals eventually pruned; unit tests (#11496) 2022-04-21 15:30:36 -04:00
key_test.go refactor(testutil): remove dependency on simapp (#12624) 2022-07-20 07:34:58 +00:00
key.go chore: move server.GenerateCoinKey and server.GenerateSaveCoinKey to … (#10957) 2022-01-18 15:24:16 +00:00
list.go refactor: remove weird casting for staking.Keeper in slashing and distribution (#12973) 2022-08-20 21:11:44 +00:00
rest.go style: various linting fixes (#15675) 2023-04-03 17:00:44 +00:00