Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: Log keys/addresses for chain operator roles for Local L1 & readme updates #108

Merged
merged 4 commits into from
Dec 13, 2024

Conversation

vdamle
Copy link
Contributor

@vdamle vdamle commented Dec 9, 2024

  • Log private keys and addresses for Chain Operator roles when running a local L1. Removed trace logs in bash script fund.sh since the relevant info is now logged. I note that the l1_network binding wasn't set at all in main.star and is now set to local for a local L1 network. The private key/addresses are needed when a transaction needs to be sent to the contract -- which is a likely step in executing a test locally in Kurtosis. See here
  • Log L1 faucet private key and address
  • Log L2 faucet private key and address (useful for running tx-fuzz)
  • Updates to readme with info on helpful kurtosis commands for inspecting local state.
  • Add sample config for geth/reth with custom batcher config

Driven from the learnings of testing holocene hard fork chain split between op-geth and op-reth as noted in: ethereum-optimism/optimism#13192 (comment)

The revised output from fund.sh locally is as follows:

Collect keys, and fund addresses
Command returned with exit code '0' and the following output:
--------------------
0x3be78a6b8544134adb22fa909bfb93ee69a9e2b755076d3d859455832adb9218
0x0cf6c854e32a30be7c79b41d7841ab456b06530d31115ba651bb4bbe26545b5d
0x721cd59d1901ff718f299f14c0ecd2bbfa39b9248cbdfaccaca415e008ea0cb9
0xcdac4618e2128f1a3bc503ddc35e722896174681620ac7e41efa28c5a5f53414
0x77c5e2210e89b2d2cfd591f29b47723789cd76c58b6dde603a58c820171d0097
0xaa397e8c9d218413d130c38efe2666d15a73abdd604ae0411e4206c660eb9d62
0xa9ad8b78b3b0ddbd41b75271d6d9bdbfbe7b60c58e937272a7255ad542542d28
0xbb8c5f7490df7e2286aae608b7c2a1876b73164bde3d5bc9abf19590bcc464a5
0x5db0f1227071a0a719a978f6fea60d63c6974bf114eaaa08a1cfb777b2b58e54
0x924a64b99b825dcb1e88eb451ba90627a18c4f974d91fd4518704bd5ac49c197
Wallet private key and addresses
{
  "proposerPrivateKey": "0x9d77c0558ed6f31e7be16c2f45fd1f3ec3f66d20526b7fe3961872d38ac98fe7",
  "proposerAddress": "0xb0994E702b603df7191cd68E6544f99126135e34",
  "batcherPrivateKey": "0xb3d2d558e3491a3709b7c451100a0366b5872520c7aa020c17a0e7fa35b6a8df",
  "batcherAddress": "0xD3F2c5AFb2D76f5579F326b0cD7DA5F5a4126c35",
  "sequencerPrivateKey": "0x459f58fd8ef3d9123333514d0f2445153fc29ddc43be239356dad70f506475d9",
  "sequencerAddress": "0xbb900Cf56918A2639dAA90c3f7DC5DCD2f5B9935",
  "challengerPrivateKey": "0x717c53f6d6c266889465d78a885cd0a2e22d41f73e21fa1f07ba5849c82d79c3",
  "challengerAddress": "0xf08f610d1956CAAAb34f18e9e0A122E389496529",
  "l2ProxyAdminPrivateKey": "0x93be1ab4efe7633d951f19783912817a264f70889cc230e6015627695041744b",
  "l2ProxyAdminAddress": "0x21DD8D15472844b905E603Ddd48A485a630B233b",
  "l1ProxyAdminPrivateKey": "0xa8574059a5e36acd4d6ea03e90fe8b5233cc87222b0b396f9b1d6f3e5d6368fa",
  "l1ProxyAdminAddress": "0x39Dc844B8b461c6de6c572cad9585d9f5A8DEa6A",
  "baseFeeVaultRecipientPrivateKey": "0x227e712ee48868fff4651301e8f366bea05e822db3429470bbc7ed2ee045cb67",
  "baseFeeVaultRecipientAddress": "0x9ef74F0e58fdEf70c11E587A45c0a85A3258DCeA",
  "l1FeeVaultRecipientPrivateKey": "0xe6414f68c9f0d5e3470955a39c1af602a3132f709130fea6304f126a78b7f6aa",
  "l1FeeVaultRecipientAddress": "0xA7B30F9e99A248C6D623eaaD7bce81217Bb84038",
  "sequencerFeeVaultRecipientPrivateKey": "0xc11b0cec865b74505976f6c7fc5736a701f1cdf9e46aa72c02d51c0fe6ec3fed",
  "sequencerFeeVaultRecipientAddress": "0x15947bF05662caD8DF55f004c055939b574f18c0",
  "systemConfigOwnerPrivateKey": "0x28978385446dde6ce493da611d6c9ae6193d960c1cb73ecfb25800e9c9017f4c",
  "systemConfigOwnerAddress": "0x8e44fEbeaE9C2F2Bc89480aE8084328Badc496c2",
  "l1FaucetPrivateKey": "0xeaba42282ad33c8ef2524f07277c03a776d98ae19f581990ce75becb7cfa1c23",
  "l1FaucetAddress": "0x589A698b7b7dA0Bec545177D3963A2741105C7C9",
  "l2FaucetPrivateKey": "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",
  "l2FaucetAddress": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
}

@vdamle vdamle changed the title Local: Log keys/addresses for chain operator roles & readme updates style: Log keys/addresses for chain operator roles for Local L1 & readme updates Dec 9, 2024
static_files/scripts/fund.sh Outdated Show resolved Hide resolved
@vdamle vdamle force-pushed the contract-addresses branch from 5866632 to 5ea4850 Compare December 11, 2024 23:10
* Log private keys and addresses for Chain Operator roles when running
  a local L1. Removed trace logs in bash script fund.sh since the relevant
  info is now logged.
* Log L1 faucet private key and address
* Log L2 faucet private key and address (useful for running tx-fuzz)
* Updates to readme with info on helpful kurtosis commands for inspecting
  local state.
used in holocene awareness testing issue#12122
@vdamle vdamle force-pushed the contract-addresses branch from 5ea4850 to 9ae4b66 Compare December 12, 2024 16:32
static_files/scripts/fund.sh Outdated Show resolved Hide resolved
* key/addresses are written to `wallets.json`
* fixed camel case naming for roles
@vdamle vdamle requested a review from mslipper December 12, 2024 17:56
@vdamle vdamle force-pushed the contract-addresses branch from 17b61f9 to 47e85eb Compare December 12, 2024 18:34
@barnabasbusa barnabasbusa enabled auto-merge (squash) December 13, 2024 14:00
@barnabasbusa barnabasbusa merged commit 6cbfdd3 into ethpandaops:main Dec 13, 2024
5 of 6 checks passed
@vdamle vdamle deleted the contract-addresses branch December 13, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants