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

penumbra-ibc: ⏎ invert early return condition #3691

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

cratelyn
Copy link
Contributor

this diff is best viewed ignoring whitespace; use -w, or the "hide whitespace" option in github (the gear icon in the "files changed" tab).

this inverts our early return, so that we do not need to wrap the whole function body within a conditional block. this is a pure refactor that should have no visible changes to behavior.

this diff is best viewed ignoring whitespace; use `-w`, or the "_hide
whitespace_" option in github (the gear icon in the "_files changed_"
tab).

this inverts our early return, so that we do not need to wrap the whole
function body within a conditional block. this is a pure refactor that
should have no visible changes to behavior.
@cratelyn cratelyn added A-IBC Area: IBC integration with Penumbra E-easy Effort: Easy C-chore Codebase maintenance that doesn't fix bugs or add features, and isn't urgent or blocking. labels Jan 29, 2024
@cratelyn cratelyn self-assigned this Jan 29, 2024
@cratelyn cratelyn marked this pull request as ready for review January 29, 2024 15:55
@cratelyn
Copy link
Contributor Author

re, lint failing, that is happening upstream on main. see https://github.com/penumbra-zone/penumbra/actions/runs/7698514268/job/20977960857

@cratelyn
Copy link
Contributor Author

lint was kindly fixed in #3692, i am going to merge this now!

@cratelyn cratelyn merged commit 227046b into main Jan 29, 2024
6 of 7 checks passed
@cratelyn cratelyn deleted the katie/invert-ibc-update-client-early-return branch January 29, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-IBC Area: IBC integration with Penumbra C-chore Codebase maintenance that doesn't fix bugs or add features, and isn't urgent or blocking. E-easy Effort: Easy
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants