Questions tagged [geth-debugging]

The tag has no usage guidance.

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

Geth javascript console how to subscribe using JSON RPC

I am running an go-ethereum client in light mode. I have connected to my node with ./geth attach /home/user/.ethereum/geth.ipc and have my geth console. I want to use real-time subscriptions mentioned ...
user avatar
0 votes
1 answer
7 views

how to setup up Gas Price POA network

I have setup POA Network with clique, 5 Node with Public RPC, everything working fine, but i would like to setup Gas Fee to 25 GWEI automatically Metamask pick this estimation, by Default POA has 1 ...
user avatar
0 votes
0 answers
16 views

Unable to unlock my Ethereum account on Private chain [duplicate]

Error Msg : GoError: Error: account unlock with HTTP access is forbidden at web3.js:6365:9(45) at github.com/ethereum/go-ethereum/internal/jsre.MakeCallback.func1 (native) at :1:1(5)
user avatar
  • 21
0 votes
1 answer
23 views

I can't figure out the reason for this error

There are no problems with the nodes. but i keep getting this warning What exactly is the reason for this? err="signed recently, must wait for others"
user avatar
0 votes
1 answer
21 views

Does calling a read function with input leave any trace?

I want to call a read function which does a calculation and returns a result. It is important that the input will not be saved on the blockchain. If I were to use a write function then even if there ...
user avatar
  • 141
0 votes
0 answers
16 views

"geth attach server" fails with 401 but fine with `ethclient.Dial(server)` in GoLang

I want to trace transaction with debug.traceTransaction() in geth, I'm using free archive node from "moralis.io", the url looks like "https://speedy-nodes-nyc.moralis.io/...my_key.../...
user avatar
  • 193
0 votes
0 answers
15 views

Private network, Remix works fine, every other sendTransaction fails other than contract functions that are payable

Have a basic POW private network running with the latest geth. Things are half working and failing oddly. If I use Remix IDE I can call every function (send and query) of a deployed contract and it ...
user avatar
2 votes
1 answer
93 views

How can I get rid of the lock, which is giving " Failed to create the protocol stack: datadir already used by another process" as error

How can I get rid of the lock, which is giving " Failed to create the protocol stack: datadir already used by another process" as error.when geth is running in another tab.
user avatar
  • 21
0 votes
0 answers
32 views

The state of the contract does not change

I deployed the contract on my private geth network for testing. pragma solidity ^0.4.26; contract MyContract { mapping (address => uint) private balances; function depositFunds() public ...
user avatar
1 vote
0 answers
36 views

Geth(clique): Getting the total initial supply on a geth private network

Using ethers/web3 is it possible to get the total initial supply (which is predetermined on clique) so I can get a hold of the data and display it somewhere.. I know how to get the total supply of an ...
user avatar
0 votes
0 answers
9 views

i have problem with run Geth and find Geth

The keystore and geth folder could not be found after I ran geth and it ran. no folder was created . my question is why i have not these folders
user avatar
2 votes
0 answers
1k 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 ...
user avatar
  • 21
0 votes
0 answers
48 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 ...
user avatar
1 vote
0 answers
37 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\...
user avatar
0 votes
1 answer
153 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 ...
user avatar
0 votes
0 answers
48 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 ...
user avatar
  • 189
1 vote
0 answers
130 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-...
user avatar
1 vote
0 answers
28 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 ...
user avatar
  • 11
1 vote
0 answers
60 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-...
user avatar
0 votes
0 answers
516 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 ...
user avatar
0 votes
1 answer
51 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-...
user avatar
0 votes
0 answers
27 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 ...
user avatar
0 votes
0 answers
42 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,...
user avatar
0 votes
1 answer
34 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, "...
user avatar
1 vote
0 answers
129 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' " ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
0 votes
0 answers
24 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 ...
user avatar
0 votes
0 answers
77 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 ...
user avatar
13 votes
2 answers
3k 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....
user avatar
0 votes
1 answer
450 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 ...
user avatar
0 votes
0 answers
54 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 ...
user avatar
0 votes
2 answers
135 views

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

**CMD show this error message ** Geth and python is installed.
user avatar
0 votes
1 answer
279 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 --...
user avatar
1 vote
0 answers
255 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 ...
user avatar
1 vote
0 answers
22 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 ...
user avatar
0 votes
1 answer
188 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 ...
user avatar
3 votes
0 answers
807 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: ...
user avatar
  • 123
0 votes
1 answer
9 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, ...
user avatar
  • 101
0 votes
1 answer
1k 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 ...
user avatar
0 votes
0 answers
35 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 ...
user avatar
4 votes
1 answer
203 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 ...
user avatar
  • 156
0 votes
0 answers
183 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....
user avatar
  • 400
1 vote
1 answer
227 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 ...
user avatar
  • 11
0 votes
0 answers
55 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 ...
user avatar
  • 1
2 votes
2 answers
236 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 ...
user avatar
0 votes
0 answers
38 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 ...
user avatar
1 vote
0 answers
104 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:&...
user avatar
2 votes
1 answer
480 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 ...
user avatar
  • 147
0 votes
1 answer
140 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 ...
user avatar
  • 1
2 votes
1 answer
1k 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....
user avatar

1
2 3 4 5