Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken compilation after downgrade go-ethereum to v1.11.5 #13

Open
glempi opened this issue Feb 14, 2025 · 1 comment
Open

broken compilation after downgrade go-ethereum to v1.11.5 #13

glempi opened this issue Feb 14, 2025 · 1 comment

Comments

@glempi
Copy link

glempi commented Feb 14, 2025

ethrpc/client.go have code

func createClient(ec *ethclient.Client) *Client {
	c := &Client{
		ethClient:  ec,
		gethClient: gethclient.New(ec.Client()),
	}

as u can see in this code there is calling of method 'Client()' of struct ethclient.Client
but method 'Client' was introduced only in go-ethereum to v1.12
so after downgrade go-ethereum to v1.11.5 compilation of this module was broken

@glempi
Copy link
Author

glempi commented Feb 14, 2025

@datluongductuan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant