diff --git a/apps/policy-engine/src/opa/script/translate-legacy-policy.script.ts b/apps/policy-engine/src/opa/script/translate-legacy-policy.script.ts index 5af492490..2381b86a0 100644 --- a/apps/policy-engine/src/opa/script/translate-legacy-policy.script.ts +++ b/apps/policy-engine/src/opa/script/translate-legacy-policy.script.ts @@ -28,7 +28,6 @@ import { IntentTypeCriterion, Policy, PolicyCriterion, - SignTypedDataDomainCondition, Then } from '../../shared/types/policy.type' @@ -116,8 +115,6 @@ const translateActivityType = (policy: LegacyPolicy): PolicyCriterion[] => { actionCriteria.args = [...actionCriteria.args, Action.SIGN_TYPED_DATA] intentCriteria.args = [...intentCriteria.args, Intents.SIGN_TYPED_DATA] - const args: SignTypedDataDomainCondition = {} - if (chain_id && chain_id !== '*') { intentDomain.args['chainId'] = [chain_id] }