diff --git a/cmd/zetae2e/config/contracts.go b/cmd/zetae2e/config/contracts.go index a4f05f0058..bc9d0e39f1 100644 --- a/cmd/zetae2e/config/contracts.go +++ b/cmd/zetae2e/config/contracts.go @@ -20,7 +20,7 @@ import ( "github.com/zeta-chain/zetacore/e2e/runner" ) -// setContractsFromConfigs get EVM contracts from config +// setContractsFromConfig get EVM contracts from config func setContractsFromConfig(r *runner.E2ERunner, conf config.Config) error { var err error diff --git a/cmd/zetae2e/run.go b/cmd/zetae2e/run.go index da0494919f..a297d6cac8 100644 --- a/cmd/zetae2e/run.go +++ b/cmd/zetae2e/run.go @@ -153,7 +153,7 @@ func runE2ETest(cmd *cobra.Command, args []string) error { return nil } -// parseCmdArgsToE2ETests parses command-line arguments into a slice of E2ETestRunConfig structs. +// parseCmdArgsToE2ETestRunConfig parses command-line arguments into a slice of E2ETestRunConfig structs. func parseCmdArgsToE2ETestRunConfig(args []string) ([]runner.E2ETestRunConfig, error) { tests := []runner.E2ETestRunConfig{} for _, arg := range args { diff --git a/pkg/chains/address_taproot.go b/pkg/chains/address_taproot.go index b79118ea85..1d927e2f9d 100644 --- a/pkg/chains/address_taproot.go +++ b/pkg/chains/address_taproot.go @@ -33,7 +33,7 @@ func NewAddressTaproot(witnessProg []byte, return newAddressTaproot(net.Bech32HRPSegwit, witnessProg) } -// newAddressWitnessScriptHash is an internal helper function to create an +// newAddressTaproot is an internal helper function to create an // AddressWitnessScriptHash with a known human-readable part, rather than // looking it up through its parameters. func newAddressTaproot(hrp string, witnessProg []byte) (*AddressTaproot, error) { diff --git a/rpc/backend/node_info.go b/rpc/backend/node_info.go index 5d9168aff3..f2dd727a3d 100644 --- a/rpc/backend/node_info.go +++ b/rpc/backend/node_info.go @@ -313,7 +313,7 @@ func (b *Backend) RPCEVMTimeout() time.Duration { return b.cfg.JSONRPC.EVMTimeout } -// RPCGasCap is the global gas cap for eth-call variants. +// RPCTxFeeCap is the global gas cap for eth-call variants. func (b *Backend) RPCTxFeeCap() float64 { return b.cfg.JSONRPC.TxFeeCap }