Skip to content

Commit

Permalink
address some other comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dssei committed Apr 12, 2024
1 parent 8f5f9e5 commit df04758
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/sei-cosmwasm/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub enum SeiMsg {
metadata: Metadata,
},
/// Calls EVM contract deployed at `to` address with the given `data`.
/// The from address is the callers address.
/// Calls EVM contract as if the contract's caller called it directly.
/// Please note that the CW contract has to be in allow list in order to execute delegate call.
/// The EVM (Solidity) contract `msg.sender` in this case will be the callers address.
DelegateCallEvm {
Expand All @@ -53,7 +53,8 @@ pub enum SeiMsg {
},
/// Calls EVM contract deployed at `to` address with specified `value` and `data`.
/// The from address is the contract address of the contract executing the call.
/// The EVM (Solidity) contract `msg.sender` in this case will be the CW contract address.
/// The EVM (Solidity) contract `msg.sender` in this case will be the 32-byte long
/// [`cosmwasm_std::CanonicalAddr`] of this contract.
CallEvm {
/// The amount to send along with the transaction
value: Uint128,
Expand Down

0 comments on commit df04758

Please sign in to comment.