Questions tagged [geth-debugging]
The geth-debugging tag has no usage guidance.
239
questions
0
votes
0
answers
10
views
Geth Light Node: RPC connection read error err=EOF
I'm trying to implement a Light Node on a RPi4B, but I keep getting the following error, which is logged nonstop:
nov 16 21:21:09 Bumblebee geth[1066]: DEBUG[11-16|21:21:09.477] RPC
connection read ...
0
votes
0
answers
34
views
Geth transactions not broadcast and stuck in pending state
Setup three Geth private network nodes(Clique) via docker container. They are deployed on three different VMs. Among 3 nodes, there is a miner node to mine the block, a RPC node to accept RPC request, ...
0
votes
1
answer
20
views
depolying system contracts for new evm blockchain
i was trying to fork a dpos evm blockchain , how to deploy system contracts for dpos and slash and get the "code" data in genesis file as below ?
"alloc": {
"...
1
vote
1
answer
27
views
Full node is missing transactions
I am running a full node (geth + lighthouse) on mainet for a few months. In a random test i found that my the geth client did not heard of some transactions (i took random blocks from Etherscan, and ...
0
votes
0
answers
30
views
Geth+Teku Nodes Randomly Stop Communicating
newbie staker here.
I’ve been trying to set up my Geth/Teku nodes for the past week, but I keep running into a persistent issue –
After starting both nodes, everything runs well for between 5-30 ...
0
votes
0
answers
51
views
Fatal: Failed to write genesis block: can't start clique chain without signers
I am trying to setup a local geth blockchain server but every time I attempt to execute I get the above error. I created the account first with the following command.
C:\private_chain>geth --...
1
vote
1
answer
63
views
How can I fix 'no matches found: enode` error when setting up private geth nodes?
I'm following along with a tutorial from the geth ethereum.org documentation. The tutorial is describing how to set up a private network of multiple geth nodes.
I have run the
bootnode -nodekey boot....
0
votes
0
answers
38
views
make geth command does not making build of op get
i am trying to make build for op-geth but facing the following issue everytime.
eth/protocols/snap/handler.go:472:32: chain.ContractCode undefined (type *core.BlockChain has no field or method ...
0
votes
0
answers
78
views
Blockchain Explorer For My Geth Private Network
I am struggling to find any valuable resource to create a block explorer for my private network.
Can anyone suggest any repositories/third-party explorers I can use to create a block explorer for my ...
0
votes
0
answers
15
views
Geth Private Network Problems
I am trying to set up a geth private network on my windows laptop and am failing badly at it as i cannot understand anything that's happening. The documentation on geth website is horrible and I just ...
2
votes
1
answer
99
views
Stuck at looking for peers when I setup full ethereum node in Ubuntu
I am trying to install a full Ethereum 1.0 node on Ubuntu, but I keep encountering an issue. I have tried synchronizing the local time and turning off the firewall, and my computer resources are more ...
0
votes
0
answers
76
views
eth.syncing returns a false but eth.blockNumber does not give the current block number
I used "geth --syncmode light --http --http.api eth,web3" on Ubuntu to sync with the blockchain. After a while I checked eth.syncing and it retuned false. I then tried eth.blockNumber and ...
0
votes
0
answers
23
views
Use multiple SSDs for single geth node
I am setting up a Geth archive node, and it take a lot of space, I have a few SSDs (each 1 tb), I want to configure get in a way that when SSD1 is full it should automatically continue storing new ...
0
votes
1
answer
151
views
Missing personal api in geth JS consoole
so I installed geth. and launched the genesis terminal after initializing my genesis block. I needed to run the personal.newAccount() command, but the personal api is missing. My colleague had the ...
0
votes
0
answers
641
views
Connect Web3.js to Geth in Goerli Testnet
I am trying to connect to a Goerli node using geth in which I have deployed a smart contract via Remix.
In fact I'm trying to call the function of this smart contract which returns a value for example ...
0
votes
0
answers
172
views
GETH: Faster Dirty cache flushing to resist larger syncs on geth crashes (small POA network)
i'm currently running a set of 3x miner nodes, 2x RPC nodes and 1 bootnode on an AWS cluster (Proof of authority nodes) using GETH.
What i've noticed is that due to very small traffic on my network , ...
0
votes
0
answers
109
views
How to connect to Goerli console on Geth?
I'm in the attempt of simply connecting Geth to the Goerli testnet and and being able to use the web3 library in the console on the testnet. I tried opening a Goerli instance in Geth and then ...
1
vote
0
answers
63
views
How to run Ethereum light node by using Geth
after the ethereum merge (POS) how to run ethereum mainnet light node by using Geth, when I try to run light node I'm getting the error "Looking for peers"
1
vote
2
answers
101
views
What do the gas values mean in debug_traceTransaction?
I know the struct logs contain the gasCost and the gas limit for each opcode.
In some cases like CALL, the gas cost appears to be aggregated from the opcodes below it. Also, all of the gas costs (for ...
1
vote
0
answers
59
views
debug_traceTransaction return two CALLS when it was only only one
Here is tx: https://etherscan.io/tx/0x383753b4b7bba7d4bbdd94b1ad0c2f0ab7d6148de8178ad07eaf2cf28f57196d So we can see only one internal transfer to 0xeacd59712b496c9877244da25824b73cb5f6e94c When I ...
0
votes
0
answers
40
views
Under which condition "CALL" opcode does not increase the depth?
I'm currently researching EVM opcode trace data(data fetched from "debug_traceTransaction"), and I meet several cases where the opcode "CALL" does not increase the depth.
I already ...
1
vote
0
answers
219
views
Is it possible to prune ethereum full node without having to stop geth client?
Does anyone know how to prune ethereum geth full node for an application which requires a non-stop running full node ?somehow like the way bitcoin does pruning ( removing older blocks automatically ...
5
votes
3
answers
2k
views
Trying to understand the difference between trace_call and debug_traceCall methods
can someone help me understand the difference between trace_call and debug_traceCall? From what I've read, trace_call is to see the opcodes executed and the gas used for a transaction. debug_traceCall ...
2
votes
1
answer
754
views
Geth has connected to 3+ peers but won't download blocks
I'm trying to run a geth node on my machine. Yesterday I had troubles with finding peers. Today for some reason I'm connecting to many more peers but none of them seem to be willing to serve me any ...
2
votes
0
answers
549
views
HardhatError: HH110: Invalid JSON-RPC response received: missing token when deploying to Görli (Gorli/Goerli) testnet
Summary
When I run yarn hardhat run scripts/deploy.js --network goerli, the following error is displayed in my terminal:
HardhatError: HH110: Invalid JSON-RPC response received: missing token
at ...
0
votes
2
answers
585
views
I request ether from goerli faucet, it seem success, but eth.getbalance return 0
step1: I launch the Geth ➜ geth --datadir rinkeby --rinkeby --syncmode snap
step2: I request ether from goerli faucet from the site: https://fauceth.komputing.org/?address=...
1
vote
0
answers
86
views
Geth node accounts balances and contracts reset to 0 after 30,000 Blocks in POA private network
This is my geth node script
geth --datadir /root/data/data/ --networkid 1567134 --bootnodes enode://...
1
vote
1
answer
19
views
Tie-breaking implementation on geth
I'm analysing geth's source code for my undergraduate thesis, and I'm unable to locate the tie-breaking function, i.e. where blocks are compared and either become canonical or uncle. My final goal is ...
3
votes
0
answers
319
views
Detecting internal transactions given a debug_traceTransaction response
Intro
Hello everyone, I am attempting to filter and recreate internal transactions given a debug_traceTransaction response and the {tracer: "callTracer"} tracer. An example transaction can ...
0
votes
1
answer
134
views
geth will not recognizw --mintme flag
I have been trying to run
geth --mintme however only get flag provided but not defined: -mintme
I have searched the documentation, here https://github.com/etclabscore/core-geth/blob/master/cmd/utils/...
1
vote
0
answers
697
views
How can I connect Geth to Goerli and view accounts (following Goerli Getting Started)
I am trying to connect the Geth Windows client to the Goerli Testnet and view accounts created using Clef (I am essentially following the Goerli Getting Started document, even though the basic ...
0
votes
1
answer
377
views
How to connect AWS node with Metamask?
Sorry its really primitive and silly question but I'm very low on information about this area but from the things I've heard and I've seen I managed to create a node from "https://eu-west-2....
0
votes
1
answer
344
views
web3js getPastlog return empty array
i test web3js by geth,i build private net in local.i try to call getPastlog ,but return empty array.
const Web3 = require("web3");
// const web3 = new Web3(new Web3.providers.HttpProvider(&...
0
votes
1
answer
339
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 ...
1
vote
2
answers
197
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"
0
votes
1
answer
61
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 ...
2
votes
1
answer
265
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.
0
votes
0
answers
58
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 ...
1
vote
0
answers
60
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 ...
2
votes
0
answers
3k
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 ...
1
vote
0
answers
109
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\...
1
vote
1
answer
359
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 ...
1
vote
0
answers
252
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
0
answers
43
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
0
answers
134
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-...
1
vote
0
answers
2k
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
1
answer
103
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
1
answer
167
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,
"...
3
votes
0
answers
343
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
1
answer
2k
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 ...