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

E2e devnet #143

Merged
merged 43 commits into from
Sep 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
04d0e3b
feat: add Dockerfile for avs contract deployment and avs, add env sam…
nmjustinchan Sep 18, 2024
8b974cf
debug: add temp env
nmjustinchan Sep 19, 2024
567c186
debug: add temp beancon genesis time and fork url
nmjustinchan Sep 19, 2024
dafd622
fix: update rust lib
nmjustinchan Sep 19, 2024
a04558d
Merge branch 'master' of github.com:NethermindEth/Taiko-Preconf-AVS-N…
mskrzypkows Sep 19, 2024
9416853
Merge branch 'master' of github.com:NethermindEth/Taiko-Preconf-AVS-N…
mskrzypkows Sep 19, 2024
d5d7f98
logging improved, read lookahead at before preconf loop
mskrzypkows Sep 19, 2024
6a09799
rust:1.80 docker file
mskrzypkows Sep 19, 2024
efcdd7b
entrypoint instead of cmd in dockerfile
mskrzypkows Sep 19, 2024
b072902
Merge branch 'master' of github.com:NethermindEth/Taiko-Preconf-AVS-N…
mskrzypkows Sep 19, 2024
829227d
Coping only needed sources for docker build
mskrzypkows Sep 19, 2024
4bd82c4
Dockerfile with cache for faster builds
mskrzypkows Sep 19, 2024
f638f1d
Merge branch 'master' of github.com:NethermindEth/Taiko-Preconf-AVS-N…
mskrzypkows Sep 19, 2024
10f3dfb
Better error handling for the registration
mskrzypkows Sep 20, 2024
391aeac
Merge branch 'master' of github.com:NethermindEth/Taiko-Preconf-AVS-N…
mskrzypkows Sep 20, 2024
77e83c5
fixed call view function for registration
mskrzypkows Sep 20, 2024
f2109e6
fixed switching epoch at the beginning
mskrzypkows Sep 20, 2024
00984d4
Merge branch 'master' of github.com:NethermindEth/Taiko-Preconf-AVS-N…
mskrzypkows Sep 20, 2024
3f3e6d6
Add CLI command for force pushing lookahead
mikhailUshakoff Sep 20, 2024
69f71bf
Merge branch 'master' of github.com:NethermindEth/Taiko-Preconf-AVS-N…
mskrzypkows Sep 23, 2024
2ef5c72
gas limit increased to 500_000
mskrzypkows Sep 23, 2024
042214e
force update lookahead when no txs
mskrzypkows Sep 24, 2024
c88d826
operator using epoch instead of timestamp
mskrzypkows Sep 24, 2024
90f4d67
Merge branch 'master' of github.com:NethermindEth/Taiko-Preconf-AVS-N…
mskrzypkows Sep 24, 2024
622932a
Merge branch 'master' of github.com:NethermindEth/Taiko-Preconf-AVS-N…
mskrzypkows Sep 24, 2024
0f37401
slot clock test
mskrzypkows Sep 24, 2024
bf5c47f
build fixed
mskrzypkows Sep 24, 2024
27c12a3
Merge branch 'master' of github.com:NethermindEth/Taiko-Preconf-AVS-N…
mskrzypkows Sep 24, 2024
8ff179f
slot clock genesis log
mskrzypkows Sep 25, 2024
29b2e94
better debug logs
mskrzypkows Sep 25, 2024
5d6e98e
removed eth_call from force lookahead
mskrzypkows Sep 25, 2024
e436c1a
removed misleading lookahead kept for next epoch in operator
mskrzypkows Sep 25, 2024
ca15d21
rpc url for the tx spammer
mskrzypkows Sep 26, 2024
2f1ded2
remove validator
mskrzypkows Sep 26, 2024
c6898d7
Fix force push lookahead
mikhailUshakoff Sep 27, 2024
935e8c7
Block proposed event receiving fixed
mskrzypkows Sep 27, 2024
895fe29
Automatically detect parentMetaHash in the smart contract
mikhailUshakoff Sep 27, 2024
5902a52
enable preconfirmation env flag
mskrzypkows Sep 27, 2024
6fecf83
Merge branch 'e2e-devnet' of github.com:NethermindEth/Taiko-Preconf-A…
mskrzypkows Sep 27, 2024
dcedf4b
Remove unused variable
mikhailUshakoff Sep 27, 2024
fbdd2c2
.env.sample
mskrzypkows Sep 27, 2024
eaf9c03
Improve the process of sending new block proposals
mikhailUshakoff Sep 27, 2024
84ead8d
removed private keys and URLs from scripts
mskrzypkows Sep 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM docker.io/library/rust:1.80 AS builder

