Skip to content

Commit 1107163

Browse files
authored
chore: prod release for Plasma (#378)
1 parent f63b1a3 commit 1107163

File tree

6 files changed

+57
-252
lines changed

6 files changed

+57
-252
lines changed

packages/indexer-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"author": "",
2323
"license": "ISC",
2424
"dependencies": {
25-
"@across-protocol/sdk": "^4.3.59",
25+
"@across-protocol/sdk": "^4.3.67",
2626
"@repo/error-handling": "workspace:*",
2727
"@repo/indexer": "workspace:*",
2828
"@repo/indexer-database": "workspace:*",

packages/indexer-database/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"author": "",
2626
"license": "ISC",
2727
"dependencies": {
28-
"@across-protocol/sdk": "^4.3.60",
28+
"@across-protocol/sdk": "^4.3.67",
2929
"pg": "^8.4.0",
3030
"reflect-metadata": "^0.1.13",
3131
"superstruct": "2.0.3-1",

packages/indexer/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"author": "",
2222
"license": "ISC",
2323
"dependencies": {
24-
"@across-protocol/constants": "^3.1.74",
25-
"@across-protocol/contracts": "^4.1.6",
26-
"@across-protocol/sdk": "^4.3.60",
24+
"@across-protocol/constants": "^3.1.79",
25+
"@across-protocol/contracts": "^4.1.9",
26+
"@across-protocol/sdk": "^4.3.67",
2727
"@repo/error-handling": "workspace:*",
2828
"@repo/webhooks": "workspace:*",
2929
"@solana/kit": "^2.1.0",

packages/indexer/src/data-indexing/service/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const finalisedBlockBufferDistances: Record<number, number> = {
1717
[CHAIN_IDs.MAINNET]: 8,
1818
[CHAIN_IDs.MODE]: 120,
1919
[CHAIN_IDs.OPTIMISM]: 60,
20+
[CHAIN_IDs.PLASMA]: 60,
2021
[CHAIN_IDs.POLYGON]: 128,
2122
[CHAIN_IDs.REDSTONE]: 60,
2223
[CHAIN_IDs.SCROLL]: 40,
@@ -59,6 +60,7 @@ const indexingDelaySeconds: Record<number, number> = {
5960
[CHAIN_IDs.MAINNET]: 10,
6061
[CHAIN_IDs.MODE]: 3,
6162
[CHAIN_IDs.OPTIMISM]: 4,
63+
[CHAIN_IDs.PLASMA]: 4,
6264
[CHAIN_IDs.POLYGON]: 3,
6365
[CHAIN_IDs.REDSTONE]: 4,
6466
[CHAIN_IDs.SCROLL]: 6,

packages/indexer/src/web3/constants.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const DEFAULT_NO_TTL_DISTANCE: { [chainId: number]: number } = {
1818
[CHAIN_IDs.MAINNET]: 14400,
1919
[CHAIN_IDs.MODE]: 86400,
2020
[CHAIN_IDs.OPTIMISM]: 86400,
21+
[CHAIN_IDs.PLASMA]: 172800,
2122
[CHAIN_IDs.POLYGON]: 86400,
2223
[CHAIN_IDs.REDSTONE]: 86400,
2324
[CHAIN_IDs.SOLANA]: 432000,
@@ -58,6 +59,7 @@ export const CHAIN_CACHE_FOLLOW_DISTANCE: { [chainId: number]: number } = {
5859
[CHAIN_IDs.MAINNET]: 128,
5960
[CHAIN_IDs.MODE]: 120,
6061
[CHAIN_IDs.OPTIMISM]: 120,
62+
[CHAIN_IDs.PLASMA]: 120,
6163
[CHAIN_IDs.POLYGON]: 256,
6264
[CHAIN_IDs.REDSTONE]: 120,
6365
[CHAIN_IDs.SCROLL]: 100,
@@ -132,6 +134,7 @@ export const BLOCK_TIME_SECONDS: { [chainId: number]: number } = {
132134
[CHAIN_IDs.MAINNET]: 12,
133135
[CHAIN_IDs.MODE]: 2,
134136
[CHAIN_IDs.OPTIMISM]: 2,
137+
[CHAIN_IDs.PLASMA]: 1,
135138
[CHAIN_IDs.POLYGON]: 2,
136139
[CHAIN_IDs.REDSTONE]: 2,
137140
[CHAIN_IDs.SCROLL]: 3,

0 commit comments

Comments
 (0)