diff --git a/.github/workflows/libevm-delta.yml b/.github/workflows/libevm-delta.yml index 1c7cfe52e2c..91001b329f1 100644 --- a/.github/workflows/libevm-delta.yml +++ b/.github/workflows/libevm-delta.yml @@ -10,8 +10,8 @@ on: jobs: diffs: env: - # Last commit on `renamed-go-module` branch to be merged into `main` - LIBEVM_BASE: a7f08d0e757d5a69d3e269c69dcea7e45bab97e3 + # Last commit from rename-module workflow job to be included in `main` + LIBEVM_BASE: 0b56af5a01b8a0c6fc9d60247bb79ffd03d1bcfd runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index efb72b5b078..0f18436b40f 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,23 @@ +# libevm + +[![API Reference]( +https://pkg.go.dev/badge/github.com/ava-labs/libevm +)](https://pkg.go.dev/github.com/ava-labs/libevm?tab=doc) +[![Go Report Card](https://goreportcard.com/badge/github.com/ava-labs/libevm)](https://goreportcard.com/report/github.com/ava-labs/libevm) +[![Go Build & Test](https://github.com/ava-labs/libevm/actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/ava-labs/libevm/actions/workflows/go.yml) + +The Ethereum Virtual Machine (EVM) as a library, `libevm` is a fork of [`geth`](https://github.com/ethereum/go-ethereum) with +injectable configuration directives. Although designed to support the Avalanche [C-Chain](https://github.com/ava-labs/coreth) and +[EVM-L1s](https://github.com/ava-labs/subnet-evm) (formerly _subnets_), configuration is general-purpose and backwards-compatible +with `geth`. + + +We are immensely grateful for the hard work of the `geth` authors, and hope that our contribution can be of value to others too. Thank you! + ## Go Ethereum Golang execution layer implementation of the Ethereum protocol. -[![API Reference]( -https://pkg.go.dev/badge/github.com/ethereum/go-ethereum -)](https://pkg.go.dev/github.com/ethereum/go-ethereum?tab=doc) -[![Go Report Card](https://goreportcard.com/badge/github.com/ethereum/go-ethereum)](https://goreportcard.com/report/github.com/ethereum/go-ethereum) -[![Travis](https://app.travis-ci.com/ethereum/go-ethereum.svg?branch=master)](https://app.travis-ci.com/github/ethereum/go-ethereum) -[![Discord](https://img.shields.io/badge/discord-join%20chat-blue.svg)](https://discord.gg/nthXNEv) - Automated builds are available for stable releases and the unstable master branch. Binary archives are published at https://geth.ethereum.org/downloads/. diff --git a/core/state_transition.libevm.go b/core/state_transition.libevm.go index 8c30ebc4b2e..49e509d5637 100644 --- a/core/state_transition.libevm.go +++ b/core/state_transition.libevm.go @@ -13,6 +13,7 @@ // You should have received a copy of the GNU Lesser General Public License // along with the go-ethereum library. If not, see // . + package core // canExecuteTransaction is a convenience wrapper for calling the diff --git a/libevm/libevm.go b/libevm/libevm.go index cb2d1c46eb5..af9941aedbc 100644 --- a/libevm/libevm.go +++ b/libevm/libevm.go @@ -13,6 +13,7 @@ // You should have received a copy of the GNU Lesser General Public License // along with the go-ethereum library. If not, see // . + package libevm import ( diff --git a/params/config.libevm.go b/params/config.libevm.go index ddde634f8a5..479dd79b272 100644 --- a/params/config.libevm.go +++ b/params/config.libevm.go @@ -13,6 +13,7 @@ // You should have received a copy of the GNU Lesser General Public License // along with the go-ethereum library. If not, see // . + package params import ( diff --git a/params/hooks.libevm.go b/params/hooks.libevm.go index 0e2127aca41..c67c7c5d3d9 100644 --- a/params/hooks.libevm.go +++ b/params/hooks.libevm.go @@ -13,6 +13,7 @@ // You should have received a copy of the GNU Lesser General Public License // along with the go-ethereum library. If not, see // . + package params import ( diff --git a/params/json.libevm.go b/params/json.libevm.go index 6b217cc1f8b..9f669008926 100644 --- a/params/json.libevm.go +++ b/params/json.libevm.go @@ -13,6 +13,7 @@ // You should have received a copy of the GNU Lesser General Public License // along with the go-ethereum library. If not, see // . + package params import (