From 9b31d202eb4d60a50e76ff104e98d74671e01656 Mon Sep 17 00:00:00 2001 From: Robert Zaremba Date: Wed, 1 Dec 2021 11:03:50 +0100 Subject: [PATCH] chore: cleanup go mod and regenerate proto files (#10645) ## Description Some tests are still failing, eg: https://github.com/cosmos/cosmos-sdk/runs/4350294236?check_suite_focus=true With message: > go: updates to go.mod needed, disabled by -mod=readonly; to update it: > go mod tidy > test return: 1 Also, when using the latest version it cleanups the go mod. Ref: https://github.com/cosmos/cosmos-sdk/pull/10616 --- ### 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 - [x] 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/master/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/master/docs/building-modules) - [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/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) --- docs/core/proto-docs.md | 3 +++ types/abci.pb.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/core/proto-docs.md b/docs/core/proto-docs.md index 23241e26e..5d17dd708 100644 --- a/docs/core/proto-docs.md +++ b/docs/core/proto-docs.md @@ -2418,6 +2418,9 @@ tags are stringified and the log is JSON decoded. | `gas_used` | [int64](#int64) | | Amount of gas consumed by transaction. | | `tx` | [google.protobuf.Any](#google.protobuf.Any) | | The request transaction bytes. | | `timestamp` | [string](#string) | | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. | +| `events` | [tendermint.abci.Event](#tendermint.abci.Event) | repeated | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante handler. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. + +Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 | diff --git a/types/abci.pb.go b/types/abci.pb.go index 402df71d1..a7bb32700 100644 --- a/types/abci.pb.go +++ b/types/abci.pb.go @@ -62,7 +62,7 @@ type TxResponse struct { // emitted from the ante handler. Whereas Logs contains the events, with // additional metadata, emitted only by processing the messages. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 Events []types1.Event `protobuf:"bytes,13,rep,name=events,proto3" json:"events"` }