Skip to content

Commit

Permalink
docs: add for SendSubmissionParamsInput::with_message method
Browse files Browse the repository at this point in the history
During the discussion, it turned out that we did not have a high-level description for the concept. I left a simple one, however, as soon as the description appears in the gitbook we have added a link here

Close #24
  • Loading branch information
cyphersnake committed Apr 14, 2023
1 parent dacc328 commit 4236cce
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/sending.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ use crate::{
INIT_EXTERNAL_CALL_DISCRIMINATOR, SEND_DISCRIMINATOR,
},
errors::InvokeError,
flags::SetReservedFlag,
hash::HashAdapter,
keys::{AssetFeeInfoPubkey, BridgePubkey, ChainSupportInfoPubkey},
flags::SetReservedFlag,
Error, Pubkey, SolanaKeccak256, BPS_DENOMINATOR, DEBRIDGE_ID, SOLANA_CHAIN_ID,
};

Expand Down Expand Up @@ -86,6 +86,12 @@ impl SendSubmissionParamsInput {

/// Create submission params for sending message to other chain
///
/// This path is the default path for sending an authorised message
/// on the EVM network. If your case is simple, this is probably the
/// method you need.
///
/// For everything else, please use [`SendSubmissionParamsInput::with_external_call`]
///
/// # Arguments
/// * `external_call` - instructions sending in target chain
/// * `execution_fee` - amount of execution fee
Expand Down

0 comments on commit 4236cce

Please sign in to comment.