Skip to content

Commit

Permalink
Metis update: Ignore sequencer stats in watch mode (l2beat#3543)
Browse files Browse the repository at this point in the history
Co-authored-by: sekuba <[email protected]>
  • Loading branch information
sekuba and sekuba authored Apr 30, 2024
1 parent cc661a1 commit 19d8f54
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions packages/backend/discovery/metis/ethereum/config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"ignoreDiscovery": true
},
"LockingInfo": {
"ignoreInWatchMode": ["totalLocked"]
"ignoreInWatchMode": ["totalLocked", "totalRewardsLiquidated"] // 'liquidated' here = withdrawn
},
"LockingPool": {
"fields": {
Expand All @@ -34,7 +34,7 @@
}
},
"ignoreMethods": ["curBatchState"], // interesting for finality?
"ignoreInWatchMode": ["currentBatch", "totalSequencers"],
"ignoreInWatchMode": ["currentBatch", "totalSequencers", "sequencers"],
"ignoreRelatives": ["rewardRecipient"]
},
"Lib_AddressManager": {
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/discovery/metis/ethereum/diffHistory.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Generated with discovered.json: 0xfa8ffeacacc862937cb8b971d86a90f149d8d31b
Generated with discovered.json: 0x32cd4835f42450c41cf18b3710f155a0ea983391

# Diff at Sat, 27 Apr 2024 06:12:10 GMT:

Expand Down
38 changes: 19 additions & 19 deletions packages/backend/discovery/metis/ethereum/discovered.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "metis",
"chain": "ethereum",
"blockNumber": 19744803,
"configHash": "0x573df1effc39f5d019ba06dd975ec4adb4fd8b69bdd36a1a521504369cb18d65",
"blockNumber": 19761802,
"configHash": "0x19bf0002aad0a7b0ff5cb49b94a15703b05823783ce49490b96fcc8ffcbc5a65",
"version": 3,
"contracts": [
{
Expand Down Expand Up @@ -58,7 +58,7 @@
"owner": "0x48fE1f85ff8Ad9D088863A42Af54d06a1328cF21",
"rewardPayer": "0x62478E4eeb4070fE399866aB05e821AB97200947",
"totalLocked": "118634578080235465000000",
"totalRewardsLiquidated": 0
"totalRewardsLiquidated": "82748882048000000000"
},
"derivedName": "LockingInfo"
},
Expand All @@ -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"
},
Expand Down Expand Up @@ -156,8 +156,8 @@
"getLastBlockNumber": 19431495,
"getLastTimestamp": 1710398153,
"getNextQueueIndex": 36284,
"getNumPendingQueueElements": 1163,
"getQueueLength": 37447,
"getNumPendingQueueElements": 1243,
"getQueueLength": 37527,
"getTotalBatches": 42647,
"getTotalElements": 15214530,
"l2GasDiscountDivisor": 32,
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -365,7 +365,7 @@
"sinceTimestamp": 1710314939,
"values": {
"BLOCK_REWARD": 1504744000000000,
"currentBatch": 2,
"currentBatch": 3,
"escrow": "0x0fe382b74C3894B65c10E5C12ae60Bbd8FAf5b48",
"exitDelayPeriod": 1814400,
"mpcAddress": "0xD294A6f4287edbFeBF9d57B79ce657BD33bB8b3b",
Expand All @@ -375,7 +375,7 @@
"sequencers": [
[
"20000000000000000000000",
"431750306000000000000",
"463349930000000000000",
1,
1,
0,
Expand All @@ -390,7 +390,7 @@
],
[
"20000000000000000000000",
"386890878000000000000",
"417148270352000000000",
1,
1,
0,
Expand All @@ -405,7 +405,7 @@
],
[
"20000000000000000000000",
"341195111000000000000",
"359252039000000000000",
1,
1,
0,
Expand Down

0 comments on commit 19d8f54

Please sign in to comment.