Questions tagged [geth-debugging]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 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 &...
0
votes
0answers
22 views

geth issues while running command

I am running the following command with added parameter miner.gastarget on a linux server since we had issues while developing, and have to increase gas limit sudo geth --ipcpath "/home/...
1
vote
1answer
17 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: ...
0
votes
0answers
59 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
28 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
38 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 ...
0
votes
0answers
15 views

Geth stuck at Allocated cache and file handles

I am running a node that is synced with the Ropsten Testnetwork. Recently I run out of disk space and had to move the entire ~/.ethereum directory to a different disk. Now when I am trying to continue ...
1
vote
0answers
38 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="...
0
votes
0answers
28 views

Where can I get list of peers to add to my geth node

My geth is running with peerCount=3 I want to add more peers to the node. I know using admin.peers() I can add but,from where I can get the list of responding/ good peers? Help is appreciated. ...
2
votes
1answer
64 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 ...
2
votes
1answer
70 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
25 views

How to send Extra data with smart contact transaction on geth server which data I will get after mining?

I have created smart contract in solidity using Remix IDE. I am doing smart contract transaction using geth server and it is working fine. But I want to send some keys (data) on geth server with ...
0
votes
0answers
29 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
46 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
26 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 ...
0
votes
0answers
27 views

Deploy contract in geth, call contract functions using go, no errors and Variable has no value. However test in remix sucessfully

My contract in remix runs ok, and I use truffle to deploy the contract successfully. When I call a contract function to assign values to mapping through the contract address using go, both geth ...
1
vote
0answers
20 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
91 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
75 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
1answer
47 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
102 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
28 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
88 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 ...
1
vote
1answer
107 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 ...
0
votes
0answers
14 views

transferAnyERC20Token on private network is not work,but on dev network is wrok

i start a geth window with this: then deploy a ERC20 contract : pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // Safe maths // -------------...
0
votes
0answers
143 views

Geth contract migration with truffle error: Served eth_getBlockByNumber err=“context canceled”

I have 2 contracts that i want to deploy them on the rinkeby network on geth. Configurations: Operting System: Windows 10 Truffle: v5.0.6 Node v10.13.0 Geth: 1.9.0-unstable Network id: 1 ...
0
votes
2answers
1k views

Truffle compile and migrate not working

I have a geth node running on my laptop. This is the command I used to start geth. geth --port 4321 --networkid 1234 --datadir=./dataDir --rpc --rpcport 8543 --rpcaddr 127.0.0.1 --rpcapi "eth,net,...
0
votes
0answers
22 views

Is there a node-static.json file for swarm node?

As far as I am aware of a static-node.json is a file for P2P geth node connection on disconnect. I have tested that and It works just fine. I was, therefore, wondering if it is possible to have such a ...
1
vote
2answers
402 views

Error: Failed account unlock attempt, is this an attack?

If I use my geth --identity "MyNodeName" --rpc --rpcport "8545" --rpccorsdomain "*" --datadir Users/xxxx/TestChain1 --port "30303" --rpcaddr "127.0.0.1" --nodiscover --rpcapi "db,eth,net,web3,...
1
vote
1answer
32 views

Ethereum transaction fails in simultaneous calls

I am making two calls simultaneous call with a single wallet. First I am making a contract call then I am making a ether transaction call. The first call succeeds, but the next call fails. I got this ...
0
votes
0answers
57 views

How to upgrade Solidity version in geth or ethereum private blockchain

I have built my private blockchain of ethereum and i'm curious to know that how can i upgrade to new version of solidity within geth so that we also can develop smart contract on newer version as ...
0
votes
0answers
23 views

Is it dangerous for my geth node to accept connections from random IP addresses? [duplicate]

