Skip to content

Commit

Permalink
Ignore the extrinsic
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypan committed Nov 11, 2024
1 parent cc72167 commit 0644123
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/monkey/monkey_reorg_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ def monkey_execute_extrinsic_batch(self, substrate, kp_src, batch,
RETRY_TIMES = 3
for i in range(RETRY_TIMES):
try:
print(f'{substrate.url}, {batch}')
if len(str(batch)) > 512:
print(f'{substrate.url}, {str(batch)[:512]}...')
else:
print(f'{substrate.url}, {batch}')
receipt = origin_execute_extrinsic_batch(self, substrate, kp_src, batch, wait_for_finalization, tip)
show_extrinsic(receipt, f'{substrate.url}')
return receipt
Expand Down

0 comments on commit 0644123

Please sign in to comment.