diff --git a/packages/extension/src/background/transaction/baseValidatedTxnWrap.ts b/packages/extension/src/background/transaction/baseValidatedTxnWrap.ts index 5f1d53d1..795dcb74 100644 --- a/packages/extension/src/background/transaction/baseValidatedTxnWrap.ts +++ b/packages/extension/src/background/transaction/baseValidatedTxnWrap.ts @@ -30,6 +30,13 @@ export class BaseValidatedTxnWrap { const missingFields = []; const extraFields = []; + if(v1Validations) { + this.validityObject['v1'] = new ValidationResponse({ + status: ValidationStatus.Warning, + info: 'Version 1 transactions have been deprecated.', + }); + } + // Cycle base transaction fields for this type of transaction to verify require fields are present. // Nullable type fields are being initialized to null instead of undefined. Object.entries(this.transaction).forEach(([key, value]) => {