Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
update L1 URLs in the config
Browse files Browse the repository at this point in the history
  • Loading branch information
obrien-alaribe-vc committed Feb 12, 2024
1 parent 4a98aa2 commit 2a250ae
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 171 deletions.
7 changes: 4 additions & 3 deletions deployment/bridge.config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Port = "5432"
MaxConns = 200

[NetworkConfig]
GenBlockNumber = 5198867
PolygonBridgeAddress = "0x5E3585897f21E0d7351a4C2DBF8Bc53508017f62"
PolygonZkEVMGlobalExitRootAddress = "0xFF286B04D54ba132E903B15334C91171d8520af0"
GenBlockNumber = 5226590
PolygonBridgeAddress = "0x51Febf7fFa1F4dF5Fe1fdbFC44F30b301D9C770a"
PolygonZkEVMGlobalExitRootAddress = "0xb31ca553a59bc114e13572F99793229932B40904"
L2PolygonBridgeAddresses = "0x8c0c012Ed5121BAF016C959ee61b4802C67CE3E0"
6 changes: 3 additions & 3 deletions deployment/dac.config.example.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PrivateKey = {Path = "/pk/dac-member.keystore", Password = "password"}

[L1]
WsURL = "wss://necessary-orbital-fire.ethereum-sepolia.quiknode.pro/f61e5ec9632e79b9b09730f62536d41a2c033259"
WsURL = "ws://sepo-nlb-zkevm-f21be80f0be835aa.elb.eu-west-1.amazonaws.com:8546"
RpcURL = "https://sepolia.polygon.tst.validationcloud.io"
CDKValidiumAddress = "1" #autopopulated
DataCommitteeAddress = "1" #autopopulated
CDKValidiumAddress = "" #autopopulated
DataCommitteeAddress = "" #autopopulated
Timeout = "3m"
RetryPeriod = "5s"

Expand Down
4 changes: 2 additions & 2 deletions deployment/dac.config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Password = "password"
[L1]
WsURL = "wss://necessary-orbital-fire.ethereum-sepolia.quiknode.pro/f61e5ec9632e79b9b09730f62536d41a2c033259"
RpcURL = "https://sepolia.polygon.tst.validationcloud.io"
CDKValidiumAddress = "0x113930091e35803c339616Af2aE8C51dB66EB346"
DataCommitteeAddress = "0x646BB9E96573CcB54C602D366EB04e0c08f752b2"
CDKValidiumAddress = "0xf5A8C5A88deda27982aeEBA70812806549470fc9"
DataCommitteeAddress = "0x4f5624096Ffd4f7242c25d0b18c5e895E0205AFe"
Timeout = "3m"
RetryPeriod = "5s"

Expand Down
42 changes: 21 additions & 21 deletions deployment/genesis.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions deployment/node.config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Enabled = false
WaitPeriodSendSequence = "15s"
LastBatchVirtualizationTimeMaxWaitPeriod = "10s"
MaxTxSizeForL1 = 131072
L2Coinbase = "0xb8bCfCc80EfCCD577b79A5aC3089A820c22F753e"
L2Coinbase = "0x64175ca7DE70407d3Ef06c934a22Da7801bA173D"

[SequenceSender.PrivateKey]
Path = "/pk/sequencer.keystore"
Expand All @@ -122,7 +122,7 @@ VerifyProofInterval = "10s"
TxProfitabilityCheckerType = "acceptall"
TxProfitabilityMinReward = "1.1"
ProofStatePollingInterval = "5s"
SenderAddress = "0x4738FfB68FbeD79867D294B09688D1fD426B19FA"
SenderAddress = "0x356f0fa9430f6E0D8E9bC9F924a7AeA3e9C26d1C"
CleanupLockedProofsInterval = "2m"
GeneratingProofCleanupThreshold = "10m"

Expand Down
103 changes: 0 additions & 103 deletions new_genesis.json

This file was deleted.

3 changes: 2 additions & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ npx hardhat run deployment/verifyCDKValidiumDeployer.js --network sepolia

# this is generating the genesis
npx hardhat run deployment/testnet/prepareTestnet.js --network sepolia
node deployment/1_createGenesis.js && npx hardhat run deployment/3_deployContracts.js --network sepolia && npm run saveDeployment:sepolia

node deployment/1_createGenesis.js && npx hardhat run deployment/3_deployContracts.js --network sepolia

mkdir -p deployments/sepolia && cp -r deployment/deploy_*.json deployments/sepolia && cp .openzeppelin/sepolia.json deployments/sepolia && cp deployment/genesis.json deployments/sepolia/genesis.original.json

