Add post-Merge fixtures and refactor #6

Merged
roysc merged 13 commits from new-fixtures into main 2024-07-08 06:35:30 +00:00
38 changed files with 6 additions and 6 deletions
Showing only changes of commit 9ede0fec72 - Show all commits

View File

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

View File

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

View File

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

View File

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