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

ibc: use outbound_ics20_transfers_enabled chain parameter #4101

Merged
merged 3 commits into from
Mar 26, 2024

Conversation

avahowell
Copy link
Contributor

this uses the existing outbound_ics20_transfers_enabled to gate ics20 withdrawals

@@ -116,7 +116,19 @@ impl AppActionHandler for Action {
.execute(state)
.await
}
Action::Ics20Withdrawal(action) => action.check_and_execute(state).await,
Action::Ics20Withdrawal(action) => {
// SAFETY: this is safe to check in parallel because IBC enablement cannot
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you want to use check_historical then right? here it will get run sequentially before execution

@cratelyn cratelyn added the A-IBC Area: IBC integration with Penumbra label Mar 26, 2024
@cratelyn cratelyn added this to the Sprint 3 milestone Mar 26, 2024
@avahowell avahowell added consensus-breaking breaking change to execution of on-chain data state-breaking breaking change to on-chain data labels Mar 26, 2024
@erwanor
Copy link
Member

erwanor commented Mar 26, 2024

This is consensus-breaking (modification to validation rules), but it's not state-breaking because it doesn't require a migration to deploy (and doesn't modify the state schema)

@erwanor erwanor removed the state-breaking breaking change to on-chain data label Mar 26, 2024
@conorsch
Copy link
Contributor

Discussed with @avahowell & @erwanor : we're going to merge this today, so it's included in v0.70.0 (#4087).

@conorsch conorsch merged commit 83f5311 into main Mar 26, 2024
7 checks passed
@conorsch conorsch deleted the ics20-enable-parameters branch March 26, 2024 19:30
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 consensus-breaking breaking change to execution of on-chain data
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants