Skip to content

Commit

Permalink
Set all fees for PayPacketFee example
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Aug 7, 2024
1 parent c912c21 commit eda5f80
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/std/src/ibc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,15 @@ pub enum IbcMsg {
/// [`IbcMsg::SendPacket`] or [`IbcMsg::Transfer`].
///
/// ```rust
/// # use cosmwasm_std::{IbcMsg, IbcEndpoint, IbcFee, IbcTimeout, Coin, CosmosMsg, Response, Timestamp};
/// # use cosmwasm_std::{IbcMsg, IbcEndpoint, IbcFee, IbcTimeout, Coin, coins, CosmosMsg, Response, Timestamp};
///
/// let incentivize = IbcMsg::PayPacketFee {
/// port_id: "transfer".to_string(),
/// channel_id: "source-channel".to_string(),
/// fee: IbcFee {
/// recv_fee: vec![Coin::new(100u32, "token")],
/// ..IbcFee::default()
/// recv_fee: coins(100, "token"),
/// ack_fee: coins(201, "token"),
/// timeout_fee: coins(200, "token"),
/// },
/// relayers: vec![],
/// };
Expand Down

0 comments on commit eda5f80

Please sign in to comment.