You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd/evm/internal/t8ntool, trie: support for verkle-at-genesis, use UBT, and move the transition tree to its own package (ethereum#32445)
This is broken off of ethereum#31730 to only focus on testing networks that
start with verkle at genesis.
The PR has seen a lot of work since its creation, and it now targets
creating and re-executing tests for a binary tree testnet without the
transition (so it starts at genesis). The transition tree has been moved
to its own package. It also replaces verkle with the binary tree for
this specific application.
---------
Co-authored-by: Gary Rong <[email protected]>
//go:generate go run github.com/fjl/gencodec -type ExecutionResult -field-override executionResultMarshaling -out gen_execresult.go
Copy file name to clipboardExpand all lines: cmd/evm/internal/t8ntool/flags.go
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,14 @@ var (
88
88
"\t<file> - into the file <file> ",
89
89
Value: "block.json",
90
90
}
91
+
OutputBTFlag=&cli.StringFlag{
92
+
Name: "output.vkt",
93
+
Usage: "Determines where to put the `BT` of the post-state.\n"+
94
+
"\t`stdout` - into the stdout output\n"+
95
+
"\t`stderr` - into the stderr output\n"+
96
+
"\t<file> - into the file <file> ",
97
+
Value: "vkt.json",
98
+
}
91
99
InputAllocFlag=&cli.StringFlag{
92
100
Name: "input.alloc",
93
101
Usage: "`stdin` or file name of where to find the prestate alloc to use.",
@@ -123,6 +131,11 @@ var (
123
131
Usage: "`stdin` or file name of where to find the transactions list in RLP form.",
124
132
Value: "txs.rlp",
125
133
}
134
+
// TODO(@CPerezz): rename `Name` of the file in a follow-up PR (relays on EEST -> https://github.com/ethereum/execution-spec-tests/tree/verkle/main)
135
+
InputBTFlag=&cli.StringFlag{
136
+
Name: "input.vkt",
137
+
Usage: "`stdin` or file name of where to find the prestate BT.",
138
+
}
126
139
SealCliqueFlag=&cli.StringFlag{
127
140
Name: "seal.clique",
128
141
Usage: "Seal block with Clique. `stdin` or file name of where to find the Clique sealing data.",
0 commit comments