Skip to content

Commit

Permalink
feat: use base image instead of pip install (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa authored Oct 20, 2023
1 parent 51a4422 commit 18da90b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions src/eip4788_deployment/eip4788_deployment_launcher.star
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PYTHON_IMAGE = "python:3.11-alpine"
PYTHON_IMAGE = "ethpandaops/python-web3"
EIP4788_DEPLOYMENT_SERVICE_NAME = "eip4788-contract-deployment"


Expand All @@ -18,11 +18,6 @@ def deploy_eip4788_contract_in_background(plan, sender_key, el_uri):
),
)

plan.exec(
service_name=EIP4788_DEPLOYMENT_SERVICE_NAME,
recipe=ExecRecipe(["pip", "install", "web3"]),
)

plan.exec(
service_name=EIP4788_DEPLOYMENT_SERVICE_NAME,
recipe=ExecRecipe(
Expand Down
7 changes: 1 addition & 6 deletions src/mev_custom_flood/mev_custom_flood_launcher.star
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PYTHON_IMAGE = "python:3.11-alpine"
PYTHON_IMAGE = "ethpandaops/python-web3"
CUSTOM_FLOOD_SERVICE_NAME = "mev-custom-flood"


Expand All @@ -19,11 +19,6 @@ def spam_in_background(plan, sender_key, receiver_key, el_uri, params):
),
)

plan.exec(
service_name=CUSTOM_FLOOD_SERVICE_NAME,
recipe=ExecRecipe(["pip", "install", "web3", "click"]),
)

plan.exec(
service_name=CUSTOM_FLOOD_SERVICE_NAME,
recipe=ExecRecipe(
Expand Down

0 comments on commit 18da90b

Please sign in to comment.