erigon-pulse/cmd/ef-tests-cl/spectest/appendix.go
a 9644e6d220
Implement SpecTests in native go, add fork_choice handler (#7422)
a few TODO: remain to make this not a draft

---------

Co-authored-by: Giulio <giulio.rebuffo@gmail.com>
2023-05-02 16:19:22 +02:00

25 lines
322 B
Go

package spectest
import (
"io/fs"
)
type Appendix map[string]*Format
func (a Appendix) Add(name string) *Format {
o := NewFormat()
a[name] = o
return o
}
type RunDirectoryOptions struct {
FS fs.FS
}
type formatRoot struct {
rawpath string
handlername string
format *Format
root fs.DirEntry
}