Questions tagged [geth-debugging]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

Properly Exposing Geth RPC in 2020

With the default allowed ["net", "web3", "eth"], I want to expose Geth 1.9.21-stable RPC to another machine. In config.html I set HTTPVirtualHosts = ["*"]. The ...
0
votes
1answer
10 views

I am getting a error when trying to set up a local raft network

When I try to run the command geth attach $nodeName/geth.ipc It shows the following error 'Incorrect Usage. flag provided but not defined: -raft' I am not able to understand what went wrong exactly, ...
0
votes
0answers
20 views

Ethereum geth mainnet blocked on “Looking for peers”

I installed Geth for setup a ethereum node on my linux server and use it on my RPC API. The problem is, Geth is posting "Looking for peers" forever, I don't really understand why. This is ...
0
votes
0answers
17 views

Geth behind mainnet during fast sync on an SSD

I'm trying to sync a full node on my desktop but I'm not able to get past the state download phase. After the block download phase completes (64 blocks behind mainnet) geth is not able to keep up with ...
1
vote
1answer
62 views

Run Geth with a configuration file

I've created a config.toml for Ropsten (NetworkId =3) that looks like this: https://pastebin.com/raw/2DxWE1jf But when I run geth --config /home/path-to-config From the cli I get: (Note ChainID:1, ...
0
votes
0answers
12 views

Geth won't sync because I cannot connect to peers

I have already explicitly allowed tcp in and out on port 30303 through windows firewall. Other people were told previously to use geth attach ipc:\\.\pipe\geth.ipc or geth attach http://127.0.0.1:...
0
votes
0answers
13 views

Where does DappNode ubuntu installer download the .ethereum files?

I am currently using DappNode and syncing the blockchain. When I used GETH directly there used to be .ethereum folder where all the chaindata and keystore was present. But when I use DAPPNODE the ....
0
votes
0answers
19 views

POA: Geth node (miner) automatically stops after 3-4 hours which results in primary node pausing and looking for peers

I have set up 2 Geth nodes with POA on different machines. After starting bootnode and starting Geth nodes, they sync well and starts mining alternately. If I manually stop a node, other node keeps ...
1
vote
0answers
28 views

How to Backup a GETH synced full node?

I was able to sync a complete GETH fast node but the server crashed and the node did not work. So, now I am downloading again. But I have worries that the samething can happen again. My question is: ...
0
votes
1answer
50 views

What will happen to GETH node once Ethereum 2.0 releases?

I have a full GETH node running and looks like Ethereum 2.0 is about to release. My question is: Will I need to do tweak anything in my node once Ethereum 2.0 releases? Will my GETH full node be able ...
0
votes
0answers
35 views

Best way to sync a node to use traceTransaction in go-ethereum

I'm syncing a go-ethereum node. Now I'm syncing my node in full mode, with gcmode=archive enabled. However after a full week-end, I have around 500GB of disk space eaten and 2y7m left. My questions: ...
0
votes
0answers
35 views

Disabling nonce check for go-ethereum for a private test net when using web3js batch requests to send tx

I am using web3js batch.add and batch.execute to send tx for an ethereum private testnet that I have created. I send tx using batch.add and batch.execute (don't prefer to use promises since they ...
0
votes
0answers
24 views

GETH full node genesis mismatch

I was running a full node GETH client for main net Ethereum in a server. The server crashed and was shut for around 8 hours. But after fixing the server and running the full node the GETH doesnt run. ...
0
votes
0answers
12 views

1) How can we use Ethereum Alarm Clock for Scheduling a txn in Private network(using geth/ganache)

2) Can we schedule a txn in such a manner that it could be executed multiple times in a particular time window?(For eg: if we need to schedule the txn everyday 5.00 pm) or the EAC has the option of ...
0
votes
0answers
12 views

Require function does not work in geth

I have a smart contract that uses require to validate the parameters inside some functions and I have noticed that geth 1.9.13 and 1.9.14 do not enforce the condition in require. I could reproduce the ...
1
vote
1answer
47 views

Gas price data from GETH

