Skip to content

Commit

Permalink
update RELAYER_RELAY_CHAIN_NAMES
Browse files Browse the repository at this point in the history
  • Loading branch information
lukachi committed Dec 21, 2023
1 parent e678614 commit 2aff460
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ type ContractAddresses = {

export const RELAYER_RELAY_CHAIN_NAMES: Record<SUPPORTED_CHAINS, string> = {
SEPOLIA: 'Sepolia',
POLYGON: '',
POLYGON_TESTNET: '',
MAINNET: '',
ARBITRUM: '',
XDC: '',
POLYGON: 'Polygon',
POLYGON_TESTNET: 'Mumbai',
MAINNET: 'Ethereum',
ARBITRUM: 'Arbitrum',
XDC: 'Xdc',
}

export const config: {
Expand Down
2 changes: 2 additions & 0 deletions src/contexts/ZkpContext/ZkpContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ const ZkpContextProvider: FC<Props> = ({ children, ...rest }) => {

if (!data?.tx) throw new Error('tx is not defined')

// FIXME: waitTx throws error and catch
// returns 400(3) - so it return true
await waitTx(data?.tx)

return true
Expand Down

0 comments on commit 2aff460

Please sign in to comment.