# Set the working directory inside the container
WORKDIR /usr/src/taiko_preconf_avs_node

# Copy the project files
COPY ../Node/src /usr/src/taiko_preconf_avs_node/src
COPY ../Node/Cargo.toml /usr/src/taiko_preconf_avs_node/Cargo.toml
COPY ../Node/Cargo.lock /usr/src/taiko_preconf_avs_node/Cargo.lock

# Copy the dependency directory
COPY ../p2pNode/p2pNetwork /usr/src/p2pNode/p2pNetwork

# Build the project in release mode
RUN cargo build -p taiko_preconf_avs_node --release

# Use ubuntu as the base image
FROM ubuntu:latest

# Copy the build artifact from the builder stage
COPY --from=builder /usr/src/taiko_preconf_avs_node/target/release/taiko_preconf_avs_node /usr/local/bin/taiko_preconf_avs_node

# Expose the port that the server will run on
# EXPOSE 9000

# Run the binary
ENTRYPOINT ["taiko_preconf_avs_node"]
29 changes: 29 additions & 0 deletions Dockerfile_cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM docker.io/library/rust:1.80 AS builder

# Set the working directory inside the container
WORKDIR /usr/src/taiko_preconf_avs_node

# Copy the project files
COPY ../Node/src /usr/src/taiko_preconf_avs_node/src
COPY ../Node/Cargo.toml /usr/src/taiko_preconf_avs_node/Cargo.toml
COPY ../Node/Cargo.lock /usr/src/taiko_preconf_avs_node/Cargo.lock

# Copy the dependency directory
COPY ../p2pNode/p2pNetwork /usr/src/p2pNode/p2pNetwork

# Build the project in release mode
RUN --mount=type=cache,target=/usr/local/cargo/registry --mount=type=cache,target=/usr/src/taiko_preconf_avs_node/target \
cargo build -p taiko_preconf_avs_node --release && \
mv /usr/src/taiko_preconf_avs_node/target/release/taiko_preconf_avs_node /root

# Use ubuntu as the base image
FROM ubuntu:latest

# Copy the build artifact from the builder stage
COPY --from=builder /root/taiko_preconf_avs_node /usr/local/bin/taiko_preconf_avs_node

# Expose the port that the server will run on
# EXPOSE 9000

# Run the binary
ENTRYPOINT ["taiko_preconf_avs_node"]
21 changes: 21 additions & 0 deletions Node/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
AVS_NODE_ECDSA_PRIVATE_KEY=0x0000000000000000000000000000000000000000000000000000000000000000
VALIDATOR_BLS_PRIVATEKEY=1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
AVS_PRECONF_TASK_MANAGER_CONTRACT_ADDRESS=0x0000000000000000000000000000000000000000
AVS_DIRECTORY_CONTRACT_ADDRESS=0x0000000000000000000000000000000000000000
AVS_SERVICE_MANAGER_CONTRACT_ADDRESS=0x0000000000000000000000000000000000000000
AVS_PRECONF_REGISTRY_CONTRACT_ADDRESS=0x0000000000000000000000000000000000000000
EIGEN_LAYER_STRATEGY_MANAGER_CONTRACT_ADDRESS=0x0000000000000000000000000000000000000000
EIGEN_LAYER_SLASHER_CONTRACT_ADDRESS=0x0000000000000000000000000000000000000000
TAIKO_L1_ADDRESS=0x0000000000000000000000000000000000000000
TAIKO_CHAIN_ID=167
L1_CHAIN_ID=3151908
VALIDATOR_INDEX=1
TAIKO_PROPOSER_URL=http://127.0.0.1:1234
TAIKO_DRIVER_URL=http://127.0.0.1:1235
MEV_BOOST_URL=http://127.0.0.1:33661
L1_WS_RPC_URL=ws://127.0.0.1:32003
L1_BEACON_URL=http://127.0.0.1:33001
ENABLE_P2P=true
ENABLE_PRECONFIRMATION=true
RUST_LOG=debug,reqwest=info,hyper=info,alloy_transport=info,alloy_rpc_client=info,alloy_provider=info

Loading