Page MenuHomePhabricator

[Cashtab] Move the opreturn config out of Ticker.js
ClosedPublic

Authored by emack on Jun 24 2023, 12:35.

Details

Summary

Similar to D14102, this diff moves the opreturn specific config out of Ticker.js and into its own config file.

Test Plan
  • ensure no results from the following greps: (copy and paste in one single batch)

grep -wr currency.opReturn.opReturnPrefixHex src/
grep -wr currency.opReturn.opReturnPrefixDec src/
grep -wr currency.opReturn.opReturnAppPrefixLengthHex src/
grep -wr currency.opReturn.opPushDataOne src/
grep -wr currency.opReturn.appPrefixesHex.eToken src/
grep -wr currency.opReturn.appPrefixesHex.cashtab src/
grep -wr currency.opReturn.appPrefixesHex.cashtabEncrypted src/
grep -wr currency.opReturn.appPrefixesHex.airdrop src/
grep -wr currency.opReturn.appPrefixesHex.aliasRegistration src/
grep -wr currency.opReturn.encryptedMsgByteLimit src/
grep -wr currency.opReturn.unencryptedMsgByteLimit src/

  • npm test
  • npm start
  • send and receive XEC tx with an unencrypted message
  • send and receive one to many XEC tx with an unencrypted message
  • send and receive XEC with an encrypted message
  • send and receive an airdrop generated XEC transaction and ensure it's recognized in tx history as an airdrop tx
  • send and receive eToken

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable