Skip to content

refactor(mempool): simplify parameters of resCbFirstTime and resCbRecheck (backport #2272) - #2275

Merged
melekes merged 1 commit into
v1.xfrom
mergify/bp/v1.x/pr-2272
Feb 9, 2024
Merged

melekes merged 1 commit into
v1.xfrom
mergify/bp/v1.x/pr-2272

Conversation

@mergify

@mergify mergify Bot commented Feb 9, 2024

Copy link
Copy Markdown
Contributor

This is an automatic backport of pull request #2272 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

…heck (#2272)

The main change is for improving readability by changing the parameters
of the functions, from
```
resCbFirstTime(tx []byte, res *abci.Response)
resCbRecheck(req *abci.Request, res *abci.Response)
```
to
```
resCbFirstTime(tx types.Tx, res *abci.CheckTxResponse)
resCbRecheck(tx types.Tx, res *abci.CheckTxResponse)
```

---

#### PR checklist

- [ ] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments
- [ ] Title follows the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec

(cherry picked from commit 460b813)
@mergify
mergify Bot requested a review from a team as a code owner February 9, 2024 08:06
@mergify
mergify Bot requested a review from a team February 9, 2024 08:06
@melekes
melekes merged commit fd593ed into v1.x Feb 9, 2024
@melekes
melekes deleted the mergify/bp/v1.x/pr-2272 branch February 9, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants