Commit 18da90bd authored by Barnabas Busa's avatar Barnabas Busa Committed by GitHub

feat: use base image instead of pip install (#322)

parent 51a44228
PYTHON_IMAGE = "python:3.11-alpine" PYTHON_IMAGE = "ethpandaops/python-web3"
EIP4788_DEPLOYMENT_SERVICE_NAME = "eip4788-contract-deployment" EIP4788_DEPLOYMENT_SERVICE_NAME = "eip4788-contract-deployment"
...@@ -18,11 +18,6 @@ def deploy_eip4788_contract_in_background(plan, sender_key, el_uri): ...@@ -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( plan.exec(
service_name=EIP4788_DEPLOYMENT_SERVICE_NAME, service_name=EIP4788_DEPLOYMENT_SERVICE_NAME,
recipe=ExecRecipe( recipe=ExecRecipe(
......
PYTHON_IMAGE = "python:3.11-alpine" PYTHON_IMAGE = "ethpandaops/python-web3"
CUSTOM_FLOOD_SERVICE_NAME = "mev-custom-flood" CUSTOM_FLOOD_SERVICE_NAME = "mev-custom-flood"
...@@ -19,11 +19,6 @@ def spam_in_background(plan, sender_key, receiver_key, el_uri, params): ...@@ -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( plan.exec(
service_name=CUSTOM_FLOOD_SERVICE_NAME, service_name=CUSTOM_FLOOD_SERVICE_NAME,
recipe=ExecRecipe( recipe=ExecRecipe(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment