Roy Crihfield
761d60acdf
The Geth `core/state` and `trie` packages underwent a big refactor between `v1.11.6` and `1.13.14`. This code, which was adapted from those, needed corresponding updates. To do this I applied the diff patches from Geth directly where possible and in some places had to clone new parts of the Geth code and adapt them. In order to make this process as straightforward as possible in the future, I've attempted to minimize the number of changes vs. Geth and added some documentation in the `trie_by_cid` package. Reviewed-on: #5
119 lines
5.3 KiB
Modula-2
119 lines
5.3 KiB
Modula-2
module github.com/cerc-io/ipld-eth-statedb
|
|
|
|
go 1.21
|
|
|
|
require (
|
|
github.com/VictoriaMetrics/fastcache v1.12.2
|
|
github.com/cerc-io/ipfs-ethdb/v5 v5.1.0-alpha
|
|
github.com/cerc-io/plugeth-statediff v0.2.0
|
|
github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233
|
|
github.com/davecgh/go-spew v1.1.1
|
|
github.com/ethereum/go-ethereum v1.13.14
|
|
github.com/gballet/go-verkle v0.1.1-0.20231031103413-a67434b50f46
|
|
github.com/hashicorp/golang-lru v1.0.2
|
|
github.com/holiman/uint256 v1.2.4
|
|
github.com/ipfs/go-cid v0.4.1
|
|
github.com/jackc/pgconn v1.14.3
|
|
github.com/jackc/pgx/v4 v4.18.3
|
|
github.com/jmoiron/sqlx v1.3.5
|
|
github.com/lib/pq v1.10.9
|
|
github.com/multiformats/go-multihash v0.2.3
|
|
github.com/stretchr/testify v1.9.0
|
|
golang.org/x/crypto v0.22.0
|
|
golang.org/x/exp v0.0.0-20240409090435-93d18d7e34b8
|
|
)
|
|
|
|
require (
|
|
github.com/DataDog/zstd v1.5.5 // indirect
|
|
github.com/Microsoft/go-winio v0.6.1 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/bits-and-blooms/bitset v1.10.0 // indirect
|
|
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
|
|
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2 // indirect
|
|
github.com/cerc-io/eth-iterator-utils v0.2.0 // indirect
|
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
|
github.com/cockroachdb/errors v1.10.0 // indirect
|
|
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
|
|
github.com/cockroachdb/pebble v0.0.0-20230928194634-aa077af62593 // indirect
|
|
github.com/cockroachdb/redact v1.1.5 // indirect
|
|
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
|
|
github.com/consensys/bavard v0.1.13 // indirect
|
|
github.com/consensys/gnark-crypto v0.12.1 // indirect
|
|
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
|
|
github.com/deckarep/golang-set/v2 v2.3.0 // indirect
|
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
|
|
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
|
|
github.com/georgysavva/scany v0.2.9 // indirect
|
|
github.com/getsentry/sentry-go v0.22.0 // indirect
|
|
github.com/go-ole/go-ole v1.3.0 // indirect
|
|
github.com/go-stack/stack v1.8.1 // indirect
|
|
github.com/gofrs/flock v0.8.1 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
|
|
github.com/gorilla/websocket v1.5.0 // indirect
|
|
github.com/holiman/bloomfilter/v2 v2.0.3 // indirect
|
|
github.com/inconshreveable/log15 v2.16.0+incompatible // indirect
|
|
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
|
|
github.com/jackc/pgio v1.0.0 // indirect
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgproto3/v2 v2.3.3 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
|
|
github.com/jackc/pgtype v1.14.0 // indirect
|
|
github.com/jackc/puddle v1.3.0 // indirect
|
|
github.com/klauspost/compress v1.16.7 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
|
|
github.com/kr/pretty v0.3.1 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/mailgun/groupcache/v2 v2.3.0 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-runewidth v0.0.14 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
|
|
github.com/minio/sha256-simd v1.0.1 // indirect
|
|
github.com/mmcloughlin/addchain v0.4.0 // indirect
|
|
github.com/mr-tron/base58 v1.2.0 // indirect
|
|
github.com/multiformats/go-base32 v0.1.0 // indirect
|
|
github.com/multiformats/go-base36 v0.2.0 // indirect
|
|
github.com/multiformats/go-multibase v0.2.0 // indirect
|
|
github.com/multiformats/go-varint v0.0.7 // indirect
|
|
github.com/olekukonko/tablewriter v0.0.5 // indirect
|
|
github.com/openrelayxyz/plugeth-utils v1.5.0 // indirect
|
|
github.com/pganalyze/pg_query_go/v4 v4.2.1 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/prometheus/client_golang v1.16.0 // indirect
|
|
github.com/prometheus/client_model v0.4.0 // indirect
|
|
github.com/prometheus/common v0.44.0 // indirect
|
|
github.com/prometheus/procfs v0.11.0 // indirect
|
|
github.com/rivo/uniseg v0.4.4 // indirect
|
|
github.com/rogpeppe/go-internal v1.12.0 // indirect
|
|
github.com/segmentio/fasthash v1.0.3 // indirect
|
|
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
|
|
github.com/shopspring/decimal v1.2.0 // indirect
|
|
github.com/sirupsen/logrus v1.9.0 // indirect
|
|
github.com/spaolacci/murmur3 v1.1.0 // indirect
|
|
github.com/stretchr/objx v0.5.2 // indirect
|
|
github.com/supranational/blst v0.3.11 // indirect
|
|
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
|
|
github.com/thoas/go-funk v0.9.3 // indirect
|
|
github.com/tklauser/go-sysconf v0.3.12 // indirect
|
|
github.com/tklauser/numcpus v0.6.1 // indirect
|
|
github.com/yusufpapurcu/wmi v1.2.3 // indirect
|
|
golang.org/x/mod v0.17.0 // indirect
|
|
golang.org/x/sync v0.7.0 // indirect
|
|
golang.org/x/sys v0.19.0 // indirect
|
|
golang.org/x/term v0.19.0 // indirect
|
|
golang.org/x/text v0.14.0 // indirect
|
|
golang.org/x/tools v0.20.0 // indirect
|
|
google.golang.org/protobuf v1.32.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
lukechampine.com/blake3 v1.2.2 // indirect
|
|
rsc.io/tmplfunc v0.0.3 // indirect
|
|
)
|
|
|
|
replace (
|
|
github.com/cerc-io/ipfs-ethdb/v5 => github.com/cerc-io/ipfs-ethdb/v5 v5.1.0-alpha
|
|
github.com/cerc-io/plugeth-statediff => github.com/cerc-io/plugeth-statediff v0.2.1
|
|
)
|