Page MenuHomePhabricator

[Cashtab] Use user modal confirmation settings for minting tokens
ClosedPublic

Authored by bytesofman on Sat, Dec 21, 23:52.

Details

Summary

T3709

Currently there is no confirmation on mint txs.

imo Mint is not the kind of action that always needs a confirmation (like burn). So, defer to user settings on this.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
mint-confirm
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31738
Build 62970: Build Diffcashtab-tests
Build 62969: arc lint + arc unit

Event Timeline

emack added a subscriber: emack.
emack added inline comments.
cashtab/src/components/Etokens/__tests__/Token.test.js
967

how do you simulate this environment var in int tests?

This revision is now accepted and ready to land.Sun, Dec 22, 09:45
bytesofman added inline comments.
cashtab/src/components/Etokens/__tests__/Token.test.js
967

you can see in the earlier steps of this test that we render the app rather than only the token route -- navigate to settings, enable this setting, and then navigate to the token page.