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

docs: ibc timeout quantizing #4641

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified crates/cnidarium/src/gen/proto_descriptor.bin.no_lfs
Binary file not shown.
6 changes: 4 additions & 2 deletions crates/proto/src/gen/penumbra.core.component.ibc.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@ pub struct Ics20Withdrawal {
pub timeout_height: ::core::option::Option<
::ibc_proto::ibc::core::client::v1::Height,
>,
/// the timestamp at which this transfer expires.
/// The timestamp, in epoch time, after which this transfer will be considered invalid.
/// Clients must quantize this value to the nearest minute, to preserve privacy.
/// IBC withdrawals that do not quantize timestamps will be rejected.
#[prost(uint64, tag = "6")]
pub timeout_time: u64,
/// the source channel used for the withdrawal
/// The source channel used for the withdrawal
#[prost(string, tag = "7")]
pub source_channel: ::prost::alloc::string::String,
}
Expand Down
Binary file modified crates/proto/src/gen/proto_descriptor.bin.no_lfs
Binary file not shown.
6 changes: 4 additions & 2 deletions proto/penumbra/penumbra/core/component/ibc/v1/ibc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ message Ics20Withdrawal {
// funds are sent back to the return address.
.ibc.core.client.v1.Height timeout_height = 5;

// the timestamp at which this transfer expires.
// The timestamp, in epoch time, after which this transfer will be considered invalid.
// Clients must quantize this value to the nearest minute, to preserve privacy.
// IBC withdrawals that do not quantize timestamps will be rejected.
uint64 timeout_time = 6;

// the source channel used for the withdrawal
// The source channel used for the withdrawal
string source_channel = 7;
}

Expand Down
Loading