From 19d8f54cedb2df84522847f74b821654e2d5641e Mon Sep 17 00:00:00 2001 From: sekuba Date: Tue, 30 Apr 2024 09:06:25 +0200 Subject: [PATCH] Metis update: Ignore sequencer stats in watch mode (#3543) Co-authored-by: sekuba --- .../discovery/metis/ethereum/config.jsonc | 4 +- .../discovery/metis/ethereum/diffHistory.md | 2 +- .../discovery/metis/ethereum/discovered.json | 38 +++++++++---------- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/packages/backend/discovery/metis/ethereum/config.jsonc b/packages/backend/discovery/metis/ethereum/config.jsonc index 3faff35f818..521dea1a797 100644 --- a/packages/backend/discovery/metis/ethereum/config.jsonc +++ b/packages/backend/discovery/metis/ethereum/config.jsonc @@ -22,7 +22,7 @@ "ignoreDiscovery": true }, "LockingInfo": { - "ignoreInWatchMode": ["totalLocked"] + "ignoreInWatchMode": ["totalLocked", "totalRewardsLiquidated"] // 'liquidated' here = withdrawn }, "LockingPool": { "fields": { @@ -34,7 +34,7 @@ } }, "ignoreMethods": ["curBatchState"], // interesting for finality? - "ignoreInWatchMode": ["currentBatch", "totalSequencers"], + "ignoreInWatchMode": ["currentBatch", "totalSequencers", "sequencers"], "ignoreRelatives": ["rewardRecipient"] }, "Lib_AddressManager": { diff --git a/packages/backend/discovery/metis/ethereum/diffHistory.md b/packages/backend/discovery/metis/ethereum/diffHistory.md index 558bef625eb..0b200407e3d 100644 --- a/packages/backend/discovery/metis/ethereum/diffHistory.md +++ b/packages/backend/discovery/metis/ethereum/diffHistory.md @@ -1,4 +1,4 @@ -Generated with discovered.json: 0xfa8ffeacacc862937cb8b971d86a90f149d8d31b +Generated with discovered.json: 0x32cd4835f42450c41cf18b3710f155a0ea983391 # Diff at Sat, 27 Apr 2024 06:12:10 GMT: diff --git a/packages/backend/discovery/metis/ethereum/discovered.json b/packages/backend/discovery/metis/ethereum/discovered.json index ba82a3a744d..5f8395dd183 100644 --- a/packages/backend/discovery/metis/ethereum/discovered.json +++ b/packages/backend/discovery/metis/ethereum/discovered.json @@ -1,8 +1,8 @@ { "name": "metis", "chain": "ethereum", - "blockNumber": 19744803, - "configHash": "0x573df1effc39f5d019ba06dd975ec4adb4fd8b69bdd36a1a521504369cb18d65", + "blockNumber": 19761802, + "configHash": "0x19bf0002aad0a7b0ff5cb49b94a15703b05823783ce49490b96fcc8ffcbc5a65", "version": 3, "contracts": [ { @@ -58,7 +58,7 @@ "owner": "0x48fE1f85ff8Ad9D088863A42Af54d06a1328cF21", "rewardPayer": "0x62478E4eeb4070fE399866aB05e821AB97200947", "totalLocked": "118634578080235465000000", - "totalRewardsLiquidated": 0 + "totalRewardsLiquidated": "82748882048000000000" }, "derivedName": "LockingInfo" }, @@ -71,10 +71,10 @@ "sinceTimestamp": 1637070395, "values": { "DEFAULT_CHAINID": 1088, - "getGlobalMetadata": "0x000000000000000000000000000000000000662c68bb0001008e3d", - "getGlobalMetadataByChainId": "0x000000000000000000000000000000000000662c68bb0001008e3d", - "length": 23538, - "lengthByChainId": 23538, + "getGlobalMetadata": "0x000000000000000000000000000000000000662f9f7b0001011b41", + "getGlobalMetadataByChainId": "0x000000000000000000000000000000000000662f9f7b0001011b41", + "length": 23568, + "lengthByChainId": 23568, "libAddressManager": "0x918778e825747a892b17C66fe7D24C618262867d", "owner": "StateCommitmentChain" }, @@ -156,8 +156,8 @@ "getLastBlockNumber": 19431495, "getLastTimestamp": 1710398153, "getNextQueueIndex": 36284, - "getNumPendingQueueElements": 1163, - "getQueueLength": 37447, + "getNumPendingQueueElements": 1243, + "getQueueLength": 37527, "getTotalBatches": 42647, "getTotalElements": 15214530, "l2GasDiscountDivisor": 32, @@ -324,12 +324,12 @@ "batches": "0x10739F09f6e62689c0aA8A1878816de9e166d6f9", "DEFAULT_CHAINID": 1088, "FRAUD_PROOF_WINDOW": 604800, - "getLastSequencerTimestamp": 1714186427, - "getLastSequencerTimestampByChainId": 1714186427, - "getTotalBatches": 23538, - "getTotalBatchesByChainId": 23538, - "getTotalElements": 16813629, - "getTotalElementsByChainId": 16813629, + "getLastSequencerTimestamp": 1714397051, + "getLastSequencerTimestampByChainId": 1714397051, + "getTotalBatches": 23568, + "getTotalBatchesByChainId": 23568, + "getTotalElements": 16849729, + "getTotalElementsByChainId": 16849729, "libAddressManager": "0x918778e825747a892b17C66fe7D24C618262867d", "SEQUENCER_PUBLISH_WINDOW": 12592000 }, @@ -365,7 +365,7 @@ "sinceTimestamp": 1710314939, "values": { "BLOCK_REWARD": 1504744000000000, - "currentBatch": 2, + "currentBatch": 3, "escrow": "0x0fe382b74C3894B65c10E5C12ae60Bbd8FAf5b48", "exitDelayPeriod": 1814400, "mpcAddress": "0xD294A6f4287edbFeBF9d57B79ce657BD33bB8b3b", @@ -375,7 +375,7 @@ "sequencers": [ [ "20000000000000000000000", - "431750306000000000000", + "463349930000000000000", 1, 1, 0, @@ -390,7 +390,7 @@ ], [ "20000000000000000000000", - "386890878000000000000", + "417148270352000000000", 1, 1, 0, @@ -405,7 +405,7 @@ ], [ "20000000000000000000000", - "341195111000000000000", + "359252039000000000000", 1, 1, 0,