From fc17f64d9f93f227675f5225509f4baf3ffa37f1 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Sat, 9 Sep 2023 05:17:20 +0800 Subject: [PATCH] Rename module and move fixture => chaindata --- {fixture => chaindata}/chain/.gitignore | 0 {fixture => chaindata}/chain/medium/000002.ldb | Bin .../chain/medium/ancient/bodies.0000.cdat | Bin .../chain/medium/ancient/bodies.cidx | Bin .../chain/medium/ancient/bodies.meta | 0 .../chain/medium/ancient/diffs.0000.rdat | Bin .../chain/medium/ancient/diffs.meta | 0 .../chain/medium/ancient/diffs.ridx | Bin .../chain/medium/ancient/hashes.0000.rdat | Bin .../chain/medium/ancient/hashes.meta | 0 .../chain/medium/ancient/hashes.ridx | Bin .../chain/medium/ancient/headers.0000.cdat | Bin .../chain/medium/ancient/headers.cidx | Bin .../chain/medium/ancient/headers.meta | 0 .../chain/medium/ancient/receipts.0000.cdat | Bin .../chain/medium/ancient/receipts.cidx | Bin .../chain/medium/ancient/receipts.meta | 0 {fixture => chaindata}/chain/small/000002.ldb | Bin {fixture => chaindata}/chain/small/000004.ldb | Bin .../chain/small/ancient/bodies.0000.cdat | 0 .../chain/small/ancient/bodies.cidx | Bin .../chain/small/ancient/bodies.meta | 0 .../chain/small/ancient/diffs.0000.rdat | 0 .../chain/small/ancient/diffs.meta | 0 .../chain/small/ancient/diffs.ridx | Bin .../chain/small/ancient/hashes.0000.rdat | 0 .../chain/small/ancient/hashes.meta | 0 .../chain/small/ancient/hashes.ridx | Bin .../chain/small/ancient/headers.0000.cdat | 0 .../chain/small/ancient/headers.cidx | Bin .../chain/small/ancient/headers.meta | 0 .../chain/small/ancient/receipts.0000.cdat | 0 .../chain/small/ancient/receipts.cidx | Bin .../chain/small/ancient/receipts.meta | 0 {fixture => chaindata}/mainnet/block0_rlp | Bin {fixture => chaindata}/mainnet/block1_rlp | Bin {fixture => chaindata}/mainnet/block2_rlp | Bin {fixture => chaindata}/mainnet/block3_rlp | Bin {fixture => chaindata}/mainnet/chain.go | 0 {fixture => chaindata}/medium/chain.go | 2 +- {fixture => chaindata}/medium/leaf_keys.go | 0 {fixture => chaindata}/medium/node_paths.go | 0 {fixture => chaindata}/small/chain.go | 2 +- {fixture => chaindata}/util/chaindata.go | 0 go.mod | 2 +- 45 files changed, 3 insertions(+), 3 deletions(-) rename {fixture => chaindata}/chain/.gitignore (100%) rename {fixture => chaindata}/chain/medium/000002.ldb (100%) rename {fixture => chaindata}/chain/medium/ancient/bodies.0000.cdat (100%) rename {fixture => chaindata}/chain/medium/ancient/bodies.cidx (100%) rename {fixture => chaindata}/chain/medium/ancient/bodies.meta (100%) rename {fixture => chaindata}/chain/medium/ancient/diffs.0000.rdat (100%) rename {fixture => chaindata}/chain/medium/ancient/diffs.meta (100%) rename {fixture => chaindata}/chain/medium/ancient/diffs.ridx (100%) rename {fixture => chaindata}/chain/medium/ancient/hashes.0000.rdat (100%) rename {fixture => chaindata}/chain/medium/ancient/hashes.meta (100%) rename {fixture => chaindata}/chain/medium/ancient/hashes.ridx (100%) rename {fixture => chaindata}/chain/medium/ancient/headers.0000.cdat (100%) rename {fixture => chaindata}/chain/medium/ancient/headers.cidx (100%) rename {fixture => chaindata}/chain/medium/ancient/headers.meta (100%) rename {fixture => chaindata}/chain/medium/ancient/receipts.0000.cdat (100%) rename {fixture => chaindata}/chain/medium/ancient/receipts.cidx (100%) rename {fixture => chaindata}/chain/medium/ancient/receipts.meta (100%) rename {fixture => chaindata}/chain/small/000002.ldb (100%) rename {fixture => chaindata}/chain/small/000004.ldb (100%) rename {fixture => chaindata}/chain/small/ancient/bodies.0000.cdat (100%) rename {fixture => chaindata}/chain/small/ancient/bodies.cidx (100%) rename {fixture => chaindata}/chain/small/ancient/bodies.meta (100%) rename {fixture => chaindata}/chain/small/ancient/diffs.0000.rdat (100%) rename {fixture => chaindata}/chain/small/ancient/diffs.meta (100%) rename {fixture => chaindata}/chain/small/ancient/diffs.ridx (100%) rename {fixture => chaindata}/chain/small/ancient/hashes.0000.rdat (100%) rename {fixture => chaindata}/chain/small/ancient/hashes.meta (100%) rename {fixture => chaindata}/chain/small/ancient/hashes.ridx (100%) rename {fixture => chaindata}/chain/small/ancient/headers.0000.cdat (100%) rename {fixture => chaindata}/chain/small/ancient/headers.cidx (100%) rename {fixture => chaindata}/chain/small/ancient/headers.meta (100%) rename {fixture => chaindata}/chain/small/ancient/receipts.0000.cdat (100%) rename {fixture => chaindata}/chain/small/ancient/receipts.cidx (100%) rename {fixture => chaindata}/chain/small/ancient/receipts.meta (100%) rename {fixture => chaindata}/mainnet/block0_rlp (100%) rename {fixture => chaindata}/mainnet/block1_rlp (100%) rename {fixture => chaindata}/mainnet/block2_rlp (100%) rename {fixture => chaindata}/mainnet/block3_rlp (100%) rename {fixture => chaindata}/mainnet/chain.go (100%) rename {fixture => chaindata}/medium/chain.go (67%) rename {fixture => chaindata}/medium/leaf_keys.go (100%) rename {fixture => chaindata}/medium/node_paths.go (100%) rename {fixture => chaindata}/small/chain.go (66%) rename {fixture => chaindata}/util/chaindata.go (100%) diff --git a/fixture/chain/.gitignore b/chaindata/chain/.gitignore similarity index 100% rename from fixture/chain/.gitignore rename to chaindata/chain/.gitignore diff --git a/fixture/chain/medium/000002.ldb b/chaindata/chain/medium/000002.ldb similarity index 100% rename from fixture/chain/medium/000002.ldb rename to chaindata/chain/medium/000002.ldb diff --git a/fixture/chain/medium/ancient/bodies.0000.cdat b/chaindata/chain/medium/ancient/bodies.0000.cdat similarity index 100% rename from fixture/chain/medium/ancient/bodies.0000.cdat rename to chaindata/chain/medium/ancient/bodies.0000.cdat diff --git a/fixture/chain/medium/ancient/bodies.cidx b/chaindata/chain/medium/ancient/bodies.cidx similarity index 100% rename from fixture/chain/medium/ancient/bodies.cidx rename to chaindata/chain/medium/ancient/bodies.cidx diff --git a/fixture/chain/medium/ancient/bodies.meta b/chaindata/chain/medium/ancient/bodies.meta similarity index 100% rename from fixture/chain/medium/ancient/bodies.meta rename to chaindata/chain/medium/ancient/bodies.meta diff --git a/fixture/chain/medium/ancient/diffs.0000.rdat b/chaindata/chain/medium/ancient/diffs.0000.rdat similarity index 100% rename from fixture/chain/medium/ancient/diffs.0000.rdat rename to chaindata/chain/medium/ancient/diffs.0000.rdat diff --git a/fixture/chain/medium/ancient/diffs.meta b/chaindata/chain/medium/ancient/diffs.meta similarity index 100% rename from fixture/chain/medium/ancient/diffs.meta rename to chaindata/chain/medium/ancient/diffs.meta diff --git a/fixture/chain/medium/ancient/diffs.ridx b/chaindata/chain/medium/ancient/diffs.ridx similarity index 100% rename from fixture/chain/medium/ancient/diffs.ridx rename to chaindata/chain/medium/ancient/diffs.ridx diff --git a/fixture/chain/medium/ancient/hashes.0000.rdat b/chaindata/chain/medium/ancient/hashes.0000.rdat similarity index 100% rename from fixture/chain/medium/ancient/hashes.0000.rdat rename to chaindata/chain/medium/ancient/hashes.0000.rdat diff --git a/fixture/chain/medium/ancient/hashes.meta b/chaindata/chain/medium/ancient/hashes.meta similarity index 100% rename from fixture/chain/medium/ancient/hashes.meta rename to chaindata/chain/medium/ancient/hashes.meta diff --git a/fixture/chain/medium/ancient/hashes.ridx b/chaindata/chain/medium/ancient/hashes.ridx similarity index 100% rename from fixture/chain/medium/ancient/hashes.ridx rename to chaindata/chain/medium/ancient/hashes.ridx diff --git a/fixture/chain/medium/ancient/headers.0000.cdat b/chaindata/chain/medium/ancient/headers.0000.cdat similarity index 100% rename from fixture/chain/medium/ancient/headers.0000.cdat rename to chaindata/chain/medium/ancient/headers.0000.cdat diff --git a/fixture/chain/medium/ancient/headers.cidx b/chaindata/chain/medium/ancient/headers.cidx similarity index 100% rename from fixture/chain/medium/ancient/headers.cidx rename to chaindata/chain/medium/ancient/headers.cidx diff --git a/fixture/chain/medium/ancient/headers.meta b/chaindata/chain/medium/ancient/headers.meta similarity index 100% rename from fixture/chain/medium/ancient/headers.meta rename to chaindata/chain/medium/ancient/headers.meta diff --git a/fixture/chain/medium/ancient/receipts.0000.cdat b/chaindata/chain/medium/ancient/receipts.0000.cdat similarity index 100% rename from fixture/chain/medium/ancient/receipts.0000.cdat rename to chaindata/chain/medium/ancient/receipts.0000.cdat diff --git a/fixture/chain/medium/ancient/receipts.cidx b/chaindata/chain/medium/ancient/receipts.cidx similarity index 100% rename from fixture/chain/medium/ancient/receipts.cidx rename to chaindata/chain/medium/ancient/receipts.cidx diff --git a/fixture/chain/medium/ancient/receipts.meta b/chaindata/chain/medium/ancient/receipts.meta similarity index 100% rename from fixture/chain/medium/ancient/receipts.meta rename to chaindata/chain/medium/ancient/receipts.meta diff --git a/fixture/chain/small/000002.ldb b/chaindata/chain/small/000002.ldb similarity index 100% rename from fixture/chain/small/000002.ldb rename to chaindata/chain/small/000002.ldb diff --git a/fixture/chain/small/000004.ldb b/chaindata/chain/small/000004.ldb similarity index 100% rename from fixture/chain/small/000004.ldb rename to chaindata/chain/small/000004.ldb diff --git a/fixture/chain/small/ancient/bodies.0000.cdat b/chaindata/chain/small/ancient/bodies.0000.cdat similarity index 100% rename from fixture/chain/small/ancient/bodies.0000.cdat rename to chaindata/chain/small/ancient/bodies.0000.cdat diff --git a/fixture/chain/small/ancient/bodies.cidx b/chaindata/chain/small/ancient/bodies.cidx similarity index 100% rename from fixture/chain/small/ancient/bodies.cidx rename to chaindata/chain/small/ancient/bodies.cidx diff --git a/fixture/chain/small/ancient/bodies.meta b/chaindata/chain/small/ancient/bodies.meta similarity index 100% rename from fixture/chain/small/ancient/bodies.meta rename to chaindata/chain/small/ancient/bodies.meta diff --git a/fixture/chain/small/ancient/diffs.0000.rdat b/chaindata/chain/small/ancient/diffs.0000.rdat similarity index 100% rename from fixture/chain/small/ancient/diffs.0000.rdat rename to chaindata/chain/small/ancient/diffs.0000.rdat diff --git a/fixture/chain/small/ancient/diffs.meta b/chaindata/chain/small/ancient/diffs.meta similarity index 100% rename from fixture/chain/small/ancient/diffs.meta rename to chaindata/chain/small/ancient/diffs.meta diff --git a/fixture/chain/small/ancient/diffs.ridx b/chaindata/chain/small/ancient/diffs.ridx similarity index 100% rename from fixture/chain/small/ancient/diffs.ridx rename to chaindata/chain/small/ancient/diffs.ridx diff --git a/fixture/chain/small/ancient/hashes.0000.rdat b/chaindata/chain/small/ancient/hashes.0000.rdat similarity index 100% rename from fixture/chain/small/ancient/hashes.0000.rdat rename to chaindata/chain/small/ancient/hashes.0000.rdat diff --git a/fixture/chain/small/ancient/hashes.meta b/chaindata/chain/small/ancient/hashes.meta similarity index 100% rename from fixture/chain/small/ancient/hashes.meta rename to chaindata/chain/small/ancient/hashes.meta diff --git a/fixture/chain/small/ancient/hashes.ridx b/chaindata/chain/small/ancient/hashes.ridx similarity index 100% rename from fixture/chain/small/ancient/hashes.ridx rename to chaindata/chain/small/ancient/hashes.ridx diff --git a/fixture/chain/small/ancient/headers.0000.cdat b/chaindata/chain/small/ancient/headers.0000.cdat similarity index 100% rename from fixture/chain/small/ancient/headers.0000.cdat rename to chaindata/chain/small/ancient/headers.0000.cdat diff --git a/fixture/chain/small/ancient/headers.cidx b/chaindata/chain/small/ancient/headers.cidx similarity index 100% rename from fixture/chain/small/ancient/headers.cidx rename to chaindata/chain/small/ancient/headers.cidx diff --git a/fixture/chain/small/ancient/headers.meta b/chaindata/chain/small/ancient/headers.meta similarity index 100% rename from fixture/chain/small/ancient/headers.meta rename to chaindata/chain/small/ancient/headers.meta diff --git a/fixture/chain/small/ancient/receipts.0000.cdat b/chaindata/chain/small/ancient/receipts.0000.cdat similarity index 100% rename from fixture/chain/small/ancient/receipts.0000.cdat rename to chaindata/chain/small/ancient/receipts.0000.cdat diff --git a/fixture/chain/small/ancient/receipts.cidx b/chaindata/chain/small/ancient/receipts.cidx similarity index 100% rename from fixture/chain/small/ancient/receipts.cidx rename to chaindata/chain/small/ancient/receipts.cidx diff --git a/fixture/chain/small/ancient/receipts.meta b/chaindata/chain/small/ancient/receipts.meta similarity index 100% rename from fixture/chain/small/ancient/receipts.meta rename to chaindata/chain/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/fixture/medium/chain.go b/chaindata/medium/chain.go similarity index 67% rename from fixture/medium/chain.go rename to chaindata/medium/chain.go index 3520643..6091e8b 100644 --- a/fixture/medium/chain.go +++ b/chaindata/medium/chain.go @@ -1,7 +1,7 @@ package medium import ( - "github.com/cerc-io/eth-test-data/fixture/util" + "github.com/cerc-io/eth-testing/chaindata/util" ) var ( 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/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