Skip to content

Commit 7faa5d1

Browse files
authored
Doctor who (#859)
1 parent 2e3fbe4 commit 7faa5d1

File tree

4 files changed

+394
-22
lines changed

4 files changed

+394
-22
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@across-protocol/sdk",
33
"author": "UMA Team",
4-
"version": "4.0.0",
4+
"version": "4.0.1",
55
"license": "AGPL-3.0",
66
"homepage": "https://docs.across.to/reference/sdk",
77
"files": [
@@ -99,8 +99,8 @@
9999
},
100100
"dependencies": {
101101
"@across-protocol/across-token": "^1.0.0",
102-
"@across-protocol/constants": "^3.1.30",
103-
"@across-protocol/contracts": "^3.0.25",
102+
"@across-protocol/constants": "^3.1.32",
103+
"@across-protocol/contracts": "3.0.26-beta.1",
104104
"@eth-optimism/sdk": "^3.3.1",
105105
"@ethersproject/bignumber": "^5.7.0",
106106
"@pinata/sdk": "^2.1.0",

src/utils/BlockUtils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const defaultHighBlockOffset = 10;
3434
const cacheTTL = 60 * 15;
3535
const now = getCurrentTime(); // Seed the cache with initial values.
3636
const blockTimes: { [chainId: number]: BlockTimeAverage } = {
37+
[CHAIN_IDs.DOCTOR_WHO]: { average: 1, timestamp: now, blockRange: 1 },
3738
[CHAIN_IDs.INK]: { average: 1, timestamp: now, blockRange: 1 },
3839
[CHAIN_IDs.LINEA]: { average: 3, timestamp: now, blockRange: 1 },
3940
[CHAIN_IDs.MAINNET]: { average: 12.5, timestamp: now, blockRange: 1 },

src/utils/NetworkUtils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,10 @@ export function chainIsEvm(chainId: number): boolean {
142142
export function chainIsCCTPEnabled(chainId: number): boolean {
143143
return [
144144
// Mainnets
145+
CHAIN_IDs.ARBITRUM,
145146
CHAIN_IDs.BASE,
147+
CHAIN_IDs.DOCTOR_WHO,
146148
CHAIN_IDs.OPTIMISM,
147-
CHAIN_IDs.ARBITRUM,
148149
CHAIN_IDs.POLYGON,
149150
// Testnets
150151
CHAIN_IDs.BASE_SEPOLIA,

0 commit comments

Comments
 (0)