Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Jun 25, 2024
1 parent 88b3e0c commit c55c442
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion cmd/zetae2e/config/clients.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@ func getBtcClient(rpcConf config.BitcoinRPC) (*rpcclient.Client, error) {
}

// getEVMClient get evm client
func getEVMClient(ctx context.Context, rpc string, account config.Account) (*ethclient.Client, *bind.TransactOpts, error) {
func getEVMClient(
ctx context.Context,
rpc string,
account config.Account,
) (*ethclient.Client, *bind.TransactOpts, error) {
evmClient, err := ethclient.Dial(rpc)
if err != nil {
return nil, nil, fmt.Errorf("failed to dial evm client: %w", err)
Expand Down
6 changes: 5 additions & 1 deletion e2e/e2etests/test_migrate_chain_support.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,11 @@ func configureEVM2(r *runner.E2ERunner) (*runner.E2ERunner, error) {
}

// getEVMClient get evm client from rpc and private key
func getEVMClient(ctx context.Context, rpc string, account config.Account) (*ethclient.Client, *bind.TransactOpts, error) {
func getEVMClient(
ctx context.Context,
rpc string,
account config.Account,
) (*ethclient.Client, *bind.TransactOpts, error) {
evmClient, err := ethclient.Dial(rpc)
if err != nil {
return nil, nil, err
Expand Down

0 comments on commit c55c442

Please sign in to comment.