Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/l2beat/l2beat
Browse files Browse the repository at this point in the history
  • Loading branch information
sz-piotr committed Dec 9, 2024
2 parents ed34ef6 + b297114 commit 05b491b
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions packages/config/src/projects/layer2s/zeronetwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,50 @@ export const zeronetwork: Layer2 = zkStackL2({
minTimestampForTvl: new UnixTime(1729616414),
},
diamondContract: discovery.getContract('ZeroNetworkZkEvm'),
nonTemplateTrackedTxs: [
{
uses: [{ type: 'l2costs', subtype: 'batchSubmissions' }],
query: {
formula: 'sharedBridge',
chainId: 543210,
address: discovery.getContract('ValidatorTimelock').address,
selector: '0x6edd4f12',
functionSignature:
'function commitBatchesSharedBridge(uint256 _chainId, (uint64 batchNumber, bytes32 batchHash, uint64 indexRepeatedStorageChanges, uint256 numberOfLayer1Txs, bytes32 priorityOperationsHash, bytes32 l2LogsTreeRoot, uint256 timestamp, bytes32 commitment) _lastCommittedBatchData, (uint64 batchNumber, uint64 timestamp, uint64 indexRepeatedStorageChanges, bytes32 newStateRoot, uint256 numberOfLayer1Txs, bytes32 priorityOperationsHash, bytes32 bootloaderHeapInitialContentsHash, bytes32 eventsQueueStateHash, bytes systemLogs, bytes pubdataCommitments)[] _newBatchesData)',
sinceTimestamp: new UnixTime(1729616414),
},
},
{
uses: [
{ type: 'liveness', subtype: 'proofSubmissions' },
{ type: 'l2costs', subtype: 'proofSubmissions' },
],
query: {
formula: 'sharedBridge',
chainId: 543210,
address: discovery.getContract('ValidatorTimelock').address,
selector: '0xc37533bb',
functionSignature:
'function proveBatchesSharedBridge(uint256 _chainId,(uint64 batchNumber, bytes32 batchHash, uint64 indexRepeatedStorageChanges, uint256 numberOfLayer1Txs, bytes32 priorityOperationsHash, bytes32 l2LogsTreeRoot, uint256 timestamp, bytes32 commitment) _prevBatch, (uint64 batchNumber, bytes32 batchHash, uint64 indexRepeatedStorageChanges, uint256 numberOfLayer1Txs, bytes32 priorityOperationsHash, bytes32 l2LogsTreeRoot, uint256 timestamp, bytes32 commitment)[] _committedBatches, (uint256[] recursiveAggregationInput, uint256[] serializedProof) _proof)',
sinceTimestamp: new UnixTime(1729616414),
},
},
{
uses: [
{ type: 'liveness', subtype: 'stateUpdates' },
{ type: 'l2costs', subtype: 'stateUpdates' },
],
query: {
formula: 'sharedBridge',
chainId: 543210,
address: discovery.getContract('ValidatorTimelock').address,
selector: '0x6f497ac6',
functionSignature:
'function executeBatchesSharedBridge(uint256 _chainId, (uint64 batchNumber, bytes32 batchHash, uint64 indexRepeatedStorageChanges, uint256 numberOfLayer1Txs, bytes32 priorityOperationsHash, bytes32 l2LogsTreeRoot, uint256 timestamp, bytes32 commitment)[] _batchesData)',
sinceTimestamp: new UnixTime(1729616414),
},
},
],
nonTemplateEscrows: (zkStackUpgrades: Upgradeability) => [
discovery.getEscrowDetails({
address: bridge.address,
Expand Down

0 comments on commit 05b491b

Please sign in to comment.