-
Notifications
You must be signed in to change notification settings - Fork 256
chore(testing): allow PoL deployment over devnet #2842
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
base: main
Are you sure you want to change the base?
Conversation
b88de2f to
1444470
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2842 +/- ##
==========================================
+ Coverage 62.63% 62.72% +0.09%
==========================================
Files 353 353
Lines 16943 16973 +30
==========================================
+ Hits 10612 10647 +35
+ Misses 5480 5472 -8
- Partials 851 854 +3
🚀 New features to boost your workflow:
|
| --rm -v $(PWD)/${TESTAPP_FILES_DIR}:/${TESTAPP_FILES_DIR} \ | ||
| -v $(PWD)/.tmp:/.tmp \ | ||
| ghcr.io/berachain/bera-geth:latest \ | ||
| --miner.gasprice 1 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
even setting this to 10 makes some PoL related txs fail
| "nonce": "0x1", | ||
| "code": "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf3" | ||
| }, | ||
| "0xcA11bde05977b3631167028862bE2a173976CA11": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copied from eth-genesis.json of both mainnet and bepolia
| --ws \ | ||
| --ws.port 8546 \ | ||
| --ws.addr 0.0.0.0 \ | ||
| --ws.api eth,net,txpool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needed to run distributeFor bot.
Not yet the minimal configuration
This PR allows to unlock PoL smart contracts deployment over devnet. What it does is
eth-genesis.jsonwhich are instead duly included in mainnet and bepoliaminer.gaspriceotherwise some of the txs to deploy PoL are too small to be included in a block. Reth has no such an issue. cc @camemberaSetDepositStorageis modified to add operator keys to genesis. Validators public keys are reused for the time beingmake start-devnet). The important point is to match the distributor contract ingenesis.json.tmpl