test against testnet

This commit is contained in:
Joe Howarth 2023-01-09 16:30:34 -07:00
parent 50bd76f01d
commit 121ad6d84b
6 changed files with 4028 additions and 278 deletions

File diff suppressed because it is too large Load Diff

View File

@ -27,7 +27,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@certusone/wormhole-sdk": "^0.3.4",
"@certusone/wormhole-sdk": "^0.9.6",
"@improbable-eng/grpc-web-node-http-transport": "^0.15.0",
"elliptic": "^6.5.4",
"jsonfile": "^6.1.0",

View File

@ -14,6 +14,9 @@ const chains = loadChains()
async function run() {
const sourceChain = chains[0]
const targetChain = chains[1]
console.log(
`Sending message from chain ${sourceChain.chainId} to chain ${targetChain.chainId}`
)
const sourceRelayer = getCoreRelayer(sourceChain)
@ -45,7 +48,7 @@ async function run() {
const targetAddress = getMockIntegrationAddress(targetChain)
const tx = await mockIntegration.sendMessageWithForwardedResponse(
Buffer.from("Hello World 3"),
Buffer.from("Hello World"),
targetChain.chainId,
targetAddress,
targetAddress,

View File

@ -2,6 +2,7 @@
"mode": "BOTH",
"logLevel": "info",
"readinessPort": 2000,
"numGuardians": 1,
"supportedChains": [
{
"chainId": 6,

View File

@ -1,3 +1,3 @@
{
"spyServiceHost": "localhost:7072"
"spyServiceHost": "localhost:7073"
}

View File

@ -21,7 +21,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@certusone/wormhole-sdk": "^0.6.5",
"@certusone/wormhole-sdk": "^0.9.6",
"@improbable-eng/grpc-web-node-http-transport": "^0.15.0",
"@typechain/ethers-v5": "^10.1.0",
"dotenv": "^16.0.2",