Skip to content

Commit

Permalink
Merge pull request #167 from aptos-labs/BriungRi-patch-3
Browse files Browse the repository at this point in the history
Set max_number_of_years to 1
  • Loading branch information
0xaptosj authored Sep 21, 2023
2 parents cbd8c0f + 336baef commit 46875ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core_v2/sources/v2_config.move
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module aptos_names_v2::v2_config {
enabled: true,
admin_address,
fund_destination_address,
max_number_of_seconds_registered: SECONDS_PER_YEAR * 2,
max_number_of_seconds_registered: SECONDS_PER_YEAR,
max_domain_length: 63,
min_domain_length: 3,
tokendata_description: string::utf8(b"This is an official Aptos Labs Name Service Name"),
Expand Down Expand Up @@ -325,7 +325,7 @@ module aptos_names_v2::v2_config {
set_max_domain_length(myself, 25);
assert!(max_domain_length() == 25, 3);

assert!(max_number_of_seconds_registered() == SECONDS_PER_YEAR * 2, 4);
assert!(max_number_of_seconds_registered() == SECONDS_PER_YEAR, 4);
set_max_number_of_seconds_registered(myself, SECONDS_PER_YEAR * 5);
assert!(max_number_of_seconds_registered() == SECONDS_PER_YEAR * 5, 4);

Expand Down

0 comments on commit 46875ec

Please sign in to comment.