Skip to content
Closed
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
10 changes: 5 additions & 5 deletions src/components/c2d/compute_engine_docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import type {
import {
BENCHMARK_MONITORING_ADDRESS,
getConfiguration,
SEPOLIA_CHAIN_ID,
USDC_TOKEN
BASE_CHAIN_ID,
USDC_TOKEN_ON_BASE
} from '../../utils/config.js'
import { C2DEngine } from './compute_engine_base.js'
import { C2DDatabase } from '../database/C2DDatabase.js'
Expand Down Expand Up @@ -215,11 +215,11 @@ export class C2DEngineDocker extends C2DEngine {
price: 1
}))

const sepoliaChainId = SEPOLIA_CHAIN_ID
const usdcToken = USDC_TOKEN
const benchmarkEnvId = BASE_CHAIN_ID
const usdcToken = USDC_TOKEN_ON_BASE

const benchmarkFees: ComputeEnvFeesStructure = {
[sepoliaChainId]: [{ feeToken: usdcToken, prices: benchmarkPrices }]
[benchmarkEnvId]: [{ feeToken: usdcToken, prices: benchmarkPrices }]
}

const benchmarkEnv: C2DEnvironmentConfig = {
Expand Down
4 changes: 3 additions & 1 deletion src/utils/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ export const DEFAULT_RATE_LIMIT_PER_MINUTE = 30
export const DEFAULT_MAX_CONNECTIONS_PER_MINUTE = 60 * 2 // 120 requests per minute
export const BENCHMARK_MONITORING_ADDRESS = '0xC5ea7916f95D5a087A644f1Dc0f7d19955eC446F'
export const SEPOLIA_CHAIN_ID = '11155111'
export const USDC_TOKEN = '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238'
export const USDC_TOKEN_ON_SEPOLIA = '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238'
export const BASE_CHAIN_ID = '8453'
export const USDC_TOKEN_ON_BASE = '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 '
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here there is an extra space at the end


export const DEFAULT_BOOTSTRAP_ADDRESSES = [
// OPF nodes
Expand Down
Loading