File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ class ExpectedResult:
65
65
def add_valid (self , list_plots : list [MockPlotInfo ]) -> None :
66
66
def create_mock_plot (info : MockPlotInfo ) -> Plot :
67
67
return Plot (
68
- str ( info .prover .get_filename () ),
68
+ info .prover .get_filename_str ( ),
69
69
uint8 (0 ),
70
70
bytes32 .zeros ,
71
71
None ,
@@ -77,7 +77,7 @@ def create_mock_plot(info: MockPlotInfo) -> Plot:
77
77
)
78
78
79
79
self .valid_count += len (list_plots )
80
- self .valid_delta .additions .update ({str ( x .prover .get_filename () ): create_mock_plot (x ) for x in list_plots })
80
+ self .valid_delta .additions .update ({x .prover .get_filename_str ( ): create_mock_plot (x ) for x in list_plots })
81
81
82
82
def remove_valid (self , list_paths : list [Path ]) -> None :
83
83
self .valid_count -= len (list_paths )
Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ class MockDiskProver:
45
45
def get_filename (self ) -> Path :
46
46
return Path (self .filename )
47
47
48
+ def get_filename_str (self ) -> str :
49
+ return self .filename
50
+
48
51
49
52
@dataclass
50
53
class MockPlotInfo :
You can’t perform that action at this time.
0 commit comments