Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [geth-debugging]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
77 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 ...
0
votes
1answer
26 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 ...
1
vote
0answers
111 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 ...
1
vote
0answers
117 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
2answers
2k views

MetaMask cannot send transaction on local network

I'm running Geth in dev mode locally, like this: geth --ipcpath test-chain-directory/geth.ipc --datadir test-chain-directory --dev --rpc --rpccorsdomain "*" console I can send a transaction from the ...
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
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
1answer
65 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 ...
0
votes
1answer
111 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 ...
0
votes
0answers
15 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
2answers
155 views

why geth.log too large

geth.log is 84.73GB, so that mobile phone complains no disk space left. Would the geth.log be mandatory to generate?
1
vote
2answers
446 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,...
0
votes
0answers
147 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
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
1answer
71 views

Get the amount of Smart Contracts hosted on the ETC blockchain

I have a couple of questions: How can I determine the amount of Smart Contracts that are hosted on the ETC blockchain? Of these smart contracts, how many of them have been verified? I guess geth is ...
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
62 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 ...
2
votes
1answer
111 views

geth web3 api with web3 version 1?

Due to security concerns with rpc, I'd like to tunnel into my geth instance and run ipc commands. However, all the scripts I've written use version 1 beta of web3, which geth does not yet support. I'...
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 ...
1
vote
1answer
119 views

go-ethereum as daemon process / service on Ubuntu with Toml file

Created Daemon process from the Link The parameter in the config.toml Configuration file is not working in the System Service and geth configuration is working with default configuration. [Service] ...
3
votes
1answer
355 views

Creating new account from web3 showing error

while creating new account from angular using web3 personal.newAccount function() undefined import { Injectable } from '@angular/core'; import { User } from './login/user'; const Web3=...
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
43 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
100 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
96 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
156 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
126 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
276 views

Simple single-node geth test network not mining

I have set up a test node with geth as described here. I followed the instructions exactly, except: I created a second account with personal.newAccount("password") and so use miner.setEtherbase(...
1
vote
1answer
142 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
56 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 ...
9
votes
2answers
1k views

Persistent “deep transaction reorg” whilst syncing full geth node

Whilst syncing a new full node using the geth comand "geth --syncmode full", every other line after a few hundred blocks I see the following: WARN [12-02|02:30:46] Skipping deep transaction reorg ...
1
vote
1answer
237 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
110 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
508 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
117 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
31 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
325 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 ...
0
votes
1answer
376 views

How long does it take to sync Rinkeby network with geth?

I am syncing the Rinkeby network with geth geth --rinkeby --rpc --rpcapi="personal,eth,network,web3,net" --ipcpath="~/.ethereum/geth.ipc" When I run eth syncing in geth console, it is showing { ...
0
votes
2answers
231 views

How to let evm execute one function from a smart contract and receive outputs in a handy way?

I am a newbie to this field so I apologize in advance if this seems trivial. Say I have written some code in Solidity, for instance something like the quick sort code (https://gist.github.com/subhodi/...
1
vote
0answers
367 views

Understanding geth trie node pruning

My understanding of Geth's trie pruning is based off this geth v1.8 release blog post: https://blog.ethereum.org/2018/02/14/geth-1-8-iceberg%C2%B9/ Trie pruning is enabled on all --syncmode ...
1
vote
0answers
313 views

Bad Block Error: Insufficient balance to pay for gas

I was syncing on full mode on my Ubuntu OS but when I was approaching the nearest latest block, I was shown this error: ########## BAD BLOCK ######### Chain config: {ChainID: 1 Homestead: 1150000 DAO:...
0
votes
1answer
228 views

Ropsten Network - geth console does'nt give updated blocknumber

I have used the command : geth --testnet --syncmode "fast" --rpc --rpcapi db,eth,net,web3,personal --cache=1024 --rpcport 8545 --rpcaddr 127.0.0.1 --rpccorsdomain "*" --bootnodes "enode://...
1
vote
1answer
62 views

Starting multiple private network in one computer causes Fatal: Error starting protocol stack: Access is denied

Question: How to fix Fatal: Error starting protocol stack: Access is denied? Here is the steps that I try: geth --datadir block1 init /d/nodes/_ethereum/genesis.json geth --datadir block1 --...
1
vote
1answer
215 views

All geth nodes getting the same enode id

I have a script to setup a geth Ethereum node which has worked well for me most of the time. (been using it for the last 2-3 weeks). I have used it regularly to setup multiple geth instances on ...
1
vote
0answers
68 views

Ethereum geth node sync problem

I have to ethereum geth node runing as testnet syncmode=full on aws both running on same hardware and bandwidth why one is syncing very slow and other one is syncing fast? and if I will stop the ...
1
vote
0answers
126 views

Why is my private ethereum network stuck at “Recalculated downloader QoS values” while trying to mine?

I'm using Mac OS High Sierra version 10.13.6 My customgenesis.json file is this. {"config": { "chainId": 15, "homesteadBlock": 0, "eip155Block": 0, "eip158Block": 0 },"nonce": "0x0000000000000042","...
1
vote
1answer
173 views

Geth Error: Cannot access contractAddress from the transaction receipt

I am trying to instantiate contracts via the geth console. Here are the instructions I am running: var bytecode = "0x6003600501600202600055" var createTx = eth.sendTransaction({ from: eth.accounts[...
0
votes
1answer
56 views

Instrumenting GETH: breakpoints on evm never hits

I'm trying to instrument the GETH virtual machine, and in order to do so I'm studying the geth code running it on debug. I expected that, during syncing, EVM is used to compute state of each single ...
0
votes
1answer
21 views

Which interface for GETH is the most ideal to learn? How do they differ?

In trying to learn Ethereum and its inner working, i came a crossed https://www.ethereum.org/cli . It states... "Geth and Eth are multipurpose command line tools that run a full Ethereum node. They ...