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

added nethermind evm to docker file #229

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

yerke26
Copy link

@yerke26 yerke26 commented Oct 10, 2024

build Nethermind Evm added to DockerFile
binary script is located here: /usr/bin/nethermindevm
you can run it by:
/usr/bin/nethermindevm t8n

@winsvega winsvega changed the base branch from master to develop January 8, 2025 10:00
@@ -21,16 +21,14 @@ void requireStateTestsFillerEnvScheme(spDataObject const& _data)
{"currentRandom", {{DataType::String}, jsonField::Optional}},
{c_parentExcessBlobGas, {{DataType::String}, jsonField::Optional}},
{c_parentBlobGasUsed, {{DataType::String}, jsonField::Optional}},
{c_currentBeaconRoot, {{DataType::String}, jsonField::Optional}},
{"previousHash", {{DataType::String}, jsonField::Required}}});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems to be a rebase issue. can you rebase on top of develop branch?

@@ -30,6 +32,10 @@ RUN apt-get update \
&& add-apt-repository -y ppa:deadsnakes/ppa \
&& add-apt-repository ppa:linuxuprising/java \
&& apt-get install --yes jq lsof git cmake make perl psmisc curl wget gcc-11 g++-11 python3.10 python3.10-venv python3-pip python3-dev \
&& wget https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is better to move this under condition as well. as if docker is being built for geth only no need to install nethermind pre requirements

@@ -112,6 +112,9 @@ if [ "$SCRIPT_NAME" = "dtf.sh" ]; then
if [ "$var" = "nimbus" ]; then
binpath="/bin/evm_nimbus"
fi
if [ "$var" = "nethermind" ]; then
binpath="/nethermind/tools/Evm/Evm/bin/Debug/net8.0/Evm"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to save space I copy built binaries into bin folder inside docker and remove all src and build files that are no longer required for it to run. making docker image smaller.

@winsvega
Copy link
Collaborator

winsvega commented Jan 8, 2025

@yerke26
wau it's a bit outdated to add as retesteth is being discontinued but we can still merge the docker instructions especially.

@winsvega winsvega force-pushed the develop branch 2 times, most recently from f7dfbd3 to 406bf87 Compare January 8, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants