fix: a saved wait in another shape reaches SuccessTx when its receipt arrives (closes #734)
A saved wait whose decoded record is in another shape threw when its receipt arrived. WaitTx then stayed on screen with the counter stopped. decodedDetailsHtml() now shows only the lines whose label and value are text. SuccessTx shows the amount and recipient when no line can be read. WaitTx and ErrorTx now show each allowance's Allowance token line. Long amounts use break-words, so words stay whole. ErrorTx sets up copying when it has no hash, so the token's address can be copied. Model: opus-5-5
This commit was merged in pull request #739.
This commit is contained in:
@@ -458,6 +458,9 @@ describe("a swap that gives another spender an allowance", () => {
|
||||
const html = node(id).innerHTML;
|
||||
expect(html).toContain("Permit2 allowance");
|
||||
expect(html).toContain("Unlimited");
|
||||
expect(html).toContain("Allowance token");
|
||||
expect(html).toContain('<div class="font-bold">USDC</div>');
|
||||
expect(html).toContain(`data-copy="${USDC}"`);
|
||||
}
|
||||
|
||||
test("the wait screen shows the allowance under the Amount figure", async () => {
|
||||
|
||||
Reference in New Issue
Block a user