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

Upgrade go-ethereum #1767

Open
trajan0x opened this issue Jan 7, 2024 · 1 comment
Open

Upgrade go-ethereum #1767

trajan0x opened this issue Jan 7, 2024 · 1 comment

Comments

@trajan0x
Copy link
Contributor

trajan0x commented Jan 7, 2024

Need newer version of geth.

(found this out in #1650 when abigen stopped working because we didn't support push0. Workaround done in #1768)

trajan0x added a commit that referenced this issue Jan 7, 2024
This was a feature that was needed for #1650 since our version of embedded geth is too old to support push0 (see #1767). It also allows us to target any evm for abigen by passing the param to the solc compiler.

Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com>
trajan0x added a commit that referenced this issue Jan 14, 2024
trajan0x added a commit that referenced this issue Jan 14, 2024
* rip out tenderly (prereq to #1767)

* simulated test backend

* update go.mod

---------

Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com>
@trajan0x trajan0x added the small label Jun 24, 2024
@trajan0x trajan0x reopened this Jun 24, 2024
Copy link

greptile-apps bot commented Jun 24, 2024

  1. Update go-ethereum dependency in go.mod to the latest version.
require (
	github.com/ethereum/go-ethereum vX.Y.Z // replace with the latest version
)
  1. Run go get -u github.com/ethereum/go-ethereum to update the dependency.

  2. Review and update code in /ethergo/backends/geth to ensure compatibility with the new go-ethereum version.

  3. Regenerate bindings for Solidity contracts in /agents/testutil/agentstestcontract using the updated abigen tool:

abigen --sol AgentsTestContract.sol --pkg agentstestcontract --out AgentsTestContract.go
  1. Verify and update any code that interacts with the Geth backend or uses the generated bindings to handle any breaking changes or new features in the updated go-ethereum version.

References

/agents/testutil/agentstestcontract
/ethergo/backends/geth
/ethergo/backends/geth/doc.go

Ask Greptile

@trajan0x trajan0x removed the small label Jun 24, 2024
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