I am running a geth node with a number of RPC and WS options available. In looking at the logs, I am seeing attempted connections from random IP addresses. They look as follows: TRACE[02-17|22:19:32....
0
votes
0answers
23 views

Geth losing transactions

I have a couple of applications running on an Ethereum Blockchain hosted on a VM. For some reason, every now and then, I find my VM rebooted... so my blockchain is turned off... There's no problem ...
0
votes
1answer
64 views

Private Ethereum nodes crash after 2-3 hours

Some background: I setup private Ethereum nodes on my local docker system and built some modules that use the web3 Ethereum client to exercise these nodes. I've been testing on it for the last 3-4 ...
4
votes
0answers
105 views

Error trying to synchronize geth clique client after shutdown

I'm working with a private network using geth clique clients. Each time a node shut downs, (after a power cut, or just killing the geth process), if a try to put it to work again, the node can't ...
0
votes
0answers
38 views

Error in establishing the connection between Geth and Api (Invalid JSON RPC response)

For my test project, I have my geth running in main server(rpc port-8117). The api(node.js), which is used to interact with the geth is present in the other system. In the api, I have given the http ...
1
vote
0answers
91 views

Why is my geth node stuck on block 7130891?

My geth mainnet node (version 1.8.21) has stopped on block 7130891. Interestingly, eth.syncing returns false and eth.blockNumber constantly returns 7130891. It was working up until ~24 hours ago. ...
0
votes
1answer
84 views

How to specify node as a mining node or non mining node in geth

As in private network of ethereum there can be nodes who only do mining and the nodes who didn't do mining.so In geth when we create nodes,How to specify nodes that they are mining node or an non ...
0
votes
0answers
149 views

Geth SendTransaction: Insufficient funds for gas * price + value

I have looked at this similar question but I think my problem is a little different. I am using Geth to try and send 0.9 eth from one cli wallet to another, using this command in my bash shell ...
0
votes
1answer
25 views

How does one go about implementing the ContractTransactor interface from the bind package in go-ethereum?

Hey guys thanks in advance! Here is the interface provided by the go-ethereum library in the bin package. I need an example on how to implement this interface please :) // ContractTransactor ...
0
votes
1answer
115 views

How do we extract the content of a hash manifest generated by swarm after a download?

As far I know, whenever we upload a file or a directory using: swarm up File we get back a hash that is the manifest containing the uploaded file. However, I am not sure I do understand how to ...
1
vote
1answer
130 views

Connect different machines with PoA

i want to connect two different machines in a ethereum private network! I did it before with a normal PoW-Consesus but with PoA created by puppeth i cant see some Peers when i try: admin.peers ...
1
vote
0answers
52 views

How to interpret 'peer discarded announcement'?

I am having an private ethereum network consisting of 49 geth nodes running in docker containers. All geth nodes are miners. My topology is following: it's a tree with one root and having 48 leaves. I ...
1
vote
1answer
225 views

TypeError: 'deploy' is not a function

When running the following code within geth console, I am recieving the following error: TypeError: 'deploy' is not a function var storageContractAbi = storageOutput.contracts['contracts/29.sol:...
1
vote
1answer
101 views

automate geth setup: automate addition of enodeInfo url of other peers

I am trying to setup multiple geth nodes on multiple docker containers. I am using a script that can initialize a genesis json file and start geth. After that, I am doing the following manually (and I ...
2
votes
1answer
440 views

Where is the function that rewards the miner address for mining the block?

I have recently been digging into go-ethereum and have 'plugged' my own consensus mechanism which requires a node to solve a simple equation (2+2) etc to seal a block. However, even after letting it ...
1
vote
0answers
35 views

Geth and Private Blockchain Mining

I am trying to set up a private blockchain for the first time with a Geth client. After initializing my custom genesis json file, running the networkid in the console and setting up a couple of ...
0
votes
1answer
101 views

Transaction cannot found when using debug.traceTransaction

I am trying to use the debug.traceTransaction API but got the following error: >debug.traceTransaction("0x3684f071b34da1116282ee88a106a8f2a266d273ef7d8964957f65128fb58d77") Error: transaction ...
0
votes
1answer
30 views

geth account import in gethjs console

I can´t execute geth account import command in gethjs console. What is the comand equivalent?? any help?? Thx
1
vote
1answer
302 views

Creating wallets with Web3j

I generate a code to create wallets for a private chain made with ethereum. String password = unlockAccountParameter.getPass(); ECKeyPair keyPair = Keys.createEcKeyPair(); WalletFile ...