Skip to content

Commit

Permalink
Update src/modules/csm/csm.py
Browse files Browse the repository at this point in the history
Co-authored-by: Don Perignom <10616301+madlabman@users.noreply.github.com>
  • Loading branch information
vgorkavenko and madlabman committed Jun 12, 2024
1 parent c01f6dd commit 5297536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/csm/csm.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def current_frame_range(self, converter: Web3Converter, blockstamp: BlockStamp)

far_future_initial_epoch = converter.get_epoch_by_timestamp(FAR_FUTURE_EPOCH)
if converter.frame_config.initial_epoch == far_future_initial_epoch:
raise ValueError("CSFeeOracle with no initial epoch yet")
raise ValueError("CSM oracle initial epoch is FAR_FUTURE_EPOCH")

l_ref_slot = self.w3.csm.get_csm_last_processing_ref_slot(blockstamp)
r_ref_slot = self.get_current_frame(blockstamp).ref_slot
Expand Down

0 comments on commit 5297536

Please sign in to comment.