Skip to content

Commit

Permalink
Fix invocations
Browse files Browse the repository at this point in the history
  • Loading branch information
talekhinezh committed Jan 8, 2024
1 parent db61c9f commit c0d6b57
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,13 @@ pub struct ConsensusManagerStartInput {}
pub type ConsensusManagerStartOutput = ();

#[derive(Copy, Clone, Debug, Eq, PartialEq, Sbor)]
#[sbor(name = "TimePrecision")]
#[sbor(type_name = "TimePrecision")]
pub enum TimePrecisionV1 {
Minute,
}

#[derive(Copy, Clone, Debug, Eq, PartialEq, Sbor)]
#[sbor(name = "TimePrecision")]
#[sbor(type_name = "TimePrecision")]
pub enum TimePrecisionV2 {
Minute,
Second,
Expand All @@ -221,7 +221,7 @@ pub type TimePrecision = TimePrecisionV2;
pub const CONSENSUS_MANAGER_GET_CURRENT_TIME_IDENT: &str = "get_current_time";

#[derive(Debug, Clone, Eq, PartialEq, Sbor)]
pub struct ConsensusManagerGetCurrentTimeInput {
pub struct ConsensusManagerGetCurrentTimeInputV1 {
pub precision: TimePrecisionV1,
}

Expand All @@ -235,7 +235,7 @@ pub type ConsensusManagerGetCurrentTimeOutput = Instant;
pub const CONSENSUS_MANAGER_COMPARE_CURRENT_TIME_IDENT: &str = "compare_current_time";

#[derive(Debug, Clone, Eq, PartialEq, ScryptoSbor)]
pub struct ConsensusManagerCompareCurrentTimeInput {
pub struct ConsensusManagerCompareCurrentTimeInputV1 {
pub instant: Instant,
pub precision: TimePrecisionV1,
pub operator: TimeComparisonOperator,
Expand Down

0 comments on commit c0d6b57

Please sign in to comment.