diff --git a/fixture/chain/.gitignore b/chaindata/data/.gitignore similarity index 100% rename from fixture/chain/.gitignore rename to chaindata/data/.gitignore diff --git a/fixture/chain/medium/000002.ldb b/chaindata/data/medium/000002.ldb similarity index 100% rename from fixture/chain/medium/000002.ldb rename to chaindata/data/medium/000002.ldb diff --git a/fixture/chain/medium/ancient/bodies.0000.cdat b/chaindata/data/medium/ancient/bodies.0000.cdat similarity index 100% rename from fixture/chain/medium/ancient/bodies.0000.cdat rename to chaindata/data/medium/ancient/bodies.0000.cdat diff --git a/fixture/chain/medium/ancient/bodies.cidx b/chaindata/data/medium/ancient/bodies.cidx similarity index 100% rename from fixture/chain/medium/ancient/bodies.cidx rename to chaindata/data/medium/ancient/bodies.cidx diff --git a/fixture/chain/medium/ancient/bodies.meta b/chaindata/data/medium/ancient/bodies.meta similarity index 100% rename from fixture/chain/medium/ancient/bodies.meta rename to chaindata/data/medium/ancient/bodies.meta diff --git a/fixture/chain/medium/ancient/diffs.0000.rdat b/chaindata/data/medium/ancient/diffs.0000.rdat similarity index 100% rename from fixture/chain/medium/ancient/diffs.0000.rdat rename to chaindata/data/medium/ancient/diffs.0000.rdat diff --git a/fixture/chain/medium/ancient/diffs.meta b/chaindata/data/medium/ancient/diffs.meta similarity index 100% rename from fixture/chain/medium/ancient/diffs.meta rename to chaindata/data/medium/ancient/diffs.meta diff --git a/fixture/chain/medium/ancient/diffs.ridx b/chaindata/data/medium/ancient/diffs.ridx similarity index 100% rename from fixture/chain/medium/ancient/diffs.ridx rename to chaindata/data/medium/ancient/diffs.ridx diff --git a/fixture/chain/medium/ancient/hashes.0000.rdat b/chaindata/data/medium/ancient/hashes.0000.rdat similarity index 100% rename from fixture/chain/medium/ancient/hashes.0000.rdat rename to chaindata/data/medium/ancient/hashes.0000.rdat diff --git a/fixture/chain/medium/ancient/hashes.meta b/chaindata/data/medium/ancient/hashes.meta similarity index 100% rename from fixture/chain/medium/ancient/hashes.meta rename to chaindata/data/medium/ancient/hashes.meta diff --git a/fixture/chain/medium/ancient/hashes.ridx b/chaindata/data/medium/ancient/hashes.ridx similarity index 100% rename from fixture/chain/medium/ancient/hashes.ridx rename to chaindata/data/medium/ancient/hashes.ridx diff --git a/fixture/chain/medium/ancient/headers.0000.cdat b/chaindata/data/medium/ancient/headers.0000.cdat similarity index 100% rename from fixture/chain/medium/ancient/headers.0000.cdat rename to chaindata/data/medium/ancient/headers.0000.cdat diff --git a/fixture/chain/medium/ancient/headers.cidx b/chaindata/data/medium/ancient/headers.cidx similarity index 100% rename from fixture/chain/medium/ancient/headers.cidx rename to chaindata/data/medium/ancient/headers.cidx diff --git a/fixture/chain/medium/ancient/headers.meta b/chaindata/data/medium/ancient/headers.meta similarity index 100% rename from fixture/chain/medium/ancient/headers.meta rename to chaindata/data/medium/ancient/headers.meta diff --git a/fixture/chain/medium/ancient/receipts.0000.cdat b/chaindata/data/medium/ancient/receipts.0000.cdat similarity index 100% rename from fixture/chain/medium/ancient/receipts.0000.cdat rename to chaindata/data/medium/ancient/receipts.0000.cdat diff --git a/fixture/chain/medium/ancient/receipts.cidx b/chaindata/data/medium/ancient/receipts.cidx similarity index 100% rename from fixture/chain/medium/ancient/receipts.cidx rename to chaindata/data/medium/ancient/receipts.cidx diff --git a/fixture/chain/medium/ancient/receipts.meta b/chaindata/data/medium/ancient/receipts.meta similarity index 100% rename from fixture/chain/medium/ancient/receipts.meta rename to chaindata/data/medium/ancient/receipts.meta diff --git a/fixture/chain/small/000002.ldb b/chaindata/data/small/000002.ldb similarity index 100% rename from fixture/chain/small/000002.ldb rename to chaindata/data/small/000002.ldb diff --git a/fixture/chain/small/000004.ldb b/chaindata/data/small/000004.ldb similarity index 100% rename from fixture/chain/small/000004.ldb rename to chaindata/data/small/000004.ldb diff --git a/fixture/chain/small/ancient/bodies.0000.cdat b/chaindata/data/small/ancient/bodies.0000.cdat similarity index 100% rename from fixture/chain/small/ancient/bodies.0000.cdat rename to chaindata/data/small/ancient/bodies.0000.cdat diff --git a/fixture/chain/small/ancient/bodies.cidx b/chaindata/data/small/ancient/bodies.cidx similarity index 100% rename from fixture/chain/small/ancient/bodies.cidx rename to chaindata/data/small/ancient/bodies.cidx diff --git a/fixture/chain/small/ancient/bodies.meta b/chaindata/data/small/ancient/bodies.meta similarity index 100% rename from fixture/chain/small/ancient/bodies.meta rename to chaindata/data/small/ancient/bodies.meta diff --git a/fixture/chain/small/ancient/diffs.0000.rdat b/chaindata/data/small/ancient/diffs.0000.rdat similarity index 100% rename from fixture/chain/small/ancient/diffs.0000.rdat rename to chaindata/data/small/ancient/diffs.0000.rdat diff --git a/fixture/chain/small/ancient/diffs.meta b/chaindata/data/small/ancient/diffs.meta similarity index 100% rename from fixture/chain/small/ancient/diffs.meta rename to chaindata/data/small/ancient/diffs.meta diff --git a/fixture/chain/small/ancient/diffs.ridx b/chaindata/data/small/ancient/diffs.ridx similarity index 100% rename from fixture/chain/small/ancient/diffs.ridx rename to chaindata/data/small/ancient/diffs.ridx diff --git a/fixture/chain/small/ancient/hashes.0000.rdat b/chaindata/data/small/ancient/hashes.0000.rdat similarity index 100% rename from fixture/chain/small/ancient/hashes.0000.rdat rename to chaindata/data/small/ancient/hashes.0000.rdat diff --git a/fixture/chain/small/ancient/hashes.meta b/chaindata/data/small/ancient/hashes.meta similarity index 100% rename from fixture/chain/small/ancient/hashes.meta rename to chaindata/data/small/ancient/hashes.meta diff --git a/fixture/chain/small/ancient/hashes.ridx b/chaindata/data/small/ancient/hashes.ridx similarity index 100% rename from fixture/chain/small/ancient/hashes.ridx rename to chaindata/data/small/ancient/hashes.ridx diff --git a/fixture/chain/small/ancient/headers.0000.cdat b/chaindata/data/small/ancient/headers.0000.cdat similarity index 100% rename from fixture/chain/small/ancient/headers.0000.cdat rename to chaindata/data/small/ancient/headers.0000.cdat diff --git a/fixture/chain/small/ancient/headers.cidx b/chaindata/data/small/ancient/headers.cidx similarity index 100% rename from fixture/chain/small/ancient/headers.cidx rename to chaindata/data/small/ancient/headers.cidx diff --git a/fixture/chain/small/ancient/headers.meta b/chaindata/data/small/ancient/headers.meta similarity index 100% rename from fixture/chain/small/ancient/headers.meta rename to chaindata/data/small/ancient/headers.meta diff --git a/fixture/chain/small/ancient/receipts.0000.cdat b/chaindata/data/small/ancient/receipts.0000.cdat similarity index 100% rename from fixture/chain/small/ancient/receipts.0000.cdat rename to chaindata/data/small/ancient/receipts.0000.cdat diff --git a/fixture/chain/small/ancient/receipts.cidx b/chaindata/data/small/ancient/receipts.cidx similarity index 100% rename from fixture/chain/small/ancient/receipts.cidx rename to chaindata/data/small/ancient/receipts.cidx diff --git a/fixture/chain/small/ancient/receipts.meta b/chaindata/data/small/ancient/receipts.meta similarity index 100% rename from fixture/chain/small/ancient/receipts.meta rename to chaindata/data/small/ancient/receipts.meta diff --git a/fixture/mainnet/block0_rlp b/chaindata/mainnet/block0_rlp similarity index 100% rename from fixture/mainnet/block0_rlp rename to chaindata/mainnet/block0_rlp diff --git a/fixture/mainnet/block1_rlp b/chaindata/mainnet/block1_rlp similarity index 100% rename from fixture/mainnet/block1_rlp rename to chaindata/mainnet/block1_rlp diff --git a/fixture/mainnet/block2_rlp b/chaindata/mainnet/block2_rlp similarity index 100% rename from fixture/mainnet/block2_rlp rename to chaindata/mainnet/block2_rlp diff --git a/fixture/mainnet/block3_rlp b/chaindata/mainnet/block3_rlp similarity index 100% rename from fixture/mainnet/block3_rlp rename to chaindata/mainnet/block3_rlp diff --git a/fixture/mainnet/chain.go b/chaindata/mainnet/chain.go similarity index 100% rename from fixture/mainnet/chain.go rename to chaindata/mainnet/chain.go diff --git a/chaindata/medium/chain.go b/chaindata/medium/chain.go new file mode 100644 index 0000000..9700669 --- /dev/null +++ b/chaindata/medium/chain.go @@ -0,0 +1,9 @@ +package medium + +import ( + "github.com/cerc-io/eth-testing/chaindata/util" +) + +var ( + ChainDataPath, AncientDataPath = util.ChainDataPaths("medium") +) diff --git a/fixture/medium/leaf_keys.go b/chaindata/medium/leaf_keys.go similarity index 100% rename from fixture/medium/leaf_keys.go rename to chaindata/medium/leaf_keys.go diff --git a/fixture/medium/node_paths.go b/chaindata/medium/node_paths.go similarity index 100% rename from fixture/medium/node_paths.go rename to chaindata/medium/node_paths.go diff --git a/fixture/small/chain.go b/chaindata/small/chain.go similarity index 66% rename from fixture/small/chain.go rename to chaindata/small/chain.go index ca785a6..8daaf81 100644 --- a/fixture/small/chain.go +++ b/chaindata/small/chain.go @@ -1,7 +1,7 @@ package small import ( - "github.com/cerc-io/eth-test-data/fixture/util" + "github.com/cerc-io/eth-testing/chaindata/util" ) var ( diff --git a/fixture/util/chaindata.go b/chaindata/util/chaindata.go similarity index 100% rename from fixture/util/chaindata.go rename to chaindata/util/chaindata.go diff --git a/fixture/medium/chain.go b/fixture/medium/chain.go deleted file mode 100644 index 3520643..0000000 --- a/fixture/medium/chain.go +++ /dev/null @@ -1,9 +0,0 @@ -package medium - -import ( - "github.com/cerc-io/eth-test-data/fixture/util" -) - -var ( - ChainDataPath, AncientDataPath = util.ChainDataPaths("mainnet") -) diff --git a/go.mod b/go.mod index 9755f27..d8a5902 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/cerc-io/eth-test-data +module github.com/cerc-io/eth-testing go 1.19