From 3c02ae23b5dc5ce82a8e60a6d9281b308e7623d4 Mon Sep 17 00:00:00 2001 From: Ben Guidarelli Date: Tue, 19 Sep 2023 17:36:03 -0400 Subject: [PATCH] commiting missing csvs --- package-lock.json | 66 +++---- watcher/missing-seqs.csv | 269 ++++++++++++++++++++++++++++ watcher/package.json | 4 +- watcher/scripts/findSequenceGaps.ts | 51 +++--- 4 files changed, 319 insertions(+), 71 deletions(-) create mode 100644 watcher/missing-seqs.csv diff --git a/package-lock.json b/package-lock.json index 7c9fdd73..c40ec464 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8383,12 +8383,12 @@ } }, "node_modules/@wormhole-foundation/connect-sdk": { - "version": "0.1.3-beta.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/connect-sdk/-/connect-sdk-0.1.3-beta.2.tgz", - "integrity": "sha512-9dwbLyqmlD1tCJygCsVQu43Sz2q57jiOqhbjOdNYrXJqwlu3oKThFYlc1g/4I5hROlNQMD41aaDiy+8PnzrCpw==", + "version": "0.1.3-beta.4", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/connect-sdk/-/connect-sdk-0.1.3-beta.4.tgz", + "integrity": "sha512-iqCOSDIUR5cbNnntFqAC2Z7IqvdLJnsrwdVSgnfyDrza4h0ArxMWtQl/XmuQfR8en/Gve/vYc17yznkJzdR8UQ==", "dependencies": { - "@wormhole-foundation/sdk-base": "0.1.3-beta.2", - "@wormhole-foundation/sdk-definitions": "0.1.3-beta.2", + "@wormhole-foundation/sdk-base": "0.1.3-beta.4", + "@wormhole-foundation/sdk-definitions": "0.1.3-beta.4", "axios": "^1.4.0" }, "engines": { @@ -8407,17 +8407,16 @@ } }, "node_modules/@wormhole-foundation/sdk-base": { - "version": "0.1.3-beta.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-base/-/sdk-base-0.1.3-beta.2.tgz", - "integrity": "sha512-G+5EBlK4FXXXjacNDjlnWiytOwm0WW/pBV+91BFEQEtJM+YrNVrLfSxO7qcPCx7sIn9gT0VjZQwi4MyFtl9nLw==" + "version": "0.1.3-beta.4", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-base/-/sdk-base-0.1.3-beta.4.tgz", + "integrity": "sha512-uKCFwbLroRh27BgeV308qV5VNl6wv3K0Il69SvzJT9xJ4i5EhBqStMBXxNm30GHQkOixvJIMzsEZO/IC5p30Qg==" }, "node_modules/@wormhole-foundation/sdk-definitions": { - "version": "0.1.3-beta.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-definitions/-/sdk-definitions-0.1.3-beta.2.tgz", - "integrity": "sha512-OqOvTTvfdHedug5tC2wOJL87HA9j8OtIQ6/boRs8nFAYeVf5D96pOlNSY0myvQXRdeFfvukSzXuCRTGfaOE3xw==", + "version": "0.1.3-beta.4", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-definitions/-/sdk-definitions-0.1.3-beta.4.tgz", + "integrity": "sha512-CUos5Q0m8KAyF3m1Dh1U17aM2VUf9pYe1ZwxsxY0k3WpcA70X+s+/WYuKTHvs0WvJVvIT6pvoNlV201GKWm8Cg==", "dependencies": { "@noble/hashes": "^1.3.1", - "@noble/secp256k1": "^2.0.0", "@wormhole-foundation/sdk-base": "*" } }, @@ -8432,17 +8431,6 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/@wormhole-foundation/sdk-definitions/node_modules/@noble/secp256k1": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-2.0.0.tgz", - "integrity": "sha512-rUGBd95e2a45rlmFTqQJYEFA4/gdIARFfuTuTqLglz0PZ6AKyzyXsEZZq7UZn8hZsvaBgpCzKKBJizT2cJERXw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, "node_modules/@wormhole-foundation/wormhole-dashboard-web": { "resolved": "dashboard", "link": true @@ -26399,7 +26387,7 @@ "@google-cloud/pubsub": "^3.4.1", "@mysten/sui.js": "^0.33.0", "@solana/web3.js": "^1.73.0", - "@wormhole-foundation/connect-sdk": "^0.1.3-beta.2", + "@wormhole-foundation/connect-sdk": "^0.1.3-beta.4", "@wormhole-foundation/wormhole-monitor-common": "^0.0.1", "algosdk": "^2.4.0", "aptos": "^1.4.0", @@ -33174,12 +33162,12 @@ } }, "@wormhole-foundation/connect-sdk": { - "version": "0.1.3-beta.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/connect-sdk/-/connect-sdk-0.1.3-beta.2.tgz", - "integrity": "sha512-9dwbLyqmlD1tCJygCsVQu43Sz2q57jiOqhbjOdNYrXJqwlu3oKThFYlc1g/4I5hROlNQMD41aaDiy+8PnzrCpw==", + "version": "0.1.3-beta.4", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/connect-sdk/-/connect-sdk-0.1.3-beta.4.tgz", + "integrity": "sha512-iqCOSDIUR5cbNnntFqAC2Z7IqvdLJnsrwdVSgnfyDrza4h0ArxMWtQl/XmuQfR8en/Gve/vYc17yznkJzdR8UQ==", "requires": { - "@wormhole-foundation/sdk-base": "0.1.3-beta.2", - "@wormhole-foundation/sdk-definitions": "0.1.3-beta.2", + "@wormhole-foundation/sdk-base": "0.1.3-beta.4", + "@wormhole-foundation/sdk-definitions": "0.1.3-beta.4", "axios": "^1.4.0" }, "dependencies": { @@ -33196,17 +33184,16 @@ } }, "@wormhole-foundation/sdk-base": { - "version": "0.1.3-beta.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-base/-/sdk-base-0.1.3-beta.2.tgz", - "integrity": "sha512-G+5EBlK4FXXXjacNDjlnWiytOwm0WW/pBV+91BFEQEtJM+YrNVrLfSxO7qcPCx7sIn9gT0VjZQwi4MyFtl9nLw==" + "version": "0.1.3-beta.4", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-base/-/sdk-base-0.1.3-beta.4.tgz", + "integrity": "sha512-uKCFwbLroRh27BgeV308qV5VNl6wv3K0Il69SvzJT9xJ4i5EhBqStMBXxNm30GHQkOixvJIMzsEZO/IC5p30Qg==" }, "@wormhole-foundation/sdk-definitions": { - "version": "0.1.3-beta.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-definitions/-/sdk-definitions-0.1.3-beta.2.tgz", - "integrity": "sha512-OqOvTTvfdHedug5tC2wOJL87HA9j8OtIQ6/boRs8nFAYeVf5D96pOlNSY0myvQXRdeFfvukSzXuCRTGfaOE3xw==", + "version": "0.1.3-beta.4", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-definitions/-/sdk-definitions-0.1.3-beta.4.tgz", + "integrity": "sha512-CUos5Q0m8KAyF3m1Dh1U17aM2VUf9pYe1ZwxsxY0k3WpcA70X+s+/WYuKTHvs0WvJVvIT6pvoNlV201GKWm8Cg==", "requires": { "@noble/hashes": "^1.3.1", - "@noble/secp256k1": "^2.0.0", "@wormhole-foundation/sdk-base": "*" }, "dependencies": { @@ -33214,11 +33201,6 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==" - }, - "@noble/secp256k1": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-2.0.0.tgz", - "integrity": "sha512-rUGBd95e2a45rlmFTqQJYEFA4/gdIARFfuTuTqLglz0PZ6AKyzyXsEZZq7UZn8hZsvaBgpCzKKBJizT2cJERXw==" } } }, @@ -33409,7 +33391,7 @@ "@jest/globals": "^29.3.1", "@mysten/sui.js": "^0.33.0", "@solana/web3.js": "^1.73.0", - "@wormhole-foundation/connect-sdk": "^0.1.3-beta.2", + "@wormhole-foundation/connect-sdk": "^0.1.3-beta.4", "@wormhole-foundation/wormhole-monitor-common": "^0.0.1", "algosdk": "^2.4.0", "aptos": "^1.4.0", diff --git a/watcher/missing-seqs.csv b/watcher/missing-seqs.csv new file mode 100644 index 00000000..be08a6e9 --- /dev/null +++ b/watcher/missing-seqs.csv @@ -0,0 +1,269 @@ +chain,emitter,avgTs,seq,gap +Solana,3b26409f8aaded3f5ddca184695aa6a0fa829b0c85caf84856324896d214ca98,1694581515500,25391,2 +Solana,3b26409f8aaded3f5ddca184695aa6a0fa829b0c85caf84856324896d214ca98,1694475347000,25396,3 +Solana,93be388f9bc939484039dfaae34d82279f4b81d1e424b9332b7c226c5fe3debd,1694098636000,39,3 +Solana,93be388f9bc939484039dfaae34d82279f4b81d1e424b9332b7c226c5fe3debd,1694180411500,42,6 +Solana,270a35d028b2940decaca3c3634f0bf4030c49a7a9a1c70c35bfa5dde5dd6208,1694205018000,16,2 +Solana,270a35d028b2940decaca3c3634f0bf4030c49a7a9a1c70c35bfa5dde5dd6208,1693918412500,18,2 +Solana,270a35d028b2940decaca3c3634f0bf4030c49a7a9a1c70c35bfa5dde5dd6208,1693917066500,20,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1692205452000,174256,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1692228438000,174260,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1692285414000,174262,5 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1692278700000,174267,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1692276414000,174270,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1692284238000,174272,5 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1692305880000,174277,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1692369918000,174279,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1692349170000,174282,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1692354666000,174284,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1692634314000,174307,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1692779598000,174319,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1693961586000,174829,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694013528000,175483,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694017218000,175523,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694023524000,175574,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694135670000,175830,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694166894000,176156,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694170188000,176205,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694172228000,176238,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694174082000,176267,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694175510000,176282,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694183910000,176393,4 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694189556000,176503,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694207646000,176922,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694223456000,177098,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694231664000,177293,6 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694237178000,177394,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694242716000,177506,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694248104000,177684,4 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694248272000,177691,4 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694251260000,177775,4 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694251932000,177804,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694253144000,177848,4 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694256198000,177952,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694258568000,178062,10 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694262576000,178231,4 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694263722000,178281,8 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694264868000,178346,5 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694359524000,180270,4 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694360340000,180274,4 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694374176000,180408,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694374518000,180411,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694377806000,180434,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694386986000,180464,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694388462000,180466,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694403192000,180508,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694402370000,180510,9 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694406204000,180536,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694430192000,180783,4 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694442408000,180877,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694455566000,180995,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694460528000,181000,17 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694460984000,181017,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694470440000,181052,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694478114000,181074,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694490630000,181161,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694493936000,181177,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694494050000,181183,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694547234000,181212,226 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694536374000,181456,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694536620000,181458,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694593962000,182114,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694594808000,182121,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694617842000,182526,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694622720000,182609,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694623002000,182614,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694665014000,182888,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694665692000,182891,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694673306000,182932,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694674080000,182936,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694674842000,182940,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694683380000,183031,5 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694683998000,183037,5 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694685552000,183045,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694686626000,183053,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694687736000,183061,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694688030000,183065,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694688318000,183071,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694689632000,183078,4 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694689938000,183086,4 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694690094000,183090,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694745852000,183383,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694746974000,183385,4 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694747046000,183389,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694747496000,183394,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694760966000,183452,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694761602000,183462,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694762748000,183467,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694763120000,183471,3 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694766972000,183487,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694769738000,183504,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694770206000,183513,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694783514000,183557,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694783532000,183561,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694800590000,183626,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1694809014000,183739,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1695043662000,184908,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1695051144000,184999,5 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1695052758000,185021,7 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1695053754000,185034,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1695059112000,185073,2 +Ethereum,000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7,1695132552000,185301,2 +Ethereum,00000000000000000000000028d8f1be96f97c1387e94a53e00eccfb4e75175a,1695051438000,34,2 +Ethereum,00000000000000000000000028d8f1be96f97c1387e94a53e00eccfb4e75175a,1695052884000,40,4 +Ethereum,00000000000000000000000028d8f1be96f97c1387e94a53e00eccfb4e75175a,1695060702000,49,2 +Ethereum,00000000000000000000000049a70828befff042a4b97f7cff83dde637302ffa,1694958978000,17,2 +Ethereum,0000000000000000000000000a69146716b3a21622287efa1607424c663069a4,1694624322000,133,2 +Ethereum,0000000000000000000000000a69146716b3a21622287efa1607424c663069a4,1694611992000,135,2 +Bsc,0000000000000000000000009dcf9d205c9de35334d646bee44b2d2859712a09,1693894743500,4909,2 +Bsc,0000000000000000000000009dcf9d205c9de35334d646bee44b2d2859712a09,1694555519000,4928,2 +Polygon,000000000000000000000000d4ff8ffa9c7b42c24f47ed6e9818b90c74428969,1693329970000,47,4 +Avalanche,00000000000000000000000061e44e506ca5659e6c0bba9b678586fa2d729756,1692747827000,7520,3 +Avalanche,00000000000000000000000061e44e506ca5659e6c0bba9b678586fa2d729756,1692777022500,7523,2 +Avalanche,00000000000000000000000061e44e506ca5659e6c0bba9b678586fa2d729756,1692933805000,7555,2 +Avalanche,00000000000000000000000061e44e506ca5659e6c0bba9b678586fa2d729756,1693967543000,7932,2 +Avalanche,00000000000000000000000061e44e506ca5659e6c0bba9b678586fa2d729756,1694101012000,8057,2 +Avalanche,00000000000000000000000061e44e506ca5659e6c0bba9b678586fa2d729756,1694112872000,8073,2 +Avalanche,00000000000000000000000061e44e506ca5659e6c0bba9b678586fa2d729756,1694192240000,8236,2 +Avalanche,00000000000000000000000061e44e506ca5659e6c0bba9b678586fa2d729756,1694363899500,8877,2 +Avalanche,00000000000000000000000061e44e506ca5659e6c0bba9b678586fa2d729756,1694447657500,9028,2 +Avalanche,00000000000000000000000061e44e506ca5659e6c0bba9b678586fa2d729756,1694461169500,9041,3 +Avalanche,00000000000000000000000061e44e506ca5659e6c0bba9b678586fa2d729756,1694531271000,9185,3 +Avalanche,00000000000000000000000061e44e506ca5659e6c0bba9b678586fa2d729756,1695054780000,10009,2 +Oasis,000000000000000000000000a8397c31397830fe91af946e913234b357eb5f2f,1688546344000,1,2 +Oasis,00000000000000000000000088d8004a9bdbfd9d28090a02010c19897a29605c,1683111302000,28,4 +Oasis,00000000000000000000000088d8004a9bdbfd9d28090a02010c19897a29605c,1681088713000,32,3 +Oasis,00000000000000000000000088d8004a9bdbfd9d28090a02010c19897a29605c,1681090924500,35,5 +Oasis,00000000000000000000000088d8004a9bdbfd9d28090a02010c19897a29605c,1681097743000,41,5 +Oasis,00000000000000000000000088d8004a9bdbfd9d28090a02010c19897a29605c,1681095520500,48,3 +Oasis,00000000000000000000000088d8004a9bdbfd9d28090a02010c19897a29605c,1683052611500,54,8 +Oasis,00000000000000000000000088d8004a9bdbfd9d28090a02010c19897a29605c,1686816598000,62,3 +Algorand,6241ffdc032b693bfb8544858f0403dec86f2e1720af9f34f8d65fe574b6238c,1691690890000,1162,2 +Algorand,6241ffdc032b693bfb8544858f0403dec86f2e1720af9f34f8d65fe574b6238c,1692169661000,1174,2 +Algorand,6241ffdc032b693bfb8544858f0403dec86f2e1720af9f34f8d65fe574b6238c,1694469922500,2382,4 +Algorand,6241ffdc032b693bfb8544858f0403dec86f2e1720af9f34f8d65fe574b6238c,1694531343000,2474,3 +Algorand,6241ffdc032b693bfb8544858f0403dec86f2e1720af9f34f8d65fe574b6238c,1694757510000,2910,2 +Algorand,6241ffdc032b693bfb8544858f0403dec86f2e1720af9f34f8d65fe574b6238c,1694757507000,2912,0 +Algorand,6241ffdc032b693bfb8544858f0403dec86f2e1720af9f34f8d65fe574b6238c,1694759665000,3011,2 +Algorand,6241ffdc032b693bfb8544858f0403dec86f2e1720af9f34f8d65fe574b6238c,1694759665000,3013,0 +Algorand,6241ffdc032b693bfb8544858f0403dec86f2e1720af9f34f8d65fe574b6238c,1694762496000,3111,0 +Algorand,6241ffdc032b693bfb8544858f0403dec86f2e1720af9f34f8d65fe574b6238c,1694762841000,3111,2 +Algorand,6241ffdc032b693bfb8544858f0403dec86f2e1720af9f34f8d65fe574b6238c,1695053871000,3804,2 +Fantom,000000000000000000000000599cea2204b4faecd584ab1f2b6aca137a0afbe8,1691676894000,903,2 +Fantom,000000000000000000000000599cea2204b4faecd584ab1f2b6aca137a0afbe8,1691808218500,905,3 +Fantom,000000000000000000000000599cea2204b4faecd584ab1f2b6aca137a0afbe8,1692109385000,908,5 +Fantom,000000000000000000000000599cea2204b4faecd584ab1f2b6aca137a0afbe8,1692390197000,920,3 +Karura,000000000000000000000000d11de1f930ea1f7dd0290fe3a2e35b9c91aefb37,1687892520000,223,2 +Karura,000000000000000000000000d11de1f930ea1f7dd0290fe3a2e35b9c91aefb37,1691600433000,247,4 +Karura,000000000000000000000000d11de1f930ea1f7dd0290fe3a2e35b9c91aefb37,1691401740000,251,2 +Klaytn,000000000000000000000000fca24f24c10c3ac00e3f54abad36873387f78dda,1691732126500,45,2 +Klaytn,000000000000000000000000fca24f24c10c3ac00e3f54abad36873387f78dda,1691257625000,48,4 +Klaytn,000000000000000000000000fca24f24c10c3ac00e3f54abad36873387f78dda,1691733709000,59,16 +Klaytn,000000000000000000000000fca24f24c10c3ac00e3f54abad36873387f78dda,1691654728000,75,2 +Klaytn,000000000000000000000000fca24f24c10c3ac00e3f54abad36873387f78dda,1691751771000,81,2 +Klaytn,000000000000000000000000fca24f24c10c3ac00e3f54abad36873387f78dda,1692296938500,84,11 +Klaytn,000000000000000000000000fca24f24c10c3ac00e3f54abad36873387f78dda,1692265885500,96,4 +Klaytn,000000000000000000000000fca24f24c10c3ac00e3f54abad36873387f78dda,1692260277000,100,3 +Klaytn,000000000000000000000000fca24f24c10c3ac00e3f54abad36873387f78dda,1692262844000,103,3 +Klaytn,000000000000000000000000fca24f24c10c3ac00e3f54abad36873387f78dda,1692380983000,107,15 +Klaytn,000000000000000000000000fca24f24c10c3ac00e3f54abad36873387f78dda,1692695717500,129,2 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692737292000,25203,3 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692740037000,25206,7 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692740622000,25216,2 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692743314500,25225,4 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692744539500,25229,4 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692745237000,25235,3 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692746652000,25239,2 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692748154500,25242,5 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692749419500,25247,6 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692750057000,25254,2 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692753129500,25259,7 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692754167000,25266,4 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692778692000,25365,0 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692778699500,25365,2 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692803392000,25462,3 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692829894500,25572,3 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692891227000,25811,2 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1692890757000,25813,0 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1693122569500,26711,2 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1693122122000,26713,0 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1693199684500,27011,2 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1693199242000,27013,0 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1694073102000,29627,0 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1694073109500,29627,2 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1694094784500,29698,5 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1694265254500,30358,2 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1694264712000,30360,0 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1694461647000,31129,11 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1694470684500,31174,6 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1694658047000,31902,2 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1694896632000,32837,2 +Celo,000000000000000000000000306b68267deb7c5dfcda3619e22e9ca39c374f84,1694896137000,32839,0 +Celo,00000000000000000000000005ca6037ec51f8b712ed2e6fa72219feae74e153,1694657407000,567,0 +Near,c2c0b6ecbbe9ecf91b2b7999f0264018ba68126c2e83bf413f59f712f3a1df55,1680636466000,83,2 +Near,c2c0b6ecbbe9ecf91b2b7999f0264018ba68126c2e83bf413f59f712f3a1df55,1691527422500,94,2 +Near,c2c0b6ecbbe9ecf91b2b7999f0264018ba68126c2e83bf413f59f712f3a1df55,1690925300500,97,2 +Moonbeam,0000000000000000000000000591c25ebd0580e0d4f27a82fc2e24e7489cb5e0,1693584696000,2482,13 +Moonbeam,0000000000000000000000000591c25ebd0580e0d4f27a82fc2e24e7489cb5e0,1694002785000,2495,7 +Moonbeam,000000000000000000000000bc976d4b9d57e57c3ca52e1fd136c45ff7955a96,1693506696000,405,3 +Moonbeam,000000000000000000000000bc976d4b9d57e57c3ca52e1fd136c45ff7955a96,1693468932000,408,4 +Neon,000000000000000000000000ee3db83916ccdc3593b734f7f2d16d630f39f1d0,1688995651500,43,2 +Terra2,c3d4c6c2bcba163de1defb7e8f505cdb40619eee4fa618678955e8790ae1448d,1691342707500,27,2 +Injective,00000000000000000000000003f3e7b2e363f51cf6e57ef85f43a2b91dbce501,1691678701000,521,4 +Injective,00000000000000000000000003f3e7b2e363f51cf6e57ef85f43a2b91dbce501,1691678771000,525,6 +Injective,00000000000000000000000003f3e7b2e363f51cf6e57ef85f43a2b91dbce501,1691678689500,531,2 +Injective,00000000000000000000000003f3e7b2e363f51cf6e57ef85f43a2b91dbce501,1691684210500,538,4 +Injective,00000000000000000000000003f3e7b2e363f51cf6e57ef85f43a2b91dbce501,1691682882000,542,2 +Injective,00000000000000000000000003f3e7b2e363f51cf6e57ef85f43a2b91dbce501,1691683445500,544,4 +Injective,00000000000000000000000003f3e7b2e363f51cf6e57ef85f43a2b91dbce501,1694499156000,550,4 +Injective,00000000000000000000000003f3e7b2e363f51cf6e57ef85f43a2b91dbce501,1694958596500,586,3 +Sui,40440411a170b4842ae7dee4f4a7b7a58bc0a98566e998850a7bb87bf5dc05b9,1693909089000,102,3 +Aptos,0000000000000000000000000000000000000000000000000000000000000001,1692202612000,718,3 +Aptos,0000000000000000000000000000000000000000000000000000000000000001,1692410578000,721,4 +Aptos,0000000000000000000000000000000000000000000000000000000000000001,1693511163000,732,2 +Aptos,0000000000000000000000000000000000000000000000000000000000000030,1692141094500,2,2 +Aptos,0000000000000000000000000000000000000000000000000000000000000030,1692153779000,4,2 +Aptos,0000000000000000000000000000000000000000000000000000000000000030,1692393722000,6,2 +Aptos,000000000000000000000000000000000000000000000000000000000000002c,1690663805000,43,2 +Aptos,000000000000000000000000000000000000000000000000000000000000002c,1690803007000,45,5 +Aptos,000000000000000000000000000000000000000000000000000000000000002c,1690758222000,50,2 +Aptos,000000000000000000000000000000000000000000000000000000000000002c,1690760286500,54,6 +Aptos,000000000000000000000000000000000000000000000000000000000000002c,1690760891000,60,2 +Aptos,000000000000000000000000000000000000000000000000000000000000002c,1690862621000,63,2 +Aptos,000000000000000000000000000000000000000000000000000000000000002c,1690829659000,66,2 +Aptos,000000000000000000000000000000000000000000000000000000000000002c,1690829592000,68,3 +Arbitrum,000000000000000000000000ad753479354283eee1b86c9470c84d42f229ff43,1695166248000,11,3 +Arbitrum,00000000000000000000000023908a62110e21c04f3a4e011d24f901f911744a,1687833974500,125,2 +Arbitrum,00000000000000000000000023908a62110e21c04f3a4e011d24f901f911744a,1691636780000,134,6 +Arbitrum,00000000000000000000000023908a62110e21c04f3a4e011d24f901f911744a,1692173124500,141,2 +Arbitrum,00000000000000000000000023908a62110e21c04f3a4e011d24f901f911744a,1691830344000,144,2 +Arbitrum,00000000000000000000000023908a62110e21c04f3a4e011d24f901f911744a,1694439433000,159,2 +Arbitrum,00000000000000000000000023908a62110e21c04f3a4e011d24f901f911744a,1694457025000,174,2 +Arbitrum,00000000000000000000000023908a62110e21c04f3a4e011d24f901f911744a,1694595083000,178,2 +Arbitrum,00000000000000000000000023908a62110e21c04f3a4e011d24f901f911744a,1695064104500,188,3 +Arbitrum,0000000000000000000000002e8f5e00a9c5d450a72700546b89e2b70dfb00f2,1687378957500,3,2 +Arbitrum,0000000000000000000000002e8f5e00a9c5d450a72700546b89e2b70dfb00f2,1687870471500,5,3 +Arbitrum,0000000000000000000000002e8f5e00a9c5d450a72700546b89e2b70dfb00f2,1695573799000,13,2 +Optimism,000000000000000000000000c7a204bdbfe983fcd8d8e61d02b475d4073ff97e,1688125257000,68,2 +Optimism,000000000000000000000000c7a204bdbfe983fcd8d8e61d02b475d4073ff97e,1693091032000,84,7 +Optimism,000000000000000000000000c7a204bdbfe983fcd8d8e61d02b475d4073ff97e,1692410277000,94,2 +Optimism,000000000000000000000000c6286b06f3070e36ca5c8ef0df93d80dc22ed46f,1687188461000,3,3 +Pythnet,a27839d641b07743c0cb5f68c51f8cd31d2c0762bec00dc6fcd25433ef1ab5b6,1682450371000,6566545,3 +Pythnet,a27839d641b07743c0cb5f68c51f8cd31d2c0762bec00dc6fcd25433ef1ab5b6,1682450374000,6566592,2 +Pythnet,a27839d641b07743c0cb5f68c51f8cd31d2c0762bec00dc6fcd25433ef1ab5b6,1682450374000,6566594,2 +Pythnet,a27839d641b07743c0cb5f68c51f8cd31d2c0762bec00dc6fcd25433ef1ab5b6,1682450374000,6566596,6 +Xpla,b66da121bd3621c8d2604c08c82965640fe682d606af26a302ee09094f5e62cf,1677438615000,17,2 +Xpla,b66da121bd3621c8d2604c08c82965640fe682d606af26a302ee09094f5e62cf,1677307134000,21,2 +Xpla,b66da121bd3621c8d2604c08c82965640fe682d606af26a302ee09094f5e62cf,1688829635000,32,5 +Base,000000000000000000000000a31aa3fdb7af7db93d18dda4e19f811342edf780,1692154798000,766,2 +Base,000000000000000000000000a31aa3fdb7af7db93d18dda4e19f811342edf780,1692472145000,769,3 +Base,000000000000000000000000a31aa3fdb7af7db93d18dda4e19f811342edf780,1692720275000,775,2 +Base,000000000000000000000000a31aa3fdb7af7db93d18dda4e19f811342edf780,1692742721000,782,2 +Base,000000000000000000000000a31aa3fdb7af7db93d18dda4e19f811342edf780,1692777249000,785,2 +Base,000000000000000000000000a31aa3fdb7af7db93d18dda4e19f811342edf780,1693848464000,827,2 +Base,000000000000000000000000ea8029cd7fcaeffcd1f53686430db0fc8ed384e1,1692073363000,120,6 +Base,000000000000000000000000ea8029cd7fcaeffcd1f53686430db0fc8ed384e1,1692113522000,129,2 +Base,000000000000000000000000ea8029cd7fcaeffcd1f53686430db0fc8ed384e1,1692632959000,133,3 +Sei,9328673cb5de3fd99974cefbbd90fea033f4c59a572abfd7e1a4eebcc5d18157,1696855682000,22417,642 +Sepolia,0000000000000000000000004435a48eba7bca0fdf9046f8e99b85fab7566c1b,1692354780000,87,7 +Sepolia,0000000000000000000000004435a48eba7bca0fdf9046f8e99b85fab7566c1b,1692354780000,95,6 \ No newline at end of file diff --git a/watcher/package.json b/watcher/package.json index 1aeeb8fe..6ccaecbc 100644 --- a/watcher/package.json +++ b/watcher/package.json @@ -10,7 +10,7 @@ "dev": "ts-node src/index.ts", "test": "jest", "check-solana": "ts-node scripts/checkSolana.ts", - "find-gaps":"npx tsx scripts/findSequenceGaps.ts", + "find-gaps":"ts-node scripts/findSequenceGaps.ts", "backfill": "ts-node scripts/backfill.ts", "backfill-arbitrum": "ts-node scripts/backfillArbitrum.ts", "backfill-near": "ts-node scripts/backfillNear.ts", @@ -28,7 +28,7 @@ "@google-cloud/pubsub": "^3.4.1", "@mysten/sui.js": "^0.33.0", "@solana/web3.js": "^1.73.0", - "@wormhole-foundation/connect-sdk": "^0.1.3-beta.2", + "@wormhole-foundation/connect-sdk": "^0.1.3-beta.4", "@wormhole-foundation/wormhole-monitor-common": "^0.0.1", "algosdk": "^2.4.0", "aptos": "^1.4.0", diff --git a/watcher/scripts/findSequenceGaps.ts b/watcher/scripts/findSequenceGaps.ts index aec1fefd..e23c912a 100644 --- a/watcher/scripts/findSequenceGaps.ts +++ b/watcher/scripts/findSequenceGaps.ts @@ -13,37 +13,26 @@ const URL = 'https://api.testnet.wormholescan.io/api/v1/vaas'; // get 4 weeks ago timestamp const until = new Date().getTime() - 4 * 7 * 24 * 60 * 60 * 1000; + const rows: string[] = [`chain,emitter,avgTs,seq,gap`]; for (const cn of chains) { console.log('Working on: ', cn); const chain = chainToChainId.get(cn); - for (let i = 0; i < 5; i++) { - console.log(i); - const rows: string[] = []; - const sbe = await collectSeqences(chain!, until); - for (const emitter in sbe) { - const seqs = sbe[emitter]; - for (const seq of seqs) { - rows.push(`${cn},${emitter},${seq[0]},${seqs[1]}`); - } - } - fs.writeFileSync(`missing-seqs-${i}.csv`, rows.join('\n')); - } + const sbe = await collectSeqences(chain!, until); //// Find gaps and produce stats - //for (const emitter in sbe) { - // const seqs = sbe[emitter]; - - // for (let i = 0; i < seqs.length - 1; i++) { - // const sd = Number(seqs[i + 1][0] - seqs[i][0]); - // if (sd === 1) continue; - - // const avgTs = seqs[i + 1][1] + (seqs[i + 1][1] - seqs[i][1]) / 2; - // rows.push(`${cn},${emitter},${avgTs},${seqs[i][0]},${sd}`); - // } - //} - //fs.writeFileSync('missing-seqs.csv', rows.join('\n')); - return; + for (const emitter in sbe) { + const seqs = sbe[emitter]; + + for (let i = 0; i < seqs.length - 1; i++) { + const sd = Number(seqs[i + 1][0] - seqs[i][0]); + if (sd === 1) continue; + + const avgTs = seqs[i + 1][1] + (seqs[i + 1][1] - seqs[i][1]) / 2; + rows.push(`${cn},${emitter},${avgTs},${seqs[i][0]},${sd}`); + } + } } + fs.writeFileSync(`missing-seqs.csv`, rows.join('\n')); })(); async function collectSeqences(chainId: number, until: number): Promise { @@ -56,13 +45,21 @@ async function collectSeqences(chainId: number, until: number): Promise until) { const { data: { data: vaas }, - } = await axios.get(`${URL}/${chainId}?page=${page}&sort=DESC`); + } = await axios.get(`${URL}/${chainId}?page=${page}&sort=DESC`, { + headers: { + 'Cache-Control': 'no-cache', + Pragma: 'no-cache', + Expires: '0', + }, + }); if (vaas.length === 0) break; for (const vaa of vaas) { // For some reason we get dupes? - if (vaa.id in seen) continue; + if (vaa.id in seen) { + console.log('dupy'); + } seen[vaa.id] = true;