Page MenuHomePhabricator

[Cashtab][Alias] Move getAliasRegistrationFee into aliasUtils
AbandonedPublic

Authored by emack on Jul 10 2023, 05:27.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Summary

T3216

All alias related utilities are being consolidated in aliasUtils, hence moving getAliasRegistrationFee and it's helper function getAliasByteSize (only used in getAliasRegistrationFee).

Associated unit tests migrated accordingly.

Test Plan

grep -r getAliasRegistrationFee src/ and ensure references are to aliasUtils.js
grep -r getAliasByteSize src/ and ensure references are to aliasUtils.js
npm test
set alias flag to true in Ticker.js
npm start
navigate to Alias page, input an alias and ensure the size/price preview is correct

Diff Detail

Repository
rABC Bitcoin ABC
Branch
getAliasRegFee
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24422
Build 48444: Build Diffcashtab-tests
Build 48443: arc lint + arc unit