Questions tagged [geth-debugging]

The tag has no usage guidance.

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

Geth state heal in progress - will it terminate?

This question is somewhat related to this one, but unfortunately I don't have enough reputation to post my thoughts there. I have been tracking my state heal progress for some time now, and I have a ...
0
votes
0answers
7 views

Ethereum archive or full node to keep last N Number of blocks with debugTraceTransaction feature

Maybe related to this question But how can I run Erigon, Geth or any client to start from current block and only retain history of last N number of blocks? It should be archive node as I need ...
0
votes
0answers
9 views

How to decode go ethereum leveldb key value pair

Just for test I tried to browse leveldb records of private go ethereum node and found following types of many keys and values one example key and value is below Key : \x48\x5c\x22\xd5\x23\x0f\x95\...
0
votes
0answers
12 views

Connecting to Private Geth Blockchain network using MetaMask

I am new to Blockchain and created a private geth network in Aws EC2. I need to connect my metmask wallet to that network. From my metamask wallet , I am not able to see that network. Kindly let me ...
0
votes
0answers
17 views

Unable to sync rinkeby and unable to query eth.syncing due to lack of IPC endpoint

I'm trying to sync rinkeby with the go-ethereum client (geth 1.10.14-stable). I've been starting the process a couple of times and then interrupted it again, and started again and so on. Now, the ...
1
vote
0answers
34 views

admin.addpeers is not working on geth

