Open biluohc opened 1 year ago
I will try a sync to see if it's reproducible now.
Can you please share your mordor.toml
data, with any personal info removed. Thanks
Thanks for your reply.
[Eth] NetworkId = 7 SyncMode = "snap" EthDiscoveryURLs = ["enrtree://AJE62Q4DUX4QMMXEHCSSCSC65TDHZYSMONSD64P3WULVLSF6MRQ3K@all.mordor.blockd.info"] SnapDiscoveryURLs = ["enrtree://AJE62Q4DUX4QMMXEHCSSCSC65TDHZYSMONSD64P3WULVLSF6MRQ3K@all.mordor.blockd.info"] NoPruning = false NoPrefetch = false TxLookupLimit = 2350000 LightPeers = 100 UltraLightFraction = 75 DatabaseCache = 512 DatabaseFreezer = "" TrieCleanCache = 154 TrieCleanCacheJournal = "triecache" TrieCleanCacheRejournal = 3600000000000 TrieDirtyCache = 256 TrieTimeout = 3600000000000 SnapshotCache = 102 Preimages = false EnablePreimageRecording = false EWASMInterpreter = "" EVMInterpreter = "" RPCGasCap = 50000000 RPCEVMTimeout = 5000000000 RPCTxFeeCap = 1e+00
[Eth.Miner] Etherbase = "0x0239da7F7D5aF4CFF574C507bb6ce18DdC73b875" Notify = ["http://127.0.0.1:8000/"] GasFloor = 0 GasCeil = 8000000 GasPrice = 1000000000 Recommit = 5000000000 Noverify = false
[Eth.Ethash] CacheDir = "etchash" CachesInMem = 2 CachesOnDisk = 3 CachesLockMmap = false DatasetDir = "/root/.etchash" DatasetsInMem = 1 DatasetsOnDisk = 2 DatasetsLockMmap = false PowMode = 0 NotifyFull = false
[Eth.TxPool] Locals = [] NoLocals = false Journal = "transactions.rlp" Rejournal = 3600000000000 PriceLimit = 1 PriceBump = 10 AccountSlots = 16 GlobalSlots = 5120 AccountQueue = 64 GlobalQueue = 1024 Lifetime = 10800000000000
[Eth.GPO] Blocks = 20 Percentile = 60 MaxHeaderHistory = 1024 MaxBlockHistory = 1024 MaxPrice = 500000000000 IgnorePrice = 2
[Node] DataDir = "/root/.ethereum/mordor" IPCPath = "geth.ipc" HTTPHost = "0.0.0.0" HTTPPort = 9545 HTTPVirtualHosts = ["localhost", "host1"] HTTPModules = ["net", "web3", "eth"] WSHost = "" WSPort = 9546 WSModules = ["net", "web3", "eth"] GraphQLVirtualHosts = ["localhost"]
[Node.P2P] MaxPeers = 50 NoDiscovery = false BootstrapNodes = ["enode://534d18fd46c5cd5ba48a68250c47cea27a1376869755ed631c94b91386328039eb607cf10dd8d0aa173f5ec21e3fb45c5d7a7aa904f97bc2557e9cb4ccc703f1@51.158.190.99:30303", "enode://15b6ae4e9e18772f297c90d83645b0fbdb56667ce2d747d6d575b21d7b60c2d3cd52b11dec24e418438caf80ddc433232b3685320ed5d0e768e3972596385bfc@51.158.191.43:41235", "enode://8fa15f5012ac3c47619147220b7772fcc5db0cb7fd132b5d196e7ccacb166ac1fcf83be1dace6cd288e288a85e032423b6e7e9e57f479fe7373edea045caa56b@176.9.51.216:31355", "enode://34c14141b79652afc334dcd2ba4d8047946246b2310dc8e45737ebe3e6f15f9279ca4702b90bc5be12929f6194e2c3ce19a837b7fec7ebffcee9e9fe4693b504@176.9.51.216:31365"] BootstrapNodesV5 = ["enode://534d18fd46c5cd5ba48a68250c47cea27a1376869755ed631c94b91386328039eb607cf10dd8d0aa173f5ec21e3fb45c5d7a7aa904f97bc2557e9cb4ccc703f1@51.158.190.99:30303", "enode://15b6ae4e9e18772f297c90d83645b0fbdb56667ce2d747d6d575b21d7b60c2d3cd52b11dec24e418438caf80ddc433232b3685320ed5d0e768e3972596385bfc@51.158.191.43:41235", "enode://8fa15f5012ac3c47619147220b7772fcc5db0cb7fd132b5d196e7ccacb166ac1fcf83be1dace6cd288e288a85e032423b6e7e9e57f479fe7373edea045caa56b@176.9.51.216:31355", "enode://34c14141b79652afc334dcd2ba4d8047946246b2310dc8e45737ebe3e6f15f9279ca4702b90bc5be12929f6194e2c3ce19a837b7fec7ebffcee9e9fe4693b504@176.9.51.216:31365"] StaticNodes = [] TrustedNodes = [] ListenAddr = ":31303" EnableMsgEvents = false
[Node.HTTPTimeouts] ReadTimeout = 30000000000 WriteTimeout = 30000000000 IdleTimeout = 120000000000
[Metrics] HTTP = "127.0.0.1" Port = 6060 InfluxDBEndpoint = "http://localhost:8086" InfluxDBDatabase = "geth" InfluxDBUsername = "test" InfluxDBPassword = "test" InfluxDBTags = "host=localhost" InfluxDBToken = "test" InfluxDBBucket = "geth" InfluxDBOrganization = "geth"
I tried to reproduce it, but with no luck. Here are some suggestions for the syncing issue:
/opt/etc-geth
, but take care if you have more data inside.etc-mordor
--mine
and once finished restart with it.Also, I see that you want to mine, for this you have to explicitly set --miner.etherbase= 0x0239da7F7D5aF4CFF574C507bb6ce18DdC73b875
in your CLI params.
Thanks for you trying.
I found that running with the "--mordor" flag will work fine.
But previous versions can rely on configuration files only.
Thanks for your report.
I will check if --mordor
flag is mandatory, and can't be read from config.
v1.12.12-stable-6d8971c9 mordor testnet Synchronisation failed
System information
CoreGeth/v1.12.12-stable-6d8971c9/linux-amd64/go1.20.4
Expected behaviour
Actual behaviour
Steps to reproduce the behaviour
docker run -d \ --name etc-mordor \ -v /opt/etc-geth:/root/.ethereum \ --network host \ --restart always \ etclabscore/core-geth:version-1.12.12 \ --config /root/.ethereum/mordor.toml --mine
Backtrace