@snowbridge/registry 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.prettierrc ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "overrides": [
3
+ {
4
+ "files": "*.sol",
5
+ "options": {
6
+ "printWidth": 100,
7
+ "tabWidth": 4,
8
+ "singleQuote": false,
9
+ "bracketSpacing": true,
10
+ "explicitTypes": "always"
11
+ }
12
+ },
13
+ {
14
+ "files": "*.ts",
15
+ "options": {
16
+ "semi": false,
17
+ "printWidth": 100,
18
+ "tabWidth": 4,
19
+ "singleQuote": false
20
+ }
21
+ }
22
+ ]
23
+ }
package/build.ts CHANGED
@@ -18,18 +18,11 @@ async function buildRegistry(env: string, options: assetsV2.RegistryOptions) {
18
18
  await writeFile(filepath, json)
19
19
  }
20
20
 
21
- (async () => {
22
- const envs = [
23
- "polkadot_mainnet",
24
- "westend_sepolia",
25
- "paseo_sepolia",
26
- ]
27
- const apiKey = process.env.ETHEREUM_API_KEY
28
- if(!apiKey || apiKey.trim().length === 0) {
29
- throw Error(`ETHEREUM_API_KEY env variable not set.`)
21
+ ;(async () => {
22
+ let env = "local_e2e"
23
+ if (process.env.NODE_ENV !== undefined) {
24
+ env = process.env.NODE_ENV
30
25
  }
31
- await Promise.all(envs.map(async env => {
32
- const options = assetsV2.fromEnvironment(environment.SNOWBRIDGE_ENV[env])
33
- await buildRegistry(env, options)
34
- }))
26
+ const options = assetsV2.fromEnvironment(environment.SNOWBRIDGE_ENV[env])
27
+ await buildRegistry(env, options)
35
28
  })()
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-07-16T02:46:56.078Z",
2
+ "timestamp": "2025-08-13T06:09:22.989Z",
3
3
  "environment": "local_e2e",
4
4
  "ethChainId": 11155111,
5
5
  "gatewayAddress": "0xb1185ede04202fe62d38f5db72f71e38ff3e8305",
@@ -13,7 +13,7 @@
13
13
  "accountType": "AccountId32",
14
14
  "name": "Westend Local Testnet",
15
15
  "specName": "westend",
16
- "specVersion": 1018012
16
+ "specVersion": 1019002
17
17
  },
18
18
  "bridgeHub": {
19
19
  "tokenSymbols": "WND",
@@ -23,7 +23,7 @@
23
23
  "accountType": "AccountId32",
24
24
  "name": "Westend BridgeHub Local",
25
25
  "specName": "bridge-hub-westend",
26
- "specVersion": 1018002
26
+ "specVersion": 1019002
27
27
  },
28
28
  "ethereumChains": {
29
29
  "11155111": {
@@ -39,31 +39,36 @@
39
39
  "token": "0xb8ea8cb425d85536b158d661da1ef0895bb92f1d",
40
40
  "name": "Wrapped Ether",
41
41
  "symbol": "WETH",
42
- "decimals": 18
42
+ "decimals": 18,
43
+ "deliveryGas": "bigint:80000"
43
44
  },
44
45
  "0xd8597eb7ef761e3315623edfee9defcbacd72e8b": {
45
46
  "token": "0xd8597eb7ef761e3315623edfee9defcbacd72e8b",
46
47
  "name": "roc",
47
48
  "symbol": "roc",
48
49
  "decimals": 12,
49
- "foreignId": "0xbcd4282ca0c30cbd9c578b5c790e88c803d80cd9cc91f28686f24ac25a61e06e"
50
+ "foreignId": "0xbcd4282ca0c30cbd9c578b5c790e88c803d80cd9cc91f28686f24ac25a61e06e",
51
+ "deliveryGas": "bigint:80000"
50
52
  },
51
53
  "0xde45448ca2d57797c0bec0ee15a1e42334744219": {
52
54
  "token": "0xde45448ca2d57797c0bec0ee15a1e42334744219",
53
55
  "name": "wnd",
54
56
  "symbol": "wnd",
55
57
  "decimals": 12,
56
- "foreignId": "0x9441dceeeffa7e032eedaccf9b7632e60e86711551a82ffbbb0dda8afd9e4ef7"
58
+ "foreignId": "0x9441dceeeffa7e032eedaccf9b7632e60e86711551a82ffbbb0dda8afd9e4ef7",
59
+ "deliveryGas": "bigint:80000"
57
60
  },
58
61
  "0x805c5a7d4e97908a8ec726dccc94a047d073eb7e": {
59
62
  "token": "0x805c5a7d4e97908a8ec726dccc94a047d073eb7e",
60
63
  "name": "pal-2",
61
64
  "symbol": "pal-2",
62
65
  "decimals": 12,
63
- "foreignId": "0x17444ededa61bdbfcb1e5c39b2aed47f73b8970b65bbb0574c0a0ab1b0c99279"
66
+ "foreignId": "0x17444ededa61bdbfcb1e5c39b2aed47f73b8970b65bbb0574c0a0ab1b0c99279",
67
+ "deliveryGas": "bigint:80000"
64
68
  }
65
69
  },
66
- "id": "sepolia"
70
+ "id": "sepolia",
71
+ "baseDeliveryGas": "bigint:120000"
67
72
  }
68
73
  },
69
74
  "parachains": {
@@ -84,7 +89,7 @@
84
89
  "accountType": "AccountId32",
85
90
  "name": "Westend Asset Hub Local",
86
91
  "specName": "westmint",
87
- "specVersion": 1018012
92
+ "specVersion": 1019002
88
93
  },
89
94
  "assets": {
90
95
  "0x0000000000000000000000000000000000000000": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-08-28T06:45:53.537Z",
2
+ "timestamp": "2025-09-09T21:32:39.144Z",
3
3
  "environment": "paseo_sepolia",
4
4
  "ethChainId": 11155111,
5
5
  "gatewayAddress": "0x1607C1368bc943130258318c91bBd8cFf3D063E6",
@@ -13,7 +13,7 @@
13
13
  "accountType": "AccountId32",
14
14
  "name": "Paseo Testnet",
15
15
  "specName": "paseo",
16
- "specVersion": 1006001
16
+ "specVersion": 1006002
17
17
  },
18
18
  "bridgeHub": {
19
19
  "tokenSymbols": "PAS",
@@ -43,8 +43,8 @@
43
43
  },
44
44
  "0xef32abea56beff54f61da319a7311098d6fbcea9": {
45
45
  "token": "0xef32abea56beff54f61da319a7311098d6fbcea9",
46
- "name": "Trace token",
47
- "symbol": "TRACE",
46
+ "name": "OriginTrail TRAC",
47
+ "symbol": "TRAC",
48
48
  "decimals": 18
49
49
  },
50
50
  "0x99e743964c036bc28931fb564817db428aa7f752": {
@@ -145,7 +145,7 @@
145
145
  "accountType": "AccountId32",
146
146
  "name": "Neuro Testnet",
147
147
  "specName": "origintrail-parachain",
148
- "specVersion": 142
148
+ "specVersion": 146
149
149
  },
150
150
  "assets": {
151
151
  "0xef32abea56beff54f61da319a7311098d6fbcea9": {
@@ -157,7 +157,7 @@
157
157
  "isSufficient": true
158
158
  }
159
159
  },
160
- "estimatedExecutionFeeDOT": "bigint:200000000000",
160
+ "estimatedExecutionFeeDOT": "bigint:10000000000",
161
161
  "estimatedDeliveryFeeDOT": "bigint:307250000"
162
162
  },
163
163
  "3369": {