| 99 | } |
| 100 | |
| 101 | type CLIConfig struct { |
| 102 | Enabled bool |
| 103 | GasPrice *big.Int |
| 104 | PriorityGasPrice *big.Int |
| 105 | MinimumProfit *big.Int |
| 106 | MaxGasPrice *big.Int |
| 107 | ZKeyFile string |
| 108 | ZKWorkingDir string |
| 109 | ZKProverMode uint64 |
| 110 | ZKProverImpl uint64 |
| 111 | ThreadsPerShard uint64 |
| 112 | EmailEnabled bool |
| 113 | } |
| 114 | |
| 115 | func (c CLIConfig) Check() error { |
| 116 | info, err := os.Stat(filepath.Join(c.ZKWorkingDir, prover.SnarkLib)) |
nothing calls this directly
no outgoing calls
no test coverage detected