Skip to content

fix: add ajv address format validation and chainId guard in deliverPayable#167

Open
narasim-teja wants to merge 1 commit intoVirtual-Protocol:mainfrom
narasim-teja:fix/ajv-address-format-and-chainid-guard
Open

fix: add ajv address format validation and chainId guard in deliverPayable#167
narasim-teja wants to merge 1 commit intoVirtual-Protocol:mainfrom
narasim-teja:fix/ajv-address-format-and-chainid-guard

Conversation

@narasim-teja
Copy link

  • Register custom Ethereum address format with AJV via ajv-formats to fix unknown format "address" crash in initiateJob()
  • Add truthy guard for fare.chainId in deliverPayable() to prevent incorrect cross-chain routing when chainId is undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant