Skip to content

Commit e63d9eb

Browse files
committed
svm tests
Signed-off-by: Faisal Usmani <faisal.of.usmani@gmail.com>
1 parent 7be96de commit e63d9eb

File tree

5 files changed

+233
-20
lines changed

5 files changed

+233
-20
lines changed

broadcast/deployed-addresses.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,12 @@ This file contains the latest deployed smart contract addresses from the broadca
192192

193193
## Tempo (4217)
194194

195-
| Contract Name | Address |
196-
| ------------------ | ------------------------------------------ |
197-
| MulticallHandler | 0x7D6ADCbB51Ea70C134d7B0B96aA9AF50FE504D90 |
198-
| SP1Helios | 0x2BC84A3777469f67e040DAb9d00512a5D5258f39 |
199-
| SpokePool | 0x2d4710F04Da90184255782d3715224A6C776955D |
200-
| SpokePoolPeriphery | 0x1cFC76f039e01970355Cf73a37B785A81847796C |
195+
| Contract Name | Address |
196+
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------- |
197+
| MulticallHandler | [0x7D6ADCbB51Ea70C134d7B0B96aA9AF50FE504D90](https://explore.mainnet.tempo.xyz/address/0x7D6ADCbB51Ea70C134d7B0B96aA9AF50FE504D90) |
198+
| SP1Helios | [0x2BC84A3777469f67e040DAb9d00512a5D5258f39](https://explore.mainnet.tempo.xyz/address/0x2BC84A3777469f67e040DAb9d00512a5D5258f39) |
199+
| SpokePool | [0x2d4710F04Da90184255782d3715224A6C776955D](https://explore.mainnet.tempo.xyz/address/0x2d4710F04Da90184255782d3715224A6C776955D) |
200+
| SpokePoolPeriphery | [0x1cFC76f039e01970355Cf73a37B785A81847796C](https://explore.mainnet.tempo.xyz/address/0x1cFC76f039e01970355Cf73a37B785A81847796C) |
201201

202202
## MegaETH (4326)
203203

generated/constants.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@
204204
"name": "Tempo",
205205
"family": "NONE",
206206
"nativeToken": "pathUSD",
207-
"publicRPC": "",
208-
"blockExplorer": "",
207+
"publicRPC": "https://rpc.tempo.xyz",
208+
"blockExplorer": "https://explore.mainnet.tempo.xyz",
209209
"cctpDomain": -1,
210210
"oftEid": 30410,
211211
"hypDomainId": -1
@@ -946,6 +946,7 @@
946946
"324": "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4",
947947
"1135": "0xF242275d3a6527d877f2c927a82D9b057609cc71",
948948
"1868": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369",
949+
"4217": "0x20c000000000000000000000b9537d11c60e8b50",
949950
"34443": "0xd988097fb8612cc24eeC14542bC03424c656005f",
950951
"41455": "0x18d25B4e18165c97e1285212e5d1f80eDD6d3Aa7",
951952
"42161": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8",

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@
7878
"@matterlabs/zksync-contracts": "^0.2.4",
7979
"@pinata/sdk": "^2.1.0",
8080
"@types/bn.js": "^5.1.0",
81+
"@types/chai": "^4.3.1",
82+
"@types/mocha": "^9.1.1",
8183
"@types/node": "^24.3.0",
8284
"@typescript-eslint/eslint-plugin": "^4.29.1",
8385
"@typescript-eslint/parser": "^4.29.1",
@@ -90,6 +92,7 @@
9092
"eslint-plugin-node": "^11.1.0",
9193
"eslint-plugin-prettier": "^3.4.0",
9294
"eslint-plugin-promise": "^5.1.0",
95+
"chai": "^4.3.6",
9396
"ethereumjs-util": "^7.1.4",
9497
"ethers": "5.7.2",
9598
"husky": "^4.2.3",
@@ -99,6 +102,8 @@
99102
"prettier-plugin-solidity": "^1.4.1",
100103
"pretty-quick": "^2.0.1",
101104
"solhint": "^3.6.2",
105+
"mocha": "^10.0.0",
106+
"ts-mocha": "^10.0.0",
102107
"ts-node": "^10.1.0",
103108
"typescript": "^5.6.2"
104109
},

test/svm/SvmSpoke.Deposit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import {
4545
u8Array32ToInt,
4646
} from "../../src/svm/web3-v1";
4747
import { DepositData, DepositDataValues } from "../../src/types/svm";
48-
import { MAX_EXCLUSIVITY_OFFSET_SECONDS } from "../../test-utils";
48+
const MAX_EXCLUSIVITY_OFFSET_SECONDS = 24 * 60 * 60 * 365;
4949
import { common } from "./SvmSpoke.common";
5050
import { createDefaultSolanaClient } from "./utils";
5151
const {

0 commit comments

Comments
 (0)