-
Notifications
You must be signed in to change notification settings - Fork 20.5k
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
os.Mkdir
called on Datadir
default regardless of datadir
config file setting.
#105
Comments
This may be fixed by #368 |
orenyodfat
pushed a commit
to orenyodfat/go-ethereum
that referenced
this issue
Jul 3, 2017
…ework-lock-fixes Prevent various deadlocks
AusIV
pushed a commit
to NoteGio/go-ethereum
that referenced
this issue
Feb 20, 2020
Add codeshelter support
AusIV
pushed a commit
to NoteGio/go-ethereum
that referenced
this issue
Feb 24, 2020
Feat/parity resources
tony-ricciardi
pushed a commit
to tony-ricciardi/go-ethereum
that referenced
this issue
Jan 20, 2022
Add Google cloud tool and kubectl to Docker image
joshuacolvin0
pushed a commit
to joshuacolvin0/go-ethereum
that referenced
this issue
Jan 4, 2023
…-transfers Native and Js tracing impls for `CaptureArbitrumTransfer`
weiihann
pushed a commit
to weiihann/go-ethereum
that referenced
this issue
Feb 23, 2023
* fix bug and upgrade trace code * minor * refactor (ethereum#105) * move * add comments * fix typo * update comments * rename extraData() * update comments Co-authored-by: HAOYUatHZ <[email protected]> Co-authored-by: HAOYUatHZ <[email protected]>
marioevz
pushed a commit
to marioevz/go-ethereum
that referenced
this issue
Mar 21, 2023
Update code for free the blobs
protolambda
added a commit
to protolambda/go-ethereum
that referenced
this issue
Oct 11, 2023
Support snap sync for OP chains
s1na
pushed a commit
to s1na/go-ethereum
that referenced
this issue
Dec 2, 2024
buzzuporg
pushed a commit
to buzzup-hub/go-ethereum
that referenced
this issue
Jan 7, 2025
Add a dummy BlobTxType=0x3 implementation until go-ethereum rebased
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found that mkdir was being called on
~/.ethereum
even when I specified a nondefault config file-conf=/some/other/path.ini
and that config file hasdatadir = /some/other/datadir
.Looking at the code I see that
utils.InitConfig
callsutils.InitDataDir
, in cmd.go line 106, and this seems like a bug because this will contain the default value.Later
main
callsutils.InitDataDir
directly, in ethereum.main.go line 34, with the correct value from the config file.I intend to write a unittest to capture this bug, but I'm new to go and haven't figured out the best way to mock out
os.Mkdir
or to create a temporary file system directory for non-mock testing.The text was updated successfully, but these errors were encountered: