Skip to content

Commit

Permalink
chore(evmstaking): change log level to debug for tx
Browse files Browse the repository at this point in the history
  • Loading branch information
0xHansLee committed Oct 10, 2024
1 parent a012591 commit 9c976f4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/x/evmstaking/keeper/deposit.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (k Keeper) HandleDepositEvent(ctx context.Context, ev *bindings.IPTokenStak
return errors.Wrap(err, "set delegator map")
}

log.Info(ctx, "EVM staking deposit detected, delegating to validator",
log.Debug(ctx, "EVM staking deposit detected, delegating to validator",
"del_story", depositorAddr.String(),
"val_story", validatorAddr.String(),
"del_evm_addr", delEvmAddr.String(),
Expand Down
2 changes: 1 addition & 1 deletion client/x/evmstaking/keeper/redelegate.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (k Keeper) HandleRedelegateEvent(ctx context.Context, ev *bindings.IPTokenS

amountCoin, _ := IPTokenToBondCoin(ev.Amount)

log.Info(ctx, "EVM staking relegation detected",
log.Debug(ctx, "EVM staking relegation detected",
"del_story", depositorAddr.String(),
"val_src_story", validatorSrcAddr.String(),
"val_dst_story", validatorDstAddr.String(),
Expand Down
2 changes: 1 addition & 1 deletion client/x/evmstaking/keeper/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (k Keeper) HandleCreateValidatorEvent(ctx context.Context, ev *bindings.IPT
return errors.Wrap(err, "set delegator map")
}

log.Info(ctx, "EVM staking create validator detected",
log.Debug(ctx, "EVM staking create validator detected",
"val_story", validatorAddr.String(),
"val_pubkey", validatorPubkey.String(),
"del_story", delegatorAddr.String(),
Expand Down
2 changes: 1 addition & 1 deletion client/x/evmstaking/keeper/withdraw.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func (k Keeper) HandleWithdrawEvent(ctx context.Context, ev *bindings.IPTokenSta

amountCoin, _ := IPTokenToBondCoin(ev.Amount)

log.Info(ctx, "EVM staking withdraw detected",
log.Debug(ctx, "EVM staking withdraw detected",
"del_story", depositorAddr.String(),
"val_story", validatorAddr.String(),
"del_evm_addr", delEvmAddr.String(),
Expand Down

0 comments on commit 9c976f4

Please sign in to comment.