Skip to content

Commit

Permalink
chore: fix function names
Browse files Browse the repository at this point in the history
Signed-off-by: kevincatty <[email protected]>
  • Loading branch information
kevincatty committed May 4, 2024
1 parent 6adfe6f commit 3a5d74e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/zetae2e/config/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion cmd/zetae2e/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pkg/chains/address_taproot.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion rpc/backend/node_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3a5d74e

Please sign in to comment.