-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(NameRegistry): registrations last for one year (#125)
* test(NameRegistry): fix failure when alice==bob * refactor(NameRegistry): replace currYearFee with fee * refactor(NameRegistry): register should register an fname for 365 days * refactor(NameRegistry): rename GRACE_PERIOD, YEARS_IN_DAYS * refactor(NameRegistry): reclaim should extend registration only when close to expiry * refactor(NameRegistry): trustedRegister should register an fname for 365 days * refactor(NameRegistry): renew should extend registration by 365 days * refactor(NameRegistry): bid should extend registration by 365 days * refactor: remove unused functions, variables, errors * test(NameRegistry): rewrite upgrade tests * test(NameRegistry): refactor gas usage tests to be simpler * test(BundleRegistry): refactor BundleRegistry tests * test(NameRegistry): refactor constants * feat(NameRegistry): change renewal period from 31 days to 30 days * docs: update * docs: update comments
- Loading branch information
Showing
9 changed files
with
564 additions
and
675 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
BundleRegistryGasUsageTest:testGasRegister() (gas: 2081200) | ||
BundleRegistryGasUsageTest:testGasTrustedRegister() (gas: 1783478) | ||
BundleRegistryGasUsageTest:testGasRegister() (gas: 1883943) | ||
BundleRegistryGasUsageTest:testGasTrustedRegister() (gas: 1748097) | ||
IDRegistryGasUsageTest:testGasRegisterAndRecover() (gas: 2077004) | ||
IDRegistryGasUsageTest:testGasRegisterFromTrustedCaller() (gas: 838954) | ||
NameRegistryGasUsageTest:testGasRegisterUsage() (gas: 2308274) | ||
NameRegistryGasUsageTest:testGasTrustedRegisterUsage() (gas: 1158396) | ||
NameRegistryGasUsageTest:testGasRegister() (gas: 2123149) | ||
NameRegistryGasUsageTest:testGasTrustedRegister() (gas: 1123092) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.