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

Add freezer migrate #1785

Closed
wants to merge 3 commits into from
Closed

Add freezer migrate #1785

wants to merge 3 commits into from

Conversation

Tristan-Wilson
Copy link
Member

@Tristan-Wilson Tristan-Wilson commented Jul 26, 2023

This adds the geth binary to the nitro-node image, so that the "geth db freezer-migrate" tool can be used, to fix issue #1745

Adding geth adds about 54MB uncompressed to the nitro-node image.

Testing done

Checked that geth with the db freezer-migrate tool is present.

$ docker build --target nitro-node -t nitro-node .            
 ---> 3064ef4251f4
Successfully built 3064ef4251f4
Successfully tagged nitro-node:latest
$ docker run -it --entrypoint /bin/bash 3064ef4251f4
user@6ef1bbaf05ac:~$ /usr/local/bin/geth db freezer-migrate
INFO [07-27|00:08:31.021] Maximum peer count                       ETH=50 LES=0 total=50
INFO [07-27|00:08:31.022] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [07-27|00:08:31.023] Set global gas cap                       cap=50,000,000
INFO [07-27|00:08:31.023] Using leveldb as the backing database 
INFO [07-27|00:08:31.023] Allocated cache and file handles         database=/home/user/.ethereum/geth cache=512.00MiB handles=536,870,908
                                          

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Jul 26, 2023
@Tristan-Wilson Tristan-Wilson marked this pull request as ready for review July 27, 2023 17:34
@Tristan-Wilson
Copy link
Member Author

Closing in favor of OffchainLabs/go-ethereum#245

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant