Skip to content

Commit

Permalink
better comment for version in zkevm (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
josojo authored Jan 4, 2024
1 parent 88d7746 commit 49d7b08
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions contracts/ForkingManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ contract ForkingManager is IForkingManager, ForkableStructure {
string memory trustedSequencerURL = IPolygonZkEVM(zkEVM)
.trustedSequencerURL();
string memory networkName = IPolygonZkEVM(zkEVM).networkName();
// string memory version = "0.1.0"; // Todo: get version from zkEVM, currently only emitted as event
initializePackedParameters = IPolygonZkEVM
.InitializePackedParameters({
admin: IPolygonZkEVM(zkEVM).admin(),
Expand All @@ -166,7 +165,7 @@ contract ForkingManager is IForkingManager, ForkableStructure {
genesisRoot,
trustedSequencerURL,
networkName,
"0.1.0",
"0.1.0", // hardcoded as the version is not stored in the zkEVM contract, only emitted as event
IPolygonZkEVMGlobalExitRoot(newInstances.globalExitRoot.one),
IERC20Upgradeable(newInstances.forkonomicToken.one),
IForkableZkEVM(zkEVM).rollupVerifier(),
Expand All @@ -180,7 +179,7 @@ contract ForkingManager is IForkingManager, ForkableStructure {
genesisRoot,
trustedSequencerURL,
networkName,
"0.1.0",
"0.1.0", // hardcoded as the version is not stored in the zkEVM contract, only emitted as event
IPolygonZkEVMGlobalExitRoot(newInstances.globalExitRoot.two),
IERC20Upgradeable(newInstances.forkonomicToken.two),
IForkableZkEVM(zkEVM).rollupVerifier(),
Expand Down

0 comments on commit 49d7b08

Please sign in to comment.