-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature t8n gnosis #7319
Feature t8n gnosis #7319
Changes from 1 commit
b879be2
2a28491
7959cb7
8447331
25f10d7
4c6bcf8
6dad020
a318835
5f2b794
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,7 @@ static void ConfigureT8NCommand(ref RootCommand rootCmd) | |
var traceOpt = new Option<bool>("--trace", description: "Configures the use of the JSON opcode tracer. This tracer emits traces to files as trace-<txIndex>-<txHash>.jsonl", getDefaultValue: () => false); | ||
var traceNoStackOpt = new Option<bool>("--trace.noStack", description: "Trace no stack", getDefaultValue: () => false); | ||
var traceReturnDataOpt = new Option<bool>("--trace.returnData", description: "Trace return data", getDefaultValue: () => false); | ||
var isGnosisTests = new Option<bool>("--run.gnosis", description: "If set to true, will run under Gnosis spec", getDefaultValue: () => false); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just an idea for an improvement: instead of using a new There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good idea, removed --run.gnosis flag |
||
|
||
var cmd = new Command("t8n", "EVM State Transition command") | ||
{ | ||
|
@@ -53,6 +54,7 @@ static void ConfigureT8NCommand(ref RootCommand rootCmd) | |
traceMemoryOpt, | ||
traceNoStackOpt, | ||
traceReturnDataOpt, | ||
isGnosisTests | ||
}; | ||
|
||
cmd.AddAlias("transition"); | ||
|
@@ -86,6 +88,7 @@ await Task.Run(() => | |
context.ParseResult.GetValueForOption(stateChainIdOpt), | ||
context.ParseResult.GetValueForOption(stateForkOpt), | ||
context.ParseResult.GetValueForOption(stateRewardOpt), | ||
context.ParseResult.GetValueForOption(isGnosisTests), | ||
traceOpts | ||
); | ||
Environment.ExitCode = output.ExitCode; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debug log?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed here