diff --git a/apps/extension/src/routes/popup/approval/transaction/index.tsx b/apps/extension/src/routes/popup/approval/transaction/index.tsx index d1a9c6351a..4f0f943742 100644 --- a/apps/extension/src/routes/popup/approval/transaction/index.tsx +++ b/apps/extension/src/routes/popup/approval/transaction/index.tsx @@ -33,8 +33,8 @@ export const TransactionApproval = () => { return (
+
Confirm transaction
diff --git a/packages/perspective/plan/view-action-plan.test.ts b/packages/perspective/plan/view-action-plan.test.ts index 99308ffa31..0efcd097b9 100644 --- a/packages/perspective/plan/view-action-plan.test.ts +++ b/packages/perspective/plan/view-action-plan.test.ts @@ -427,7 +427,7 @@ describe('viewActionPlan()', () => { }); describe('`withdrawal` action', () => { - test('returns an action view with the `ics20Withdrawal` case and no value', () => { + test('returns an action view with the `ics20Withdrawal` case as-is', () => { const actionPlan = new ActionPlan({ action: { case: 'ics20Withdrawal', @@ -442,7 +442,7 @@ describe('viewActionPlan()', () => { new ActionView({ actionView: { case: 'ics20Withdrawal', - value: {}, + value: { amount: { hi: 1n, lo: 0n } }, }, }), ), diff --git a/packages/perspective/plan/view-action-plan.ts b/packages/perspective/plan/view-action-plan.ts index 6435d4cd72..2f30c71ed3 100644 --- a/packages/perspective/plan/view-action-plan.ts +++ b/packages/perspective/plan/view-action-plan.ts @@ -213,7 +213,7 @@ export const viewActionPlan = return new ActionView({ actionView: { case: 'ics20Withdrawal', - value: {}, + value: actionPlan.action.value, }, }); case 'delegate': diff --git a/packages/perspective/translators/action-view.ts b/packages/perspective/translators/action-view.ts index 6e40d9d05a..a1464580e9 100644 --- a/packages/perspective/translators/action-view.ts +++ b/packages/perspective/translators/action-view.ts @@ -25,6 +25,7 @@ export const asPublicActionView: Translator