Page MenuHomePhabricator

[ecash-agora] Support for ALP relist
ClosedPublic

Authored by bytesofman on Wed, Oct 29, 02:45.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC637bad430185: [ecash-agora] Support for ALP relist
Summary

Add a new relist method to AgoraOffer. This is useful for updating the terms of an existing offer without canceling it in one tx and then recreating it in another tx. For example, this method would be useful in updating the price of an existing offer.

Test Plan

npm test, CI test

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Wed, Oct 29, 15:54

Failed tests logs:

====== CashTab Unit Tests: <Token /> available actions rendered We can send an SLP1 NFT ======
Error: expect(element).toBeChecked()

Received element is not checked:
  <input class="sc-hGoxap bNvNmn" id="Toggle Sell NFT" name="Toggle Sell NFT" title="Toggle Sell NFT" type="checkbox" />
    at Object.toBeChecked (/work/cashtab/src/components/Etokens/__tests__/TokenActions.test.js:1042:34)
    at runNextTicks (node:internal/process/task_queues:65:5)
    at listOnTimeout (node:internal/timers:549:9)
    at processTimers (node:internal/timers:523:7)

Each failure log is accessible here:
CashTab Unit Tests: <Token /> available actions rendered We can send an SLP1 NFT

This revision was automatically updated to reflect the committed changes.