This is the info i get when i run admin.addpeer on geth . i have used same genesis file on both aws instances, also rpcport and ports are different on both instances. the info is as follows: WARN [12-...
1
vote
0answers
10 views

How to add both Geth ang Ganache to metamask?

I have been facing an issue. I want to connect Both Geth and Ganache (GUI) to Metamask one at a time for testing smart contract. But in Metamask it's already showing a network localhost RPC endpoint ...
1
vote
0answers
14 views

Why is geth console returning me a transaction hash when I try to read my contract storage variable instead of actual value(uint256)?

Environment : Running an Ethereum private network of one node using Geth Connected to Remix-IDE at localhost:8545 Contract successfully deployed and tested via Remix Contract Code : // SPDX-License-...
0
votes
0answers
52 views

ethers provider.getLogs() missing an event?

In each onBlock I want to deterministically get the list of uniswap Pairs that changed in that block so I scan for Sync events (without an address filter). I am running on my own geth node. I do the ...
0
votes
1answer
27 views

Start and HTTP JSON-RPC geth on android?

Is it possible to change the code in /mobile to allow for a json-rpc api to be spawned on an android? Or is there something I need to do in Java with the NodeConfig? I already managed to run a light-...
0
votes
0answers
13 views

Will my node receive relay transactions only after the synchronization is completed?

I am a graduate student in a university, and my research direction is blockchain security. I want to study these relay transactions to find out if they will leak privacy. I want to deploy an Ethereum ...
0
votes
0answers
25 views

What are the different between geth command and geth console?

I have launched a private ethereum network on my local by using geth command: geth --datadir node1 account new geth --datadir node1 --http --dev --http.corsdomain "*" --http.api web3,eth,...
0
votes
1answer
15 views

account defined in genesis.json has no existence when private node started using geth command

I copied go ethereum source from heco git repository compiled and used following genesis.json file { "config": { "chainId": 24, "homesteadBlock": 0, "...
0
votes
0answers
38 views

My geth node is stuck on "looking for peers"

I start the geth node with these parameters, "geth --ropsten --syncmode "light" --allow-insecure-unlock --http --http.api "eth,net,web3,personal" --http.addr '0.0.0.0' " ...
1
vote
1answer
514 views

What is the best way to create Binance Smart Chain (BSC) transactions via geth without a full node?

I currently run geth to create and query the ethereum blockchain for transactions in light mode. I don't have a eth full node running. I tried running the same similar setup for Binance Smart Chain in ...
0
votes
0answers
22 views

Getting notified after receiving eth from smart contract

I am wondering if there is a way to find out when my addresses are getting eth from smart contracts. To be more specific, I am using geth 1.10.9 syncmode = fast and I have over 10k addresses to track ...
0
votes
0answers
37 views

why has my script stopped working after moving from ganache to geth?

I have built a web application that connects to a private blockchain, the app works like a private token exchange. Everything works perfectly with ganache/truffle, however the below script i use to ...
10
votes
0answers
2k views

Geth State heal in process explanation

I had a synced geth node (syncmode default = snap). After restarting the machine geth starts to sync again. Ten hours are passed but still syncing. In the log file i see a lot of State heal in process....
0
votes
1answer
283 views

BSC Transaction revert but no reason

I encountered a problem. My contract occasionally has execution exceptions, but there is no error prompt. I read the VM trace and found the following errors, but I don't understand why. Can someone ...
0
votes
0answers
40 views

Could someone help me understand how this problem was solved?

Block sealing failed err="unauthorized signer" The answers that are given still have me confused and I don't know how to interpret what's being said. Tried to search up some of the terms ...
0
votes
2answers
48 views

Unable to install web3.js into my system(WINDOWS 10)

**CMD show this error message ** Geth and python is installed.
0
votes
1answer
82 views

(Geth) run error: flag provided but not defined: -gasprice

I am following this tutorial and am able to successfully generate the genesis file and the initialize the bootnode as well but I am unable to start the mining process. Every time I run : geth --...
1
vote
0answers
114 views

Getting nonce too high on RPC debug_traceTransaction call

i am trying to get the transaction trace (similar to the one found as Geth trace_2 on etherscan) and to do so i try to use the debug_traceTransaction but each time with any transaction hash i am ...
1
vote
0answers
14 views

startnode.cmd file not recognized

When I opened my folder mygethnode in VSC. There are only two folders named geth and keystore and 4 json files. .puppeth folder and startnode.cmd file is not there. How to edit the parameters without ...
0
votes
0answers
15 views

Transactions are not processed

Transactions are not processed I configured the node for an external ip, transactions do not pass through the remix and the geth console . geth --datadir data --networkid 9024 --nat extip:IP --rpc --...
0
votes
1answer
131 views

Go Ethereum (GETH) Node Error

I'm trying to get smarter on blockchain broadly so downloaded Bitcoin Core / Geth nodes recently and got them both working but admittedly I hardly know what I'm doing. I didn't realize that I needed ...
3
votes
0answers
618 views

Local full node is one block behind mainnet after sync is completed

I just created a local Binance Smart Chain full node on my PC with the following specs: OS: Linux running on Windows Subsystem for Linux Storage: 1TB SSD (Samsung 980 Pro) CPU: AMD Ryzen 7 5800x Ram: ...
0
votes
0answers
22 views

(Geth Study) Doubt about throttleThreshold in /eth/downloader

this question relates to download part of gethv1.9.25. to reach checking of throttle, follow the path queue.reverseHeaders(...) > resultstore.AddFetch(...) > resultstore.getFetchResult(...) show ...
0
votes
1answer
8 views

New miner warnings and errors, dropping nodes and peers

Im new to mining. I had several older blades sitting around not doing anything so I thought why not have them doing something. Anyway these are all CPU based miners. I understand its not effecient, ...
0
votes
0answers
30 views

Ethereum balance is not showing in my Ethereum node

I have set my ethereum node in Amazon Ec2. I start syncing through this command sudo geth --datadir /home/ubuntu/data/ --cache=512 --allow-insecure-unlock --rpcapi "web3,eth,personal" --rpc ...
0
votes
1answer
825 views

Geth bsc node install problem

I'm trying to install a bsc fullnode, i'm following the bsc tutorial (https://docs.binance.org/smart-chain/developer/fullnode.html). But i ran into a problem. At the last step when i launch the node ...
0
votes
0answers
23 views

How to print logs such as peer.Log().Debug("") in geth?

I want to check logs such as peer.Log().Debug() in geth.But I haven't find it in my log.txt .It seems that Geth does not log this in log.txt.Only log.logger (), log.dubug ().... are logged in log.txt....
0
votes
0answers
52 views

Returned values aren't valid, did it run Out of Gas?

I am having a mapping like struct Invoice { uint256 unitPrice; uint256 totalCost; uint256 discount; uint256 CostAfterDiscount; bool isConfirmedByBuyer; } mapping(bytes32 => ...
0
votes
0answers
29 views

easier way to debug a NPM truffle project?

I'm using open zepplin to try to code these forks and contracts and i cant seem to get NPM to configure correctly. I have tried all of these types of things. 1. Uninstall and global reinstall NPM ...
0
votes
0answers
28 views

geth peering between GCP VM and RPI failed

I have configured 3 ethereum nodes 2 in GCP VMS 1 in RPI All are Ubuntu based Miner1: geth --identity "miner1" --networkid 42 --datadir "~/RPI/miner1" --nodiscover --mine --rpc --...
3
votes
0answers
101 views

eth_call, testing multiple transactions

want to test multiple transactions which are changing state and are dependent of each other. Is that possible using geth? Example: (1) First transaction will send 1 eth to account a (2) Second ...
0
votes
0answers
151 views

Invalid response at function call from time to time

I am continuously trying to fetch all pair addresses from a PancakeSwap contract but while doing so it always fails after some time saying: Error: invalid response - 0 at exports.XMLHttpRequest....
0
votes
1answer
164 views

There is an address that is hacked, the bot is monitoring it and payments are received regularly!

So, the bot instantly cancels these payments by sending, for example, 0.01 eth with a commission (fee) of 0.009 to another wallet, or even canceling everything through self - sending 0 to the same ...
0
votes
0answers
26 views

Geth stucks on event requests

I have a loop that requests past events to my geth instance by batches of 5000 blocks. It always stucks after precisely 628 request and I get a timeout. Anyone knows why ? Thank you !
0
votes
0answers
24 views

Geth python node no transactions / no data

I want to get transaction information on the blockchain ethereum using Go Ethereum (GETH) with web3 and python. I am running eth node on windows using the following command : geth --http --syncmode ...
2
votes
2answers
122 views

why does it matter to sync nodes with time?

As we know, time gets set on a block's header as the miner's current local time. Each node while accepting a block, checks if the new block's time is more than parent 's time and is not also in the ...
0
votes
0answers
29 views

geth.exe checksum is differant than what is writen on the website but the installers checksum is correct. is this an issue?

I started syncing geth with this command he command: geth --rpc --etherbase <pulbic wallet adrress> --syncmode=fast --cache=2048 and about 25 hours later, the syncing stopped and this error ...
1
vote
0answers
77 views

ERC20 contract estimates gas used

I'm new in blockchain and ethereum, And I tried to transfer contract tokens and estimate needs gas(eth) there was the error response when address ETH balance not enough > eth.estimateGas({from:&...
2
votes
1answer
306 views

Force geth to continue using fast sync

My Ethereum node was fast synced one year ago and then ran for 10 months, before that computer was shut down. I have turned on that computer and I want to continue catching up, but Geth keeps ...
0
votes
1answer
73 views

what happened to geth verbose option?

I am trying to launch GETH with --verbosity 4, however it says that it is not a valid argument. geth help shows that the --verbosity option is there, but when I try to run it, it does not work. It ...
2
votes
1answer
870 views

geth method eth_getBalance does not exist

I'm unable to run any commands after setting up clef and geth on the Görli chain. geth attach /path/to/clef.ipc Welcome to the Geth JavaScript console! modules: account:1.0 rpc:1.0 > eth....
1
vote
0answers
127 views

GETH - Pending Transactions Performance

I'm currently making use of my own GETH node to get pending transactions and process them as follows: this.web3.eth .subscribe('pendingTransactions', function (error, result) {}) ...
1
vote
1answer
413 views

Geth keeps changing coinbase / miner account and stops working. (POA Network)

I have set up a Geth POA network of 2 nodes on different cloud instances. Network was running good for 2 months but now suddenly it's getting connections from unknown peers and mining stops working. ...
1
vote
0answers
217 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
110 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, ...

1
2 3 4 5