erigon-pulse/tests/erigon-ext-test/main.go

19 lines
713 B
Go
Raw Permalink Normal View History

package main
import (
geth_params "github.com/ethereum/go-ethereum/params"
// geth_crypto "github.com/ethereum/go-ethereum/crypto"
erigon_lib_common "github.com/ledgerwatch/erigon-lib/common"
erigon_crypto "github.com/ledgerwatch/erigon/crypto"
erigon_params "github.com/ledgerwatch/erigon/params"
)
func main() {
println("Erigon version: ", erigon_params.Version)
println("geth version: ", geth_params.Version)
println("Erigon lib common eth Wei: ", erigon_lib_common.Wei)
println("Erigon crypto secp256k1 S256 BitSize: ", erigon_crypto.S256().Params().BitSize)
// not working due to duplicate symbols errors
// println("geth crypto secp256k1 S256 BitSize: ", geth_crypto.S256().Params().BitSize)
}