File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 72
72
from chia .types .peer_info import PeerInfo
73
73
from chia .util .batches import to_batches
74
74
from chia .util .db_wrapper import SQLITE_MAX_VARIABLE_NUMBER
75
+ from chia .util .errors import Err , ValidationError
75
76
from chia .util .hash import std_hash
76
77
from chia .util .limited_semaphore import LimitedSemaphoreFullError
77
78
from chia .util .task_referencer import create_referenced_task
@@ -1133,6 +1134,12 @@ async def signed_values(
1133
1134
try :
1134
1135
await self .full_node .add_unfinished_block (new_candidate , None , True )
1135
1136
except Exception as e :
1137
+ if isinstance (e , ValidationError ) and e .code == Err .NO_OVERFLOWS_IN_FIRST_SUB_SLOT_NEW_EPOCH :
1138
+ self .full_node .log .info (
1139
+ f"Failed to farm block { e } . Consensus rules prevent this block from being farmed. Not retrying"
1140
+ )
1141
+ return None
1142
+
1136
1143
# If we have an error with this block, try making an empty block
1137
1144
self .full_node .log .error (f"Error farming block { e } { new_candidate } " )
1138
1145
candidate_tuple = self .full_node .full_node_store .get_candidate_block (
You can’t perform that action at this time.
0 commit comments