Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

ci: prepare testnet-1 env #4

Merged
merged 1 commit into from
Sep 12, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/docker_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Build and push docker image to GitHub Container Registry
strategy:
matrix:
environment: [devnet-1]
environment: [devnet-1, testnet-1]
runs-on: ubuntu-latest-16-core
environment: ${{ matrix.environment }}
outputs:
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions packages/backend/src/faucet/faucet.service.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { context, Context, trace } from '@opentelemetry/api'
import { Injectable, Logger } from '@nestjs/common'
import { Injectable } from '@nestjs/common'
import { ConfigService } from '@nestjs/config'
import { ethers, providers } from 'ethers'

import { GetSubnetAssetsDto } from './faucet.dto'
import { apm, SERVICE_NAME } from '../main'
import { apm } from '../main'
import { sanitizeURLProtocol } from '../utils'
import { PROVIDER_ERRORS, WALLET_ERRORS } from './faucet.errors'
import { Transaction } from 'elastic-apm-node'
Expand All @@ -29,7 +28,6 @@ export class FaucetService {
})
)
).finally(() => {
console.log('full done')
apmTransaction.end()
})
}
Expand Down Expand Up @@ -62,7 +60,6 @@ export class FaucetService {
const receipt = await tx.wait()

span.end()
console.log('end index', apmSpanIndex)

resolve(receipt)
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@elastic/apm-rum": "^5.14.0",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"@topos-protocol/topos-smart-contracts": "^1.1.4-rc1",
"@topos-protocol/topos-smart-contracts": "^1.2.2",
"antd": "^5.4.0",
"axios": "^1.4.0",
"ethers": "^5.7.2",
Expand Down