Skip to content

Commit d2bc290

Browse files
committed
chore: fix comment formatting and typos across codebase
Signed-off-by: criciss <cricis@msn.com>
1 parent 9a516a3 commit d2bc290

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

x/crosschain/keeper/gas_payment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type ChainGasParams struct {
3232

3333
// PayGasAndUpdateCctx updates the outbound tx with the new amount after paying the gas fee
3434
// **Caller should feed temporary ctx into this function**
35-
// chainID is the outbound chain chain id , this can be receiver chain for regular transactions and sender-chain to reverted transactions
35+
// chainID is the outbound chain id , this can be receiver chain for regular transactions and sender-chain to reverted transactions
3636
func (k Keeper) PayGasAndUpdateCctx(
3737
ctx sdk.Context,
3838
chainID int64,

x/fungible/keeper/evm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ func (k Keeper) CallDepositAndCall(ctx sdk.Context,
388388
}
389389

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

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

0 commit comments

Comments
 (0)