diff --git a/bun.lockb b/bun.lockb index 081badb..582bbcc 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 21a87b5..14fac05 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "build:testnet": "NETWORK_NAME=testnet bash build.sh", "build:mainnet": "NETWORK_NAME=mainnet bash build.sh", + "build:qa": "NETWORK_NAME=legacy bash build.sh", "build:portal": "tsc && vite build", "build:packages": "bun run build:core", "build:core": "cd packages/core && bun install && bun run build", @@ -60,4 +61,4 @@ "vite": "^4.4.9", "vite-plugin-vercel": "^0.2.1" } -} +} \ No newline at end of file diff --git a/packages/core/src/types/index.ts b/packages/core/src/types/index.ts index d54f194..805d2b8 100644 --- a/packages/core/src/types/index.ts +++ b/packages/core/src/types/index.ts @@ -135,7 +135,7 @@ export interface IAddressCounters { token_transfers_count: string transactions_count: string validations_count: string - transactions_last_day: number + transactions_today: number transactions_last_7_days: number transactions_last_30_days: number } diff --git a/skale-network b/skale-network index 74d9b83..949f5d5 160000 --- a/skale-network +++ b/skale-network @@ -1 +1 @@ -Subproject commit 74d9b836aaaa2e855a6b80f56e81a04b4eecc6f1 +Subproject commit 949f5d51cca2b93f072e62e36974bab970fc096a diff --git a/src/core/explorer.ts b/src/core/explorer.ts index ead0465..57f2489 100644 --- a/src/core/explorer.ts +++ b/src/core/explorer.ts @@ -42,7 +42,7 @@ export function getTotalAppCounters( token_transfers_count: '0', transactions_count: '0', validations_count: '0', - transactions_last_day: 0, + transactions_today: 0, transactions_last_7_days: 0, transactions_last_30_days: 0 } @@ -63,7 +63,7 @@ export function getTotalAppCounters( totalCounters.validations_count = ( parseInt(totalCounters.validations_count) + parseInt(addressCounters.validations_count) ).toString() - totalCounters.transactions_last_day += addressCounters.transactions_last_day + totalCounters.transactions_today += addressCounters.transactions_today totalCounters.transactions_last_7_days += addressCounters.transactions_last_7_days totalCounters.transactions_last_30_days += addressCounters.transactions_last_30_days } diff --git a/src/pages/App.tsx b/src/pages/App.tsx index 632714c..9940a36 100644 --- a/src/pages/App.tsx +++ b/src/pages/App.tsx @@ -302,7 +302,7 @@ export default function App(props: { grow text="Daily transactions" value={ - counters ? formatNumber(Number(counters.transactions_last_day)) : undefined + counters ? formatNumber(Number(counters.transactions_today)) : undefined } icon={} />