From e83557bd870c006c31a7fa419850efa4ac28ec7f Mon Sep 17 00:00:00 2001 From: Arran Schlosberg Date: Thu, 17 Oct 2024 15:55:03 +1100 Subject: [PATCH 1/3] chore: exclude copyright header from package comment --- core/state_transition.libevm.go | 1 + libevm/libevm.go | 1 + params/config.libevm.go | 1 + params/hooks.libevm.go | 1 + params/json.libevm.go | 1 + 5 files changed, 5 insertions(+) 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 ( From bf9163aa7850a2ef1eadad4663b633c70c2edd42 Mon Sep 17 00:00:00 2001 From: Arran Schlosberg Date: Fri, 18 Oct 2024 09:58:06 +1100 Subject: [PATCH 2/3] fix: `LIBEVM_BASE` commit hash --- .github/workflows/libevm-delta.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 8fdd8050adcd0b80c82915552bd23db44f5aa353 Mon Sep 17 00:00:00 2001 From: Arran Schlosberg Date: Sun, 20 Oct 2024 13:19:08 +1100 Subject: [PATCH 3/3] doc: README `libevm` intro --- README.md | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) 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/.