Skip to content

Commit

Permalink
execute githook
Browse files Browse the repository at this point in the history
  • Loading branch information
krlosMata committed Oct 16, 2024
1 parent f0c8104 commit 66468b7
Show file tree
Hide file tree
Showing 13 changed files with 41 additions and 41 deletions.
4 changes: 2 additions & 2 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ if npm run lint; then
cp artifacts/contracts/mocks/PolygonZkEVMMock.sol/PolygonZkEVMMock.json compiled-contracts/
cp artifacts/contracts/mocks/VerifierRollupHelperMock.sol/VerifierRollupHelperMock.json compiled-contracts/
cp artifacts/contracts/PolygonZkEVM.sol/PolygonZkEVM.json compiled-contracts/
cp artifacts/contracts/verifiers/FflonkVerifier.sol/FflonkVerifier.json compiled-contracts/
cp artifacts/contracts/verifiers/FflonkVerifier_10.sol/FflonkVerifier_10.json compiled-contracts/FflonkVerifier.json
cp artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json compiled-contracts/
cp artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json compiled-contracts/
cp artifacts/contracts/deployment/PolygonZkEVMDeployer.sol/PolygonZkEVMDeployer.json compiled-contracts/
cp artifacts/contracts/PolygonZkEVMTimelock.sol/PolygonZkEVMTimelock.json compiled-contracts/

cp artifacts/contracts/v2/PolygonRollupManager.sol/PolygonRollupManager.json compiled-contracts/
cp artifacts/contracts/v2/mocks/PolygonRollupManagerMock.sol/PolygonRollupManagerMock.json compiled-contracts/
cp artifacts/contracts/v2/mocks/PolygonRollupManagerMockInternalTest.sol/PolygonRollupManagerMockInternalTest.json compiled-contracts/
Expand Down
4 changes: 2 additions & 2 deletions compiled-contracts/ClaimCompressor.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions compiled-contracts/FflonkVerifier.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/PolygonRollupManager.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/PolygonRollupManagerMock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/PolygonRollupManagerMockInternalTest.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions compiled-contracts/PolygonValidiumEtrog.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions compiled-contracts/PolygonZkEVMEtrog.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions compiled-contracts/PolygonZkEVMEtrogPrevious.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions compiled-contracts/PolygonZkEVMExistentEtrog.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions compiled-contracts/PolygonZkEVMGlobalExitRootV2.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/v2/consensus/validium/PolygonValidiumEtrog.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ It is advised to use timelocks for the admin address in case of Validium since i
```solidity
function sequenceBatchesValidium(
struct PolygonValidiumEtrog.ValidiumBatchData[] batches,
uint32 indexL1InfoRoot,
uint32 l1InfoTreeLeafCount,
uint64 maxSequenceTimestamp,
bytes32 expectedFinalAccInputHash,
address l2Coinbase,
Expand All @@ -45,7 +45,7 @@ Allows a sequencer to send multiple batches
| Name | Type | Description |
| :--- | :--- | :------------------------------------------------------------------- |
|`batches` | struct PolygonValidiumEtrog.ValidiumBatchData[] | Struct array which holds the necessary data to append new batches to the sequence
|`indexL1InfoRoot` | uint32 | Index of the L1InfoRoot that will be used in this sequence
|`l1InfoTreeLeafCount` | uint32 | leaf count of the L1InfoRoot that will be used in this sequence
|`maxSequenceTimestamp` | uint64 | Max timestamp of the sequence. This timestamp must be inside a safety range (actual + 36 seconds).
This timestamp should be equal or higher of the last block inside the sequence, otherwise this batch will be invalidated by circuit.
|`expectedFinalAccInputHash` | bytes32 | This parameter must match the acc input hash after hash all the batch data
Expand All @@ -60,7 +60,7 @@ note Pol is not a reentrant token
```solidity
function sequenceBatches(
struct PolygonRollupBaseEtrog.BatchData[] batches,
uint32 indexL1InfoRoot,
uint32 l1InfoTreeLeafCount,
uint64 maxSequenceTimestamp,
bytes32 expectedFinalAccInputHash,
address l2Coinbase
Expand All @@ -73,7 +73,7 @@ Allows a sequencer to send multiple batches
| Name | Type | Description |
| :--- | :--- | :------------------------------------------------------------------- |
|`batches` | struct PolygonRollupBaseEtrog.BatchData[] | Struct array which holds the necessary data to append new batches to the sequence
|`indexL1InfoRoot` | uint32 | Index of the L1InfoRoot that will be used in this sequence
|`l1InfoTreeLeafCount` | uint32 | Index of the L1InfoRoot that will be used in this sequence
|`maxSequenceTimestamp` | uint64 | Max timestamp of the sequence. This timestamp must be inside a safety range (actual + 36 seconds).
This timestamp should be equal or higher of the last block inside the sequence, otherwise this batch will be invalidated by circuit.
|`expectedFinalAccInputHash` | bytes32 | This parameter must match the acc input hash after hash all the batch data
Expand Down
4 changes: 2 additions & 2 deletions docs/v2/lib/PolygonRollupBaseEtrog.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Note if a wrapped token of the bridge is used, the original network and address
```solidity
function sequenceBatches(
struct PolygonRollupBaseEtrog.BatchData[] batches,
uint32 indexL1InfoRoot,
uint32 l1InfoTreeLeafCount,
uint64 maxSequenceTimestamp,
bytes32 expectedFinalAccInputHash,
address l2Coinbase
Expand All @@ -67,7 +67,7 @@ Allows a sequencer to send multiple batches
| Name | Type | Description |
| :--- | :--- | :------------------------------------------------------------------- |
|`batches` | struct PolygonRollupBaseEtrog.BatchData[] | Struct array which holds the necessary data to append new batches to the sequence
|`indexL1InfoRoot` | uint32 | Index of the L1InfoRoot that will be used in this sequence
|`l1InfoTreeLeafCount` | uint32 | Index of the L1InfoRoot that will be used in this sequence
|`maxSequenceTimestamp` | uint64 | Max timestamp of the sequence. This timestamp must be inside a safety range (actual + 36 seconds).
This timestamp should be equal or higher of the last block inside the sequence, otherwise this batch will be invalidated by circuit.
|`expectedFinalAccInputHash` | bytes32 | This parameter must match the acc input hash after hash all the batch data
Expand Down

0 comments on commit 66468b7

Please sign in to comment.