Skip to content

Commit

Permalink
Merge pull request #45 from 0xPolygon/master
Browse files Browse the repository at this point in the history
rebase from master
  • Loading branch information
py-zoid authored Aug 27, 2024
2 parents 540190e + c3c3361 commit ca5980e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
FROM node:16-alpine
FROM node:20-bookworm-slim
WORKDIR /app
RUN apt-get update || : && apt-get install -y \
python3 \
build-essential \
libsasl2-dev \
libsasl2-modules \
libssl-dev \
git
COPY ["package.json", "package-lock.json*", "./"]
RUN npm install
COPY . .
Expand Down
17 changes: 17 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Polygon Technology Security Information

## Link to vulnerability disclosure details (Bug Bounty).
- Websites and Applications: https://hackerone.com/polygon-technology
- Smart Contracts: https://immunefi.com/bounty/polygon

## Languages that our team speaks and understands.
Preferred-Languages: en

## Security-related job openings at Polygon.
https://polygon.technology/careers

## Polygon security contact details.
[email protected]

## The URL for accessing the security.txt file.
Canonical: https://polygon.technology/security.txt
4 changes: 2 additions & 2 deletions src/services/v1ProofGenerationServices.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export async function generateExitPayload(
isCheckpointed = await maticClient.exitUtil.isCheckPointed(burnTxHash)
logger.info(isCheckpointed)
} catch (error) {
logger.error(error)
logger.info(error)
if (i === maxRetries - 1) {
throw new InfoError(
errorTypes.IncorrectTx,
Expand Down Expand Up @@ -302,7 +302,7 @@ export async function generateAllExitPayloads(
isCheckpointed = await maticClient.exitUtil.isCheckPointed(burnTxHash)
logger.info(isCheckpointed)
} catch (error) {
logger.error(error)
logger.info(error)
if (i === maxRetries - 1) {
throw new InfoError(
errorTypes.IncorrectTx,
Expand Down

0 comments on commit ca5980e

Please sign in to comment.