Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cleanup): big cleanup #752

Merged
merged 5 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 26 additions & 14 deletions .env-example
Original file line number Diff line number Diff line change
@@ -1,16 +1,28 @@
# - Core bundler environment variables -

BUNDLER_CONFIG_PASSPHRASE=
BUNDLER_NODE_PATH_INDEX=0
BUNDLER_CHAIN_ID=80001
BUNDLER_MIN_RELAYER_COUNT=5
BUNDLER_MAX_RELAYER_COUNT=10
BUNDLER_FUNDING_BALANCE_THRESHOLD=0.1
BUNDLER_FUNDING_RELAYER_AMOUNT=0.2
BUNDLER_SLACK_JSON='{"token": "","channel": ""}'
BUNDLER_PROVIDER_JSON='{"137": "", "42161": "", "56": "", "10": "", "43114": "", "8453": "", "80001": ""}'
BUNDLER_DATASOURCES_JSON= '{"mongoUrl": "", "redisUrl": ""}'
BUNDLER_QUEUE_URL=""
BUNDLER_IS_TRUSTWALLET_SETUP=true
BUNDLER_FALLBACK_PROVIDER_JSON='{"137": ["", ""], "42161": ["", ""], "56": ["", ""], "10": ["", ""], "43114": ["", ""], "8453": ["", ""], "80001": ["", ""]}'
NODE_PATH_INDEX=0
# 🔥 make sure this is never development when deploying to production 🔥
NODE_ENV=development

# - Smoke tests environment variables -

# You can set the folloowing to a production deployment if you want to run smoke tests against the production environment
SMOKE_TEST_BUNDLER_HOSTNAME=https://bundler.biconomy.io

# - E2E tests environment variables -

# Following are the environment variables required for e2e tests, see the docstrings inside src/test/e2e/nativeTransfer.test.ts for more information
# Set this to the private key of the EOA account that will be used to derive the smart account
PRIVATE_KEY=

# Set this to https://bundler.biconomy.io if you want to test against the production environment
BUNDLER_HOSTNAME=http://localhost:3000

// make sure this is never development when deploying to production, and delete this line
NODE_ENV=
# You don't have to set all of the paymasters, just the ones you want to test e2e
BASE_MAINNET_PAYMASTER_URL=
AVALANCHE_MAINNET_PAYMASTER_URL=
OPTIMISM_MAINNET_PAYMASTER_URL=
POLYGON_MAINNET_PAYMASTER_URL=
BSC_MAINNET_PAYMASTER_URL=
ARBITRUM_MAINNET_PAYMASTER_URL=
8 changes: 4 additions & 4 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 node:21.6-bookworm as builder
FROM --platform=linux/amd64 node:21.6-bookworm AS builder

# Install dependencies

Expand All @@ -15,7 +15,7 @@ COPY package.json yarn.lock ./
RUN yarn install

# Copy the rest of the files
COPY . .
# COPY . .

# Second stage
FROM --platform=linux/amd64 node:21.6-bookworm
Expand All @@ -24,8 +24,8 @@ FROM --platform=linux/amd64 node:21.6-bookworm
# NOTE: See https://github.com/hexops/dockerfile#is-tini-still-required-in-2020-i-thought-docker-added-it-natively

RUN apt-get update && apt-get install -y \
tini \
&& rm -rf /var/lib/apt/lists/*
tini \
&& rm -rf /var/lib/apt/lists/*


# Expose the port
Expand Down
30 changes: 0 additions & 30 deletions centrifugo_config.json

This file was deleted.

Loading
Loading