diff --git a/apps/policy-engine/src/opa/script/evaluate-legacy-policy.script.ts b/apps/policy-engine/src/opa/script/evaluate-legacy-policy.script.ts index d5547d889..d02975d88 100644 --- a/apps/policy-engine/src/opa/script/evaluate-legacy-policy.script.ts +++ b/apps/policy-engine/src/opa/script/evaluate-legacy-policy.script.ts @@ -9,6 +9,7 @@ import wallets from './data/wallets.json' import legacyRequests from './requests/legacy-requests.json' export const run = async () => { + // eslint-disable-next-line no-explicit-any const entities: { [key: string]: any } = { users: {}, wallets: {} } for (const user of users) { @@ -145,9 +146,9 @@ export const run = async () => { // } // } - // if (status == 'completed' && !results[0].permit) { - // console.log({ id: results[0].reasons.map((reason) => reason.policyName), status, result: results[0].permit }) - // } + if (status == 'completed' && !results[0].permit) { + console.log({ id: results[0].reasons.map((reason) => reason.policyName), status, result: results[0].permit }) + } } } diff --git a/packages/transaction-request-intent/src/lib/__test__/unit/decoders.spec.ts b/packages/transaction-request-intent/src/lib/__test__/unit/decoders.spec.ts index afcfcdfe7..303a8b5f7 100644 --- a/packages/transaction-request-intent/src/lib/__test__/unit/decoders.spec.ts +++ b/packages/transaction-request-intent/src/lib/__test__/unit/decoders.spec.ts @@ -330,7 +330,7 @@ describe('decode', () => { type: InputType.RAW, raw: { algorithm: Alg.ES256K, - rawData: '0xdeadbeef' + payload: '0xdeadbeef' } } })