Skip to content

Can't use quorum.Dial  #14

Description

@sadysnaat
package main

import (
	"log"
	"github.com/getamis/eth-client/quorum"
)
func main() {
	c, err := quorum.Dial("http://0.0.0.0:8545")
	if err != nil {
	    log.Fatalln(err)
	}
}

I get the following error

# github.com/getamis/eth-client/client
../../github.com/getamis/eth-client/client/client.go:49:6: cannot use client literal (type *client) as type Client in return argument:
	*client does not implement Client (wrong type for EstimateGas method)
		have EstimateGas(context.Context, ethereum.CallMsg) (uint64, error)
		want EstimateGas(context.Context, ethereum.CallMsg) (*big.Int, error)

Is there something I am doing wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions