mirror of
https://github.com/luxfi/crypto.git
synced 2026-07-27 01:54:50 +00:00
Re-export github.com/ethereum/go-verkle and github.com/ethereum/go-bigmodexpfix under luxfi/crypto namespace so downstream packages (luxfi/geth) never import ethereum/* directly.
18 lines
551 B
Go
18 lines
551 B
Go
// Copyright (C) 2025, Lux Industries Inc. All rights reserved.
|
|
//
|
|
// Package bigmodexp re-exports the patched math/big from go-bigmodexpfix
|
|
// under the luxfi/crypto namespace so that downstream packages never
|
|
// import ethereum/* directly.
|
|
//
|
|
// The upstream package provides a patched big.Int.Exp that fixes a
|
|
// consensus-critical modular exponentiation edge case.
|
|
|
|
package bigmodexp
|
|
|
|
import (
|
|
upstream "github.com/ethereum/go-bigmodexpfix/src/math/big"
|
|
)
|
|
|
|
// Int is the patched big.Int with the fixed Exp implementation.
|
|
type Int = upstream.Int
|