-
Notifications
You must be signed in to change notification settings - Fork 0
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
Altda devnet monitoring #11
base: develop
Are you sure you want to change the base?
Changes from all commits
981ee6a
b460aa2
35bbd80
6d874d5
fb8ac6b
a85ff0a
77c91d0
b4171c3
078e016
c938fdf
2412379
8cb56d9
fb7f306
2c24e65
dee44ec
117c9a4
d37f753
03b526d
87d0152
a05feb3
52783f0
c55dcd2
fb62380
3122237
1dafc7c
111e0f9
2bd3e06
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> | ||
**Table of Contents** | ||
|
||
- [devnet with eigenda alt-da](#devnet-with-eigenda-alt-da) | ||
- [What is Optimism?](#what-is-optimism) | ||
- [Documentation](#documentation) | ||
- [Specification](#specification) | ||
|
@@ -26,6 +27,32 @@ | |
|
||
<!-- END doctoc generated TOC please keep comment here to allow auto update --> | ||
|
||
## devnet with eigenda alt-da | ||
|
||
First you will need to build the dev docker image for eigenda-proxy, until we make a new release. | ||
|
||
```bash | ||
git clone https://github.com/Layr-Labs/eigenda-proxy.git | ||
make docker-build | ||
``` | ||
|
||
Now create a `.env` file in the root of this repository with the following content (you will need to add an ecdsa private key that is authorized on the eigenda disperser, as well as an ethereum rpc endpoint): | ||
|
||
```bash | ||
MEMSTORE_ENABLED=false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. update the flag to EIGENDA_PROXY_MEMSTORE_ENABLED |
||
EIGENDA_PROXY_EIGENDA_SERVICE_MANAGER_ADDR=0x54A03db2784E3D0aCC08344D05385d0b62d4F432 #holesky preprod | ||
EIGENDA_PROXY_EIGENDA_SIGNER_PRIVATE_KEY_HEX= | ||
EIGENDA_PROXY_EIGENDA_ETH_RPC= | ||
``` | ||
|
||
Finally run `make altda-devnet-up` to start the devnet with the eigenda proxy as alt-da server, which sends batches to `disperser-preprod-holesky.eigenda.xyz:443`. | ||
|
||
This will also start a grafana instance, which you can access at `http://localhost:3000` with user:pw `admin:admin`. | ||
|
||
![](./ops-bedrock/monitoring/grafana/grafana-dashboard-overview-high-throughput.png) | ||
|
||
The devnet starts an instance of https://github.com/Layr-Labs/evm-tx-load-gen which is submitting transactions with large amounts of calldata to reach 1.5MB/s of throughput. | ||
|
||
## What is Optimism? | ||
|
||
[Optimism](https://www.optimism.io/) is a project dedicated to scaling Ethereum's technology and expanding its ability to coordinate people from across the world to build effective decentralized economies and governance systems. The [Optimism Collective](https://www.optimism.io/vision) builds open-source software that powers scalable blockchains and aims to address key governance and economic challenges in the wider Ethereum ecosystem. Optimism operates on the principle of **impact=profit**, the idea that individuals who positively impact the Collective should be proportionally rewarded with profit. **Change the incentives and you change the world.** | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,8 +29,8 @@ cd ../cannon | |
make cannon | ||
|
||
# Transform MIPS op-program client binary into first VM state. | ||
# This outputs state.json (VM state) and meta.json (for debug symbols). | ||
./bin/cannon load-elf --type singlethreaded --path=../op-program/bin/op-program-client.elf | ||
# This outputs state.bin.gz (VM state) and meta.json (for debug symbols). | ||
./bin/cannon load-elf --type singlethreaded-2 --path=../op-program/bin/op-program-client.elf | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why change into bin.gz? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ehhh this PR is prob just targeting the wrong commit. :\ |
||
|
||
# Run cannon emulator (with example inputs) | ||
# Note that the server-mode op-program command is passed into cannon (after the --), | ||
|
@@ -45,7 +45,7 @@ make cannon | |
--proof-at '=<TRACE_INDEX>' \ | ||
--stop-at '=<STOP_INDEX>' \ | ||
--snapshot-at '%1000000000' \ | ||
--input ./state.json \ | ||
--input ./state.bin.gz \ | ||
-- \ | ||
../op-program/bin/op-program \ | ||
--network op-mainnet \ | ||
|
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.
TODO: change this after we release the new proxy
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.
made https://github.com/Layr-Labs/eigenda-proxy/releases/tag/v1.5.0