Skip to content

Commit 842b39c

Browse files
panoelevan-gray
authored andcommitted
package.json: clean up refs
1 parent 09ce090 commit 842b39c

File tree

7 files changed

+22
-944
lines changed

7 files changed

+22
-944
lines changed

cloud_functions/package.json

-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"gcp-build": "npm i ./dist/src/wormhole-foundation-wormhole-monitor-common-0.0.1.tgz ./dist/src/wormhole-foundation-wormhole-monitor-database-0.0.1.tgz"
1313
},
1414
"dependencies": {
15-
"@certusone/wormhole-sdk": "^0.10.15",
1615
"@coral-xyz/anchor": "^0.29.0",
1716
"@cosmjs/cosmwasm-stargate": "^0.31.1",
1817
"@google-cloud/bigtable": "^4.1.0",
@@ -22,7 +21,6 @@
2221
"@solana/web3.js": "^1.87.3",
2322
"@wormhole-foundation/sdk-evm-ntt": "^0.0.1-beta.4",
2423
"@wormhole-foundation/sdk-solana-ntt": "^0.0.1-beta.4",
25-
"axios": "^1.5.0",
2624
"borsh": "^1.0.0",
2725
"dotenv": "^16.0.3",
2826
"ethers": "6.12.0",

cloud_functions/src/_sdk_circleIntegration.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { BN } from '@project-serum/anchor';
2-
31
export enum CircleIntegrationPayload {
42
DepositWithPayload = 1,
53
}
@@ -25,7 +23,7 @@ export function parseCircleIntegrationDepositWithPayload(
2523
throw new Error('not circle integration payload VAA');
2624
}
2725
const tokenAddress = payload.subarray(1, 33);
28-
const amount = BigInt(new BN(payload.subarray(33, 65)).toString());
26+
const amount = BigInt(`0x${payload.subarray(33, 65).toString('hex')}`);
2927
const sourceDomain = payload.readUInt32BE(65);
3028
const targetDomain = payload.readUInt32BE(69);
3129
const nonce = payload.readBigUInt64BE(73);

dashboard/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"@types/react": "^18.0.15",
1919
"@types/react-dom": "^18.0.6",
2020
"@wormhole-foundation/sdk-icons": "^0.6.6-beta.1",
21-
"axios": "^0.27.2",
2221
"buffer": "^6.0.3",
2322
"numeral": "^2.0.6",
2423
"react": "^18.2.0",

database/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"@wormhole-foundation/sdk": "^0.7.0-beta.5",
1919
"@xpla/xpla.js": "^0.2.3",
2020
"aptos": "1.5.0",
21-
"axios": "^1.3.4",
2221
"dotenv": "^16.0.3",
2322
"knex": "^2.4.2",
2423
"near-api-js": "^1.0.0",

0 commit comments

Comments
 (0)