Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add decorator to wrap panic messages with the transaction that caused them (backport #2559) #2572

Merged
merged 2 commits into from
Sep 25, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 25, 2023

This is an automatic backport of pull request #2559 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

…caused them (#2559)

Closes: #2557

This will allow us to understand when a panic happens, which transaction
caused it.

As an example here is a mock panic:

```
mock panic
caused by transaction:
*types.MsgSend{from_address:"celestia15v4r83er48zfrm7u6uuqs3lytwxc63c34ltdgn" to_address:"celestia1t5m2f2m000twkmsgaa777rty36wd254292am6c" amount:<denom:"utia" amount:"10" > }
```

(cherry picked from commit a3d2453)
@celestia-bot celestia-bot requested a review from a team September 25, 2023 07:20
@github-actions github-actions bot added the bot item was created by a bot label Sep 25, 2023
@evan-forbes evan-forbes merged commit 5693fb7 into v1.x Sep 25, 2023
@evan-forbes evan-forbes deleted the mergify/bp/v1.x/pr-2559 branch September 25, 2023 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot item was created by a bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants