rename premerge data

This commit is contained in:
Roy Crihfield 2024-07-02 22:05:19 +08:00
parent 4e44db7591
commit 9ede0fec72
38 changed files with 6 additions and 6 deletions

View File

@ -47,7 +47,7 @@ func testReadChainData(t *testing.T, data *chaindata.Paths) {
} }
func TestReadChainData(t *testing.T) { func TestReadChainData(t *testing.T) {
for _, name := range []string{"small", "small2"} { for _, name := range []string{"permerge1", "premerge2"} {
t.Run(name, func(t *testing.T) { t.Run(name, func(t *testing.T) {
data, err := chaindata.GetFixture(name) data, err := chaindata.GetFixture(name)
if err != nil { if err != nil {

View File

@ -1,11 +1,11 @@
package small package premerge1
import ( import (
"github.com/cerc-io/eth-testing/chains" "github.com/cerc-io/eth-testing/chains"
) )
var ( var (
ChainData, err = chaindata.GetFixture("small") ChainData, err = chains.GetFixture("premerge1")
) )
func init() { func init() {

View File

@ -1,4 +1,4 @@
package small2 package premerge2
import ( import (
"github.com/cerc-io/eth-testing/chains" "github.com/cerc-io/eth-testing/chains"
@ -6,7 +6,7 @@ import (
) )
var ( var (
ChainData, err = chaindata.GetFixture("small2") ChainData, err = chains.GetFixture("premerge2")
// keybytes-encoded leaf keys of all state nodes // keybytes-encoded leaf keys of all state nodes
Block1_StateNodeLeafKeys [][]byte Block1_StateNodeLeafKeys [][]byte

View File

@ -1,4 +1,4 @@
package small2 package premerge2
var Block1_StateNodePaths = [][]byte{ var Block1_StateNodePaths = [][]byte{
{}, {},