From b481d84d687a26609b72ad87742fcca0c631189a Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc" Date: Fri, 17 Nov 2023 23:38:35 +0700 Subject: [PATCH] feat: Add Light Bridge release pipeline (#1300) * feat: Light bridge pipeline * Refactor description * Remove light bridge pipeline as covered by boba-publish-* --- ops/docker-compose-bnb-side.yml | 4 ++++ ops/docker-compose-side.yml | 4 ++++ packages/boba/teleportation/src/exec/run.ts | 4 ---- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ops/docker-compose-bnb-side.yml b/ops/docker-compose-bnb-side.yml index 78d5eb4a01..a3e6f6e4bf 100644 --- a/ops/docker-compose-bnb-side.yml +++ b/ops/docker-compose-bnb-side.yml @@ -116,6 +116,10 @@ services: TELEPORTATION_AWS_KMS_KEY_ID: "${TELEPORTATION_AWS_KMS_KEY_ID:-3}" TELEPORTATION_AWS_KMS_ENDPOINT: "${TELEPORTATION_AWS_KMS_ENDPOINT:-http://kms:8888/}" TELEPORTATION_AWS_KMS_REGION: "${TELEPORTATION_AWS_KMS_REGION:-us-east-1}" + # TBD best amount to airdrop + TELEPORTATION_AIRDROP_GAS_AMOUNT_WEI: 500000000000000 + TELEPORTATION_AIRDROP_COOLDOWN_SECONDS: 86400 # 86400s = 1 day + TELEPORTATION_AIRDROP_ENABLED: false teleportation_db: image: postgres diff --git a/ops/docker-compose-side.yml b/ops/docker-compose-side.yml index 4e0d28cd48..0090e6dd27 100644 --- a/ops/docker-compose-side.yml +++ b/ops/docker-compose-side.yml @@ -77,6 +77,10 @@ services: TELEPORTATION_AWS_KMS_KEY_ID: "${TELEPORTATION_AWS_KMS_KEY_ID:-3}" TELEPORTATION_AWS_KMS_REGION: "${TELEPORTATION_AWS_KMS_REGION:-us-east-1}" TELEPORTATION_AWS_KMS_ENDPOINT: "${TELEPORTATION_AWS_KMS_ENDPOINT:-http://kms:8888/}" + # TBD best amount to airdrop + TELEPORTATION_AIRDROP_GAS_AMOUNT_WEI: "500000000000000" + TELEPORTATION_AIRDROP_COOLDOWN_SECONDS: "86400" # 86400s = 1 day + TELEPORTATION_AIRDROP_ENABLED: "false" teleportation_db: image: postgres diff --git a/packages/boba/teleportation/src/exec/run.ts b/packages/boba/teleportation/src/exec/run.ts index 8c8b9d3905..df244f6bc9 100644 --- a/packages/boba/teleportation/src/exec/run.ts +++ b/packages/boba/teleportation/src/exec/run.ts @@ -66,10 +66,6 @@ const main = async () => { 'teleportation-airdrop-gas-amount-wei', env.TELEPORTATION_AIRDROP_GAS_AMOUNT_WEI || '100000000000000' // 0.0001 eth ) - const TELEPORTATION_AIRDROP_MIN_USD_VALUE = config.str( - 'teleportation-airdrop-min-usd-value', - env.TELEPORTATION_AIRDROP_MIN_USD_VALUE || '15' - ) const TELEPORTATION_AIRDROP_COOLDOWN_SECONDS = config.str( 'teleportation-airdrop-cooldown-seconds', env.TELEPORTATION_AIRDROP_COOLDOWN_SECONDS || '86400'