Skip to content
Open
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
2 changes: 1 addition & 1 deletion x/crosschain/keeper/gas_payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type ChainGasParams struct {

// PayGasAndUpdateCctx updates the outbound tx with the new amount after paying the gas fee
// **Caller should feed temporary ctx into this function**
// chainID is the outbound chain chain id , this can be receiver chain for regular transactions and sender-chain to reverted transactions
// chainID is the outbound chain id , this can be receiver chain for regular transactions and sender-chain to reverted transactions
func (k Keeper) PayGasAndUpdateCctx(
ctx sdk.Context,
chainID int64,
Expand Down
4 changes: 2 additions & 2 deletions x/fungible/keeper/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ func (k Keeper) CallDepositAndCall(ctx sdk.Context,
}

// CallOnReceiveZevmConnector calls the onReceive function of the ZevmConnector contract
// Before calling it mints the zetaValue tokens to the fungible module , and this amount is then provided as value to the onReceive function
// Before calling it mints the zetaValue tokens to the fungible module, and this amount is then provided as value to the onReceive function
// The onReceive function will then wrap this native zeta into WZETA and call the onReceive function of the destination contract specified by the destinationAddress
func (k Keeper) CallOnReceiveZevmConnector(ctx sdk.Context,
zetaTxSenderAddress []byte,
Expand Down Expand Up @@ -440,7 +440,7 @@ func (k Keeper) CallOnReceiveZevmConnector(ctx sdk.Context,
}

// CallOnRevertZevmConnector calls the onRevert function of the ZevmConnector contract
// Before calling it mints the remainingZetaValue tokens to the fungible module , and this amount is then provided as value to the onRevert function
// Before calling it mints the remainingZetaValue tokens to the fungible module, and this amount is then provided as value to the onRevert function
// The onRevert function will then wrap this native zeta into WZETA and call the onRevert function of the contract specified by the zetaTxSenderAddress
// Note the destination address is the original destination address of the transaction and not the current destination .
func (k Keeper) CallOnRevertZevmConnector(ctx sdk.Context,
Expand Down
Loading