Expand Down
72 changes: 36 additions & 36 deletions wallets.json
Original file line number Diff line number Diff line change
@@ -1,103 +1,103 @@
{
"Deployment Address": {
"Address": "0xb8bCfCc80EfCCD577b79A5aC3089A820c22F753e",
"PrvKey": "0xe79b2a21b6c43a3c1c579c94ff809a3b7442d9ba2d1b15310cb0a04bb52302f3",
"mnemonic": "gym circle hair castle dad edge wage rival ugly rose outer still",
"Address": "0x64175ca7DE70407d3Ef06c934a22Da7801bA173D",
"PrvKey": "0xb53432e7c46adba59e024969d664a86b1ff0cc6a665d5d0e2644df7bfb769d0b",
"mnemonic": "pen fish what unlock raise exhaust protect picnic reunion mechanic dynamic rack",
"keystore": {
"address": "b8bcfcc80efccd577b79a5ac3089a820c22f753e",
"id": "4384b10e-51b7-4188-be40-b769ca3376ba",
"address": "64175ca7de70407d3ef06c934a22da7801ba173d",
"id": "ae43ab38-b184-4c13-be8d-7b0f07176762",
"version": 3,
"crypto": {
"cipher": "aes-128-ctr",
"cipherparams": {
"iv": "aa2ef59b1a9883c82414c0f383d79c65"
"iv": "bf34063e4de594099df7bfc2493ed194"
},
"ciphertext": "5eeba9e41fe0365ce32b77c39a833b6bc47d09528898ffe571145b15c2a91b31",
"ciphertext": "69f1b0d9fb9d9d95c01939207828ebe4a35213cb7d3ef9ac4e26d5c049e3d8f7",
"kdf": "scrypt",
"kdfparams": {
"salt": "edb402e6acbf472276787ed65978a6db1a8f95861e4a1b4c14a755824eacc201",
"salt": "71894f32136318a050a07d42ea16875fe10602f128a5d1108228bdecfb664ed0",
"n": 131072,
"dklen": 32,
"p": 1,
"r": 8
},
"mac": "33c167a56454a4fbe44c8aad1007eb0e48138e1225df346ad46649ff75c232c3"
"mac": "e4c13d99a61fc8f311a0c2c6e2e36755268c25fe82d00c168495aa2874ff7aae"
},
"x-ethers": {
"client": "ethers.js",
"gethFilename": "UTC--2024-02-01T17-32-28.0Z--b8bcfcc80efccd577b79a5ac3089a820c22f753e",
"mnemonicCounter": "24d709687db1910ab929b0822e69da92",
"mnemonicCiphertext": "a2a5d17755f279653e1c28cc56475cac",
"gethFilename": "UTC--2024-02-05T17-18-08.0Z--64175ca7de70407d3ef06c934a22da7801ba173d",
"mnemonicCounter": "e339098fa6381947576f4894d512f7f1",
"mnemonicCiphertext": "8a96d30bdb05cb01625174271bf64a68",
"path": "m/44'/60'/0'/0/0",
"locale": "en",
"version": "0.1"
}
}
},
"Trusted sequencer": {
"Address": "0x68ae530E202539cdaa753b789013EF21EDbe4dDd",
"PrvKey": "0xf29156c090d390d3f460b0bfa46cfaee38e1f86866d9f5579abb5621039787a8",
"mnemonic": "occur goddess chapter alley guitar inside mosquito alarm mosquito reform super next",
"Address": "0x2F9a03c130871fc3Cc74284504523E08e56D2C57",
"PrvKey": "0x20b4e74b02efd32491611eec7f532effc67dd742ce3d41a9c10ffb95bc75d244",
"mnemonic": "cereal person notable prize example logic grief iron obey upper dilemma imitate",
"keystore": {
"address": "68ae530e202539cdaa753b789013ef21edbe4ddd",
"id": "0b8c5924-3cce-4aa6-a561-33e3db7b1af6",
"address": "2f9a03c130871fc3cc74284504523e08e56d2c57",
"id": "454a3121-3df1-46c5-ab3a-ec801d28833f",
"version": 3,
"crypto": {
"cipher": "aes-128-ctr",
"cipherparams": {
"iv": "b7c846ebed4ec8085f705a1779c5f982"
"iv": "29a9fa8e52ead56da2d7c633dae02c03"
},
"ciphertext": "470935c95fd40e8f527143d7bcae6000c038c60429c6bffa008a10abd22a7c08",
"ciphertext": "079aa1703a4a7e8a68afd6576bd47b289e3848ad2a2985f5960db253ac7a3592",
"kdf": "scrypt",
"kdfparams": {
"salt": "c2816642992edf8d2657b42c35622e6072bb75684fd4cb3a92031b462da8c7d1",
"salt": "7b502369025e104505bb1ae5790ea1034c8f6440760dd7e365006e914db72130",
"n": 131072,
"dklen": 32,
"p": 1,
"r": 8
},
"mac": "394ffc8707d15e84e4a148478968f7d3104cbc5fedd0ded35d63d41d04c1a66f"
"mac": "ab46b34921018a2c79a19e76b3f608089ecf7960c6caa2338593c5d538fed2f5"
},
"x-ethers": {
"client": "ethers.js",
"gethFilename": "UTC--2024-02-01T17-32-37.0Z--68ae530e202539cdaa753b789013ef21edbe4ddd",
"mnemonicCounter": "5138fc616657940c7dde26f6f0fc68e2",
"mnemonicCiphertext": "afb5d062d64a302e3cf96b46a68bc981",
"gethFilename": "UTC--2024-02-05T17-18-11.0Z--2f9a03c130871fc3cc74284504523e08e56d2c57",
"mnemonicCounter": "6254b1cad846c712d82c54bc2e48ed74",
"mnemonicCiphertext": "bacb96922d5b2e9d6c961e7edc8dc5b5",
"path": "m/44'/60'/0'/0/0",
"locale": "en",
"version": "0.1"
}
}
},
"Trusted aggregator": {
"Address": "0x4738FfB68FbeD79867D294B09688D1fD426B19FA",
"PrvKey": "0xbea49bf3a62a784dac52261552c6e0e53e0d3ef702fe40f10d722b78905af304",
"mnemonic": "trash before pudding sample journey rebuild crouch sunset decade gate special drum",
"Address": "0x356f0fa9430f6E0D8E9bC9F924a7AeA3e9C26d1C",
"PrvKey": "0x8eb4544ac404fe51554b0d4c4a40b717ff2a380e9a42f896a1218c3b250e7db4",
"mnemonic": "sibling fox kid gold rotate coin walk barrel ripple trend library demise",
"keystore": {
"address": "4738ffb68fbed79867d294b09688d1fd426b19fa",
"id": "d71a58ee-0eef-4534-89dd-0eefadf52118",
"address": "356f0fa9430f6e0d8e9bc9f924a7aea3e9c26d1c",
"id": "00085cac-cda8-41f6-8b6b-24bd827d22a0",
"version": 3,
"crypto": {
"cipher": "aes-128-ctr",
"cipherparams": {
"iv": "f689e37ebd6940c86a1ae17c8d9fa687"
"iv": "1be140b4b707037227ba8bb9121a8fb6"
},
"ciphertext": "2f66fbeb63784c5e72928b16be0b006cf6ef0b61857d355816155edb152c1486",
"ciphertext": "ec7e9d6e02ce275ccf5fcb88d6fbc28db1ca959a64d7f74f2bf754ca61cf909c",
"kdf": "scrypt",
"kdfparams": {
"salt": "12567a249593d37274c96089f4f91eda42abfb3de24ecf0907066672592a0003",
"salt": "da714e6356421304175c51032a4719e4377df8c952906a7b49a4d724c030267e",
"n": 131072,
"dklen": 32,
"p": 1,
"r": 8
},
"mac": "4285e12f310aa19b694b07e9432e596618ff3c107fb17fa302b39eb81f84bb6a"
"mac": "b23e5d08476a2d98429f0b04480083ca50bbf9dc6fefc96764436b8dc3d7f413"
},
"x-ethers": {
"client": "ethers.js",
"gethFilename": "UTC--2024-02-01T17-32-42.0Z--4738ffb68fbed79867d294b09688d1fd426b19fa",
"mnemonicCounter": "7e1b32c7270d8efc4af5fe508956a937",
"mnemonicCiphertext": "e15c42be417bbba5608de6b3112fd3cd",
"gethFilename": "UTC--2024-02-05T17-18-14.0Z--356f0fa9430f6e0d8e9bc9f924a7aea3e9c26d1c",
"mnemonicCounter": "b8d1fa2292181e26f140f25f7c7ab01e",
"mnemonicCiphertext": "f17d51c1bb8f90b7578de58de453c787",
"path": "m/44'/60'/0'/0/0",
"locale": "en",
"version": "0.1"
Expand Down

0 comments on commit 2a250ae

Please sign in to comment.