mirror of
https://github.com/luxfi/crypto.git
synced 2026-07-27 01:54:50 +00:00
verkle: document luxfi/go-verkle routing via go.mod replace
verkle_test.go imports ethereum/go-verkle literal so the import matches the upstream module-path declaration of luxfi/go-verkle@v0.2.2 (which still declares module github.com/ethereum/go-verkle from upstream rebase). The replace directive in go.mod routes the actual build to luxfi/go-verkle, so only luxfi-maintained code is compiled. See LUXFI-FORK.md. This is the canonical lux pattern (same as luxfi/geth, luxfi/go-ipa): keep upstream module-path declaration on the fork side, route via replace on the consumer side. Refs #230 sweep / #231.
This commit is contained in:
@@ -9,6 +9,10 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
// Imported via go.mod replace -> github.com/luxfi/go-verkle v0.2.2.
|
||||
// luxfi/go-verkle still declares module github.com/ethereum/go-verkle,
|
||||
// so the import literal must match that declaration. The replace directive
|
||||
// in go.mod ensures only luxfi-maintained code is compiled. See LUXFI-FORK.md.
|
||||
upstream "github.com/ethereum/go-verkle"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user