I am able to get gas price data as follows from some oracles (i.e., ethgasstation.info, etherscan.io): { "fast":50.0, "fastest":200.0, "safeLow":10.0, "average":20.0, "block_time":13....
0
votes
1answer
72 views

Geth trace transaction int old block

I start geth without setting gcmode=archive at the beginning. But when i realized that if i want to get all the internal transactions in ethereum blockchain, geth has synced at the blockheight of ...
3
votes
1answer
120 views

How to collect geth's metrics?

I am trying to measure chain insert rates in a Geth node. In a deprecated Go-ethereum blog, it says I can use debug.metrics(false) to get all available metrics (so I can use debug.metrics().chain....
1
vote
0answers
43 views

geth is returning call trace but does not count balance change

I send this command to my geth (I'm sure anyone's Geth would return the same): curl host:8545 -X POST --header 'Content-type: application/json' --data '{"jsonrpc":"2.0", "method":"...
0
votes
0answers
22 views

PORT ERROR!! Set up a Private Ethereum instance with Geth on MacOS

Hello I am trying to set up a private ethereum instance with geth on MacOS I have a startnode.sh file using ATOM But every time I try to start the node with "./startnode.sh", the http access account ...
0
votes
0answers
113 views

Script for opening a geth console for a node and running commands in it

I am trying to create a script running a couple of geth nodes, open a console for each of them and run a couple of commands such as admin.addPeer() and miner.start(). I read that i can use --exec to ...
0
votes
0answers
20 views

Transplanting Geth Data

I am wondering if it is possible to transplant a geth node from one computer by overwriting the .Ethereum folder with a full synced node's .Ethereum folder.
2
votes
2answers
50 views

Full Node Bigger Than Online Reports?

I am running a full node and I noticed that the amount of disk space it takes is larger than reports online. I use the command ./geth --syncmode full --rpcapi eth,web3,personal --rpc --rpcaddr 127.0....
0
votes
0answers
19 views

nested calls fail on geth --dev but pass ganache-cli

I have the following solidity contracts defined. I want to test nested calls using the lowlevel api where C->D->E. However, running this code passes on ganache-cli but fails on geth --dev node. Im ...
4
votes
1answer
932 views

What mean “Deep froze chain segment”?

I have question My geth show me like that "Deep froze chain segment" repeatedly What mean??
2
votes
1answer
111 views

Build go-ethereum source code

I wanted to build go-ethereum source code in my local side and test it in geth. I have followed up the instructions in the github go-ethereum as it is. However, I have got fail with some errors when I ...
0
votes
0answers
44 views

Address not appending to array

I'm new to Ethereum and I communicate with my Solidity using Go language. I have a contract that allows user to join the lottery by adding the user's address to the array of addresses, but it's only ...
6
votes
2answers
4k views

Fatal: Failed to write genesis block: unsupported fork ordering: eip150Block not enabled, but eip155Block enabled at 0 genesis block

I am attempting to launch a private geth chain with the following command: geth --datadir=./test-private-blockchain/ init genesis.json I am receiving the following error: Fatal: Failed to write ...
1
vote
1answer
66 views

Can I start mining before my node is fully synced?

I'm trying to mine some Ether on Ropsten, using a Geth node configured as follows: --verbosity=3 --networkid=3 --testnet --mine --fast --cache=8192 --datadir=./data --etherbase=0xMyAccountAddress --...
0
votes
0answers
15 views

Geth sync at 99.99%, Latest block is 0, Importing state entries for a long time [duplicate]

I know its a common issue but I wanted to post to see if there is an updated solution. I am running: geth --rinkeby --rpc --rpcapi="personal,eth,network,web3,net" geth attach http://localhost:8545 ...
1
vote
3answers
368 views

Error: Invalid JSON RPC response: “” from web3

I run: geth --rinkeby --rpc --rpcport=8545 --rpcaddr=192.168.1.37 It works in console: geth attach http://192.168.1.37:8545 > eth.syncing false > eth.accounts ["...
0
votes
0answers
15 views

I get no data from geth console

I have installed ethereum and geth (1.9). It is running and geth --version the result is: > Geth > Version: 1.9.5-stable > Git Commit: a1c09b93871dd3770adffb177086abda1b2ff3af &...
1
vote
1answer
73 views

Is “geth debug trace_2” on “Etherscan.io” a native geth output?

I am aware of the debug_traceTransaction function. On Etherscan.io there is an option to view transaction, called Geth Debug Trace_2, which produces output in a format that I need. The option is here: ...
1
vote
0answers
529 views

Why my geth fast node suddenly stopped running?

Fatal: Error starting protocol stack: gap (#3) in the chain between ancients and leveldb when I run geth node for ropsten by : geth --testnet --syncmode "fast" --cache=512 --rpc --ws --shh console ...
0
votes
1answer
124 views

Web3.py cannot connect to geth --dev node via IPC

I've launched a geth client over IPC: geth --dev --allow-insecure-unlock --ipcpath ipc://$HOME/Library/Ethereum/geth.ipc And trying to connect using a Web3 IPC provider: my_provider = Web3....
0
votes
1answer
60 views

How big is the Geth Fast Node Currently?

I am trying to embark on getting all the contract addresses pulled from the Ethereum blockchain. From what I read, a fast node is all that is required for this (getting blocks->txns->contractAddress ...
1
vote
0answers
127 views

Genesis Block mismatch with seemingly exact same file

I run a private Eth network with geth. I have two nodes on the network. I had these nodes connected over the last months. However, today when I try to connect one to the other I get an error: err="...
3
votes
1answer
249 views

Private Ethereum Cluster showing ENR Errors

I am trying to run a 3 node cluster, 1 among three is miner. When I try to make sendTransation its seems be signed but seems to halt forever with message signed and must wait for others. The logs ...
3
votes
1answer
741 views

Geth: Checkpoint challenge timed out, dropping

I get a warning in Geth that I was not able to find any information on: Checkpoint challenge timed out, dropping What does this mean?
0
votes
0answers
30 views

Geth returning balance 0 [duplicate]

I started my geth using fast sync first and then normal sync once it was almost synced. 'currentBlock' is not increasing since hour and 'highestBlock' keep on increasing. geth --testnet --rpc --cache=...
1
vote
0answers
89 views

Extra mining fees added in etherbase account

1st scenario - I have set miner.setEtherbase(eth.accounts[1]) and gasPrize is 0. 1 coin Transaction - And done transaction from 0th account to one random account. I expect 0 mining fees will add ...
1
vote
0answers
39 views

Can I run a javascript file using geth attach?

I want to automatize one thing. Aftert installing the Quorum nodes, I have to run: docker exec -it quorum_node1_1 geth attach /qdata/dd/geth.ipc Then I am pasting the JS code But I want to ...
1
vote
0answers
34 views

To store and retreive data using geth!

I am trying to deploy my contract using geth. Contract goes like this : pragma solidity ^0.5.0; contract hier { uint i; uint ur=0; bytes15[2][20] public UserRole; function ...
1
vote
0answers
194 views

why .call() in Truffle did not return results as expected?

I'm deploying a contract to my private chain and try to call the contract's function. After I got in the geth console and finished deploy contract, I called the function but it doesn't work ...
0
votes
0answers
135 views

How to capture opcode executed for a transaction

In remix debug mode, we can see opcodes executed line by line for a transaction, is there any way we can print the list of opcode and their corresponding line number(maybe memory address?) when ...
1
vote
3answers
403 views

Copy Geth full node onto external drive then continue syncing

My 1TB internal SSD on my mac doesn't appear to be enough for a full sync with state data. I know I can fast sync but I need full state data. I'm currently on block 5.2million and its at around 900GB ...
1
vote
0answers
147 views

Geth SWARM no peers found!

Synced via Geth lightnode to latest block --cache=2048. (7200RPM HDD with 8GB RAM) Then created new geth account and did swarm --bzzaccount $BZZ I'm am able to only browse localhost, upload to local ...
0
votes
0answers
34 views

Facing issue in starting geth client

I am using geth client(private network). When I try to start my network it shows "segmentation fault". Can you guide how to solve this issues? go-ethereum/build/bin/geth --mine --nodiscover --...
0
votes
1answer
222 views

How to sync to Rinkeby Test Network using geth in Windows?

Should I run this command or the ipcpath must be changed for Windows. geth --rinkeby --rpc --rpcapi="personal,eth,network,web3,net" --ipcpath "~/Library/Ethereum/geth.ipc" And after that what path ...
2
votes
1answer
173 views

Geth interface panic after weeks of being in sync

After weeks of being in sync and working fine, my Geth just stopped. Upon restart, what started as a long hang on FS Sync Time (repeat output with different values, no further movement beyond ...