Skip to content

Commit

Permalink
Merge branch 'master_v2' of github.com:NethermindEth/Taiko-Preconf-AV…
Browse files Browse the repository at this point in the history
…S-Node into master_v2
  • Loading branch information
mskrzypkows committed Jan 3, 2025
2 parents 5e6a9bc + 7cee93a commit b765ae3
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ RUN cargo build -p taiko_preconf_avs_node --release
# Use ubuntu as the base image
FROM ubuntu:latest

# Install ca-certificates
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates \
&& rm -rf /var/lib/apt/lists/*

# 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

Expand Down
11 changes: 10 additions & 1 deletion SmartContracts/scripts/deployment/deploy_avs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,17 @@ set -e
: "${BEACON_GENESIS_TIMESTAMP:?Environment variable BEACON_GENESIS_TIMESTAMP is required}"
: "${BEACON_BLOCK_ROOT_CONTRACT:?Environment variable BEACON_BLOCK_ROOT_CONTRACT is required}"
echo "BEACON_GENESIS_TIMESTAMP: $BEACON_GENESIS_TIMESTAMP"

# Check if EVM_VERSION is set and not empty
if [ -n "$EVM_VERSION" ]; then
EVM_VERSION_FLAG="--evm-version $EVM_VERSION"
else
EVM_VERSION_FLAG=""
fi

forge script scripts/deployment/DeployAVS.s.sol:DeployAVS \
--fork-url $FORK_URL \
--broadcast \
--skip-simulation \
--private-key $PRIVATE_KEY
--private-key $PRIVATE_KEY \
$EVM_VERSION_FLAG
10 changes: 9 additions & 1 deletion SmartContracts/scripts/deployment/deploy_eigenlayer_mvp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@ set -e
: "${PRIVATE_KEY:?Environment variable PRIVATE_KEY is required}"
: "${FORK_URL:?Environment variable FORK_URL is required}"

# Check if EVM_VERSION is set and not empty
if [ -n "$EVM_VERSION" ]; then
EVM_VERSION_FLAG="--evm-version $EVM_VERSION"
else
EVM_VERSION_FLAG=""
fi

forge script scripts/deployment/DeployEigenlayerMVP.s.sol:DeployEigenlayerMVP \
--rpc-url $FORK_URL \
--broadcast \
--skip-simulation \
--private-key $PRIVATE_KEY
--private-key $PRIVATE_KEY \
$EVM_VERSION_FLAG

0 comments on commit b765ae3

Please sign in to comment.