Useful visual reference to distinguish sell offers from the tokens mint address vs other sell offers.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABC064ad0851df0: [Cashtab] Add tooltipped icon on Agora Offers created by the token creator
npm test
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs:
====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. Received has value: undefined at __EXTERNAL_MATCHER_TRAP__ (/work/cashtab/node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toBeInTheDocument] (/work/cashtab/node_modules/expect/build/index.js:326:15) at Object.toBeInTheDocument (/work/cashtab/src/components/Agora/__tests__/index.test.js:647:11)
Each failure log is accessible here:
CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer
Comment Actions
I thought about that but you can't really know if it's the creator, right ? I mean the creator can have several addresses
Comment Actions
it's possible we could have "creator-made" offers that we miss with this check
but we know that every offer that does match this check is creator-made
in practice, all user facing apps for token minting now will make a genesis tx that passes this check.
So, I think it's worth adding. It's not really a "legitimacy" check so much as useful info.