Files
Zach Kelling 45463e1cc7 refactor: remove geth dependencies and internalize utilities
- Created utils package with common types (Address, Hash, Big1, Big0)
- Added utility functions (BytesToAddress, HexToAddress, CopyBytes, FromHex)
- Implemented math utilities (PaddedBigBytes, MustParseBig256)
- Created minimal RLP encoder for CreateAddress function
- Added hexutil functions for KZG4844 support
- Updated all imports to use local utils instead of geth
- All tests passing successfully
2025-07-31 18:53:05 +00:00

22 lines
766 B
Go

//go:build dummy
// +build dummy
// This file is part of a workaround for `go mod vendor` which won't vendor
// C files if there's no Go file in the same directory.
// This would prevent the crypto/secp256k1/libsecp256k1/include/secp256k1.h file to be vendored.
//
// This Go file imports the c directory where there is another dummy.go file which
// is the second part of this workaround.
//
// These two files combined make it so `go mod vendor` behaves correctly.
//
// See this issue for reference: https://github.com/golang/go/issues/26366
package secp256k1
import (
_ "github.com/luxfi/crypto/secp256k1/libsecp256k1/include"
_ "github.com/luxfi/crypto/secp256k1/libsecp256k1/src"
_ "github.com/luxfi/crypto/secp256k1/libsecp256k1/src/modules/recovery"
)