Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
yuunlimm committed Jul 25, 2024
1 parent 2719b49 commit 860cdcb
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ pub struct AnsPrimaryNameV2 {
pub token_name: Option<String>,
pub is_deleted: bool,
#[allocative(skip)]
pub expiration_timestamp: chrono::NaiveDateTime,
pub subdomain_expiration_policy: Option<i64>,
#[allocative(skip)]
pub block_timestamp: chrono::NaiveDateTime,
}

Expand Down Expand Up @@ -62,6 +65,8 @@ pub struct CurrentAnsPrimaryNameV2 {
pub token_name: Option<String>,
pub is_deleted: bool,
pub last_transaction_version: i64,
pub expiration_timestamp: chrono::NaiveDateTime,
pub subdomain_expiration_policy: Option<i64>,
}

impl Ord for CurrentAnsPrimaryNameV2 {
Expand Down Expand Up @@ -101,6 +106,8 @@ impl CurrentAnsPrimaryNameV2 {
subdomain: v1_primary_name.subdomain,
token_name: v1_primary_name.token_name,
is_deleted: v1_primary_name.is_deleted,
// expiration_timestamp: v1_primary_name.expiration_timestamp,
// subdomain_expiration_policy: v1_primary_name.subdomain_expiration_policy,
block_timestamp,
},
)
Expand Down

0 comments on commit 860cdcb

Please sign in to comment.