forked from agglayer/ulxly-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95a7b0c
commit daaaaac
Showing
12 changed files
with
160 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
#!/bin/bash | ||
sudo rm -rf docker/gethData/geth_data | ||
rm deployment/deploy_ongoing.json | ||
DEV_PERIOD=1 docker-compose -f docker/docker-compose.geth.yml up -d geth | ||
sleep 5 | ||
node docker/scripts/fund-accounts.js | ||
cp docker/scripts/deploy_parameters_docker.json deployment/deploy_parameters.json | ||
cp docker/scripts/genesis_docker.json deployment/genesis.json | ||
npx hardhat run deployment/testnet/prepareTestnet.js --network localhost | ||
npx hardhat run deployment/2_deployPolygonZKEVMDeployer.js --network localhost | ||
npx hardhat run deployment/3_deployContracts.js --network localhost | ||
cp docker/scripts/v2/deploy_parameters_docker.json deployment/v2/deploy_parameters.json | ||
npm run deploy:testnet:v2:localhost | ||
mkdir docker/deploymentOutput | ||
mv deployment/deploy_output.json docker/deploymentOutput | ||
docker-compose -f docker/docker-compose.geth.yml down | ||
mv deployment/v2/deploy_output.json docker/deploymentOutput | ||
DEV_PERIOD=1 docker-compose -f docker/docker-compose.geth.yml down | ||
sudo docker build -t hermeznetwork/geth-zkevm-contracts -f docker/Dockerfile.geth . | ||
# Let it readable for the multiplatform build coming later! | ||
sudo chmod -R go+rxw docker/gethData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"timelockAdminAddress": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266", | ||
"minDelayTimelock": 3600, | ||
"salt": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"initialZkEVMDeployerOwner": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266", | ||
"admin": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266", | ||
"trustedAggregator": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8", | ||
"trustedAggregatorTimeout": 604799, | ||
"pendingStateTimeout": 604799, | ||
"emergencyCouncilAddress": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266", | ||
"realVerifier": false, | ||
"trustedSequencerURL": "http://zkevm-json-rpc:8123", | ||
"networkName": "zkevm", | ||
"description": "0.0.1", | ||
"trustedSequencer": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266", | ||
"chainID": 1001, | ||
"adminZkEVM": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266", | ||
"forkID": 5, | ||
"polTokenAddress": "", | ||
"zkEVMDeployerAddress": "", | ||
"gasTokenAddress": "", | ||
"gasTokenNetwork": 0, | ||
"deployerPvtKey": "", | ||
"maxFeePerGas": "", | ||
"maxPriorityFeePerGas": "", | ||
"multiplierGas": "" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters