Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
invocamanman committed Feb 10, 2023
1 parent 6a37192 commit 6e82ce5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 69 deletions.
2 changes: 1 addition & 1 deletion deployment/createGenesis.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ async function getAddressInfo(address) {
const bytecode = await ethers.provider.getCode(address);

const storage = {};
for (let i = 0; i < 100; i++) {
for (let i = 0; i < 120; i++) {
const storageValue = await ethers.provider.getStorageAt(address, i);
if (storageValue !== '0x0000000000000000000000000000000000000000000000000000000000000000') {
storage[ethers.utils.hexZeroPad(ethers.utils.hexlify(i), 32)] = storageValue;
Expand Down
1 change: 0 additions & 1 deletion deployment/deployBridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ async function main() {
* deploy proxy
* Do not initialize the proxy since we want to deploy the same code on L2 and this will alter the bytecode deployed of the proxy
*/

const precalculateZkevmAddress = ethers.constants.AddressZero;
const polygonZkEVMGlobalExitRootAddress = ethers.constants.AddressZero;
const dataCallProxy = polygonZkEVMBridgeFactory.interface.encodeFunctionData(
Expand Down
66 changes: 0 additions & 66 deletions deployment/genesis-gen.json

This file was deleted.

3 changes: 2 additions & 1 deletion deployment/genesis.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"root": "0x520f9494f85caa0143a91ec956af528d69b83ff4330d1aa23d50758fb1ffecee",
"root": "0xe2de304387ef6c0f205f2d1b5acdd561d2a13ff4064bf949bdde2252c8144cbd",
"genesis": [
{
"contractName": "PolygonZkEVMDeployer",
Expand Down Expand Up @@ -37,6 +37,7 @@
"storage": {
"0x0000000000000000000000000000000000000000000000000000000000000000": "0x0000000000000000000000000000000000000000000000000000000000000001",
"0x0000000000000000000000000000000000000000000000000000000000000001": "0x0000000000000000000000000000000000000000000000000000000000000001",
"0x0000000000000000000000000000000000000000000000000000000000000068": "0x00000000000000a40d5f56745a118d0906a34e69aec8c0db1cb8fa0000000100",
"0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103": "0x000000000000000000000000f4041d86682e321927b1aefef2c1086a67e2b954",
"0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc": "0x000000000000000000000000e74d91a48dd2ed0a9f5585368abded7af071b12c"
}
Expand Down

0 comments on commit 6e82ce5

Please sign in to comment.