- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3.8k
cannon: Output information about the state in JSON format from the witness command #12137
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
Conversation
| Semgrep found 35  
 Named return arguments to functions must be appended with an underscore ( Semgrep found 44  
 Inputs to functions must be prepended with an underscore ( | 
| Codecov ReportAll modified and coverable lines are covered by tests ✅ 
 Additional details and impacted files@@             Coverage Diff             @@
##           develop   #12137      +/-   ##
===========================================
- Coverage    75.16%   74.94%   -0.22%     
===========================================
  Files           49       49              
  Lines         3652     3652              
===========================================
- Hits          2745     2737       -8     
- Misses         734      743       +9     
+ Partials       173      172       -1     
 Flags with carried forward coverage won't be shown. Click here to find out more. 
 | 
…tness command. Will provide all the information about a state that the challenger needs so it doesn't have to depend on the parsing code directly.
3a17fb3    to
    b324826      
    Compare
  
    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.
This is OK. Is the printed state data printed to stdout needed by the op-challenger? If so, we should write to a file instead.
It's not too late to break the cannon CLI.
| 
 Nvmind this. The  | 
…tness command (ethereum-optimism#12137) * cannon: Output information about the state in JSON format from the witness command. Will provide all the information about a state that the challenger needs so it doesn't have to depend on the parsing code directly. * cannon: Update multicannon witness description.
Description
Will provide all the information about a state that the challenger needs so it doesn't have to depend on the parsing code directly.
Also set the default target for make to
cannon- previously it was just buildingcannon-implso thebin/cannoncommand didn't get updated.