diff --git a/e2e/runner/report.go b/e2e/runner/report.go index d80024e0dd..31cd085fc6 100644 --- a/e2e/runner/report.go +++ b/e2e/runner/report.go @@ -59,7 +59,7 @@ func (r *E2ERunner) PrintTestReports(tr TestReports) { if err != nil { r.Logger.Print("Error rendering test report: %s", err) } - r.Logger.PrintNoPrefix(table) + r.Logger.PrintNoPrefix(table, "") } // NetworkReport is a struct that contains the report for the network used after running e2e tests diff --git a/x/fungible/keeper/evm.go b/x/fungible/keeper/evm.go index 83ab9890b8..5f4c61bebf 100644 --- a/x/fungible/keeper/evm.go +++ b/x/fungible/keeper/evm.go @@ -628,7 +628,7 @@ func (k Keeper) QueryChainIDFromContract( ) (*big.Int, error) { abi, err := zrc20.ZRC20MetaData.GetAbi() if err != nil { - return nil, cosmoserrors.Wrapf(types.ErrABIUnpack, err.Error()) + return nil, cosmoserrors.Wrap(types.ErrABIUnpack, err.Error()) } res, err := k.CallEVM(ctx, *abi, types.ModuleAddressEVM, contract, BigIntZero, nil, false, false, "CHAIN_ID") if err != nil { @@ -684,7 +684,7 @@ func (k Keeper) CallEVM( if ok { errMes = fmt.Sprintf("%s, reason: %v", errMes, revertErr.ErrorData()) } - return resp, cosmoserrors.Wrapf(err, errMes) + return resp, cosmoserrors.Wrap(err, errMes) } return resp, nil } diff --git a/x/fungible/keeper/gas_price.go b/x/fungible/keeper/gas_price.go index 600e1171a2..88ff0d6704 100644 --- a/x/fungible/keeper/gas_price.go +++ b/x/fungible/keeper/gas_price.go @@ -42,7 +42,7 @@ func (k Keeper) SetGasPrice(ctx sdk.Context, chainid *big.Int, gasPrice *big.Int gasPrice, ) if err != nil { - return 0, cosmoserrors.Wrapf(types.ErrContractCall, err.Error()) + return 0, cosmoserrors.Wrap(types.ErrContractCall, err.Error()) } if res.Failed() { return res.GasUsed, cosmoserrors.Wrapf(types.ErrContractCall, "setGasPrice tx failed") @@ -78,7 +78,7 @@ func (k Keeper) SetGasCoin(ctx sdk.Context, chainid *big.Int, address ethcommon. address, ) if err != nil { - return cosmoserrors.Wrapf(types.ErrContractCall, err.Error()) + return cosmoserrors.Wrap(types.ErrContractCall, err.Error()) } if res.Failed() { return cosmoserrors.Wrapf(types.ErrContractCall, "setGasCoinZRC20 tx failed") @@ -114,7 +114,7 @@ func (k Keeper) SetGasZetaPool(ctx sdk.Context, chainid *big.Int, pool ethcommon pool, ) if err != nil { - return cosmoserrors.Wrapf(types.ErrContractCall, err.Error()) + return cosmoserrors.Wrap(types.ErrContractCall, err.Error()) } if res.Failed() { return cosmoserrors.Wrapf(types.ErrContractCall, "setGasZetaPool tx failed")