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
This is not a security-related bug/issue. If it is, please follow please follow the security policy.
I have searched on the issue tracker and the lotus forum, and there is no existing related issue or discussion.
I am running the Latest release, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
To test the getter against a deployed version of the Counter contract, run go run . --example 2
To test the contract deployment of the simple Counter contract, you must add a private key to the top of /go/main.go. Then run go run . --example 1
Once you've verified the above works on github.com/ethereum/go-ethereum@v1.12.0, you can go get github.com/ethereum/go-ethereum@latest to get v1.13.14 and the above scripts will fail for reasons related to the call parameters.
Describe the Bug
Go ethereum libraries break compatibility with lotus FEVM APIs for reasons seemingly related to encoding of call parameters. Version 1.12.0 works fine, but 1.13.14 (latest) breaks compatibility somewhere.
I used abigen to generate the web3 bindings, and used those APIs to make the calls to Lotus. Those simple scripts that work on go-ethereum v1.12.0 do not work on go-ethereum 1.13.14
Logging Information
Don't have access to this easily
The text was updated successfully, but these errors were encountered:
Checklist
Latest release
, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Lotus component
Lotus Version
Repro Steps
git clone git@github.com:Schwartz10/lotus-geth-compat.git
cd go
To test the getter against a deployed version of the
Counter
contract, rungo run . --example 2
To test the contract deployment of the simple
Counter
contract, you must add a private key to the top of/go/main.go
. Then rungo run . --example 1
Once you've verified the above works on
github.com/ethereum/go-ethereum@v1.12.0
, you cango get github.com/ethereum/go-ethereum@latest
to getv1.13.14
and the above scripts will fail for reasons related to the call parameters.Describe the Bug
Go ethereum libraries break compatibility with lotus FEVM APIs for reasons seemingly related to encoding of call parameters. Version 1.12.0 works fine, but 1.13.14 (latest) breaks compatibility somewhere.
I made a little repro repo here with forge/foundry a really simple Counter contract https://github.com/Schwartz10/lotus-geth-compat
I used
abigen
to generate the web3 bindings, and used those APIs to make the calls to Lotus. Those simple scripts that work on go-ethereum v1.12.0 do not work on go-ethereum 1.13.14Logging Information
The text was updated successfully, but these errors were encountered: