You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bound contract Call method always sets the block number to nil (i.e. latest) and the generated bindings don't allow you to specify the block number.
System information
Geth version:
1.8.9
Desired behaviour
The ability to call a contract method for a specific block number:
Actual behaviour
The bound contract
Call
method always sets the block number tonil
(i.e.latest
) and the generated bindings don't allow you to specify the block number.Notes
I'm currently forced to use the
CallContract
method directly on the Ethereum client by manually encoding the contract method signature:But this is a very manual process which defeats the purpose of generating Go bindings in the first place.
Are there any plans to add this functionality to the
abigen
generated code?The text was updated successfully, but these errors were encountered: