Skip to main content

Questions tagged [go-ethereum]

Go Ethereum (short: Geth) is a Golang implementation of the Ethereum protocol.

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

Despite having checked the addresses containing verified contracts, no contract code at given address

I have token swapping code. Despite having checked the addresses containing verified contracts I get an no contract code at given address error. The debug data is: router0 ...
pigfox's user avatar
  • 73
0 votes
0 answers
9 views

No "SSTORE" opcode found in the result of debug_traceTransaction()

when I try 'curl -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0", "id": 1, "method": "debug_traceTransaction", "params": [ ...
Lyn's user avatar
  • 1
0 votes
0 answers
19 views

Recovering crypto from ethereum RPC

I have found some of very old RPC credentials on ethereum. I tried to run it or try to recover the balance from it. But the hostname it had is down. If I get other RPC hostnames and same credentials ...
Sameer shahi's user avatar
1 vote
1 answer
40 views

How to do simulation of all/most pending transactions?

everybody. I have a task to search in mempool for transactions like "swap tokens for eth" or any other type where a wallet sells tokens and its transaction can affect token reserves. There ...
solo11's user avatar
  • 11
-1 votes
1 answer
24 views

need some amount of ether for getting the fake ether to learn blockchain [duplicate]

actually i was trying to get the LineaETH on Linea Sepolia test network. when i visited Alchemy(https://www.alchemy.com/faucets/ethereum-sepolia) for same, it is asking for to have some amount of ETH ...
Hardik Jain's user avatar
2 votes
0 answers
16 views

[EIP-155]Why did define the formula of v especially "35" or "36"

I understood the EIP-155 but I'm curious as to how you arrived at this formula. v = CHAIN_ID * 2 + 35 or v = CHAIN_ID * 2 + 36 This is especially about the numbers 35 and 36. (I don't even know the ...
ttt's user avatar
  • 133
1 vote
0 answers
22 views

How does bootnode peering work in ethereum?

I am quite unsure about the peering tendency of the geth peers My question is about geth bootnodes not peering properly - however, instead of leaving the question as it is here, i would like to ...
Muhammad Yasir's user avatar
0 votes
1 answer
27 views

How to Create a New Post on Ethereum Research?

I'm having difficulty locating the option to create a new post on the Ethereum Research forum. Could someone please guide me on where to find the "New Topic" or "Create Post" ...
user137945's user avatar
0 votes
1 answer
32 views

Why does subscribing to new pending transactions also include very old pending?

My service is subscribing to new pending transactions on the memblock and process them accordingly. However it also get very old pending transactions and not just the newest - why is this and is there ...
blockchainmassacre's user avatar
0 votes
0 answers
19 views

How to get a transaction positioned earlier in a block?

Setting a higher priority fee encourages inclusion within a block but it is only loosely related to the position. What is the best way to get a better position? Would it help to submit to Flashbots or ...
jhourback's user avatar
  • 101
1 vote
1 answer
22 views

Trying to send as much of my balance as possible through geth console: "gas required exceeds allowance"

I'm trying to send all of my ETH balance to another address. I try to do this the following way, but always receive an error: [~] $ geth attach ipc:~/.ethereum/geth.ipc WARN [06-21|15:26:14.974] ...
bepaald's user avatar
  • 11
1 vote
0 answers
20 views

Getting oldest/earliest block stored on Ethereum Geth

I would like obtain earliest block that a geth instance has without it replaying to fulfill the history (given in snap sync mode, the instance will attempt to backfill blocks to replay a sufficiently ...
MD Islam's user avatar
2 votes
1 answer
49 views

Is there really 2^256 private key?

There are total 115792089237316195423570985008687907852837564279074904382605163141518161494336 Private key in Etherium. It is less than 2^256 Last private key of eth is ...
Asif Iqbal's user avatar
0 votes
0 answers
14 views

Find the amount of reward the node operator/validator received for including the block in that slot (in GWEI)

I've a GET /blockreward/{slot} API requirement where I need to retrieve information about the block reward for a given slot (integer) in the Ethereum blockchain. JSON Response: status: Whether the ...
R Sun's user avatar
  • 141
1 vote
2 answers
42 views

Is there any multiple private keys for a single address wihin first 2^160 private keys?

There are three different terms: Ethereum private keys are 32 bytes Ethereum public keys are 64 bytes Ethereum addresses are 20 bytes So, it is possible of havng multiple private keys (2^96) for a ...
Asif Iqbal's user avatar
0 votes
1 answer
67 views

Sending bribes to block validators

I've got a question regarding bribes. Is it possible to send a bribe without using block builders' RPCs like rpc.titanbuilder.com? I would like to send a transaction using my own node and land it at ...
Kacper's user avatar
  • 1
0 votes
1 answer
23 views

If I make a USDT withdrawal on the Ethereum network and the last digit of the address was missing, would the transaction fail or will it be lost?

If I make a USDT withdrawal on the Ethereum network and the last digit of the address was missing, would the transaction fail or will it be lost? 0x7d5AB9E259D5B0612C193829378Ce2ed106C4c25 Or ...
Michael Kaczmarek's user avatar
0 votes
1 answer
114 views

CLAIMING MY RETIK TOKENS IF MY META MASK WALLET IS COMPROMISED?

During the presale of Retik I bought 5682 tokens. When it came time to claim Retik only allowed 5% a week for 20 weeks to be claimed. I had purchased Retik and linked my Meta Mask wallet to Retik to ...
Landscaper76's user avatar
0 votes
1 answer
26 views

If i have an etherum address with 8 sequential numbers highlighted, what is the significance of these numbers?

I have an etherum address with 8 sequential numbers highlighted. Can you please explain to me what these 8 numbers are?
Jessica L. Tarver's user avatar
0 votes
0 answers
25 views

Transaction 0x6a19aa91361ce2b93b7515962821540af2aab0ebff0fcdcb90ee252fbe64c107 is pending: true

Any insight into this? I am attempting to deploy a smart contract using Go-Ethereum but it is pending forever until my context timeout. In order to minimize the complexity I use a worthless contract. /...
pigfox's user avatar
  • 73
1 vote
0 answers
20 views

Golang ABI coding Why does coding overflow occur?

The incoming data is the same, why does python output: :...
Ms17's user avatar
  • 11
0 votes
2 answers
56 views

How to mine on a POS private network

For testing purposes, I source-installed go-ethereum and built a private network. After setting up the genesis.json file, I successfully created a private network, but I don't know how to mine the ...
deuk's user avatar
  • 1
0 votes
0 answers
16 views

Docker compiled bytecode not equal to Remix deployed bytecode

Any ideas to what I can do to fix this? I am using Go-Ethereum to compile a deploy a smart contract and the deployment just hangs. The contract compiles and deploys using Remix on Sepolia. The byte ...
pigfox's user avatar
  • 73
0 votes
0 answers
22 views

The deployed contract bytecode does not match the compiled bytecode

first some context, I am building a Go-Ethereum tool that can compile, deploy, verify and finally run some functions on the deployed contract on Sepolia. It works fine with the exception of the ...
pigfox's user avatar
  • 73
1 vote
0 answers
34 views

eth_call late for one block

I am making a token sniper by simulating buying erc314 token def calculate_tax(self): try: self.client.eth.call({ 'nonce': self.client.eth.get_transaction_count(...
Neverwin's user avatar
0 votes
0 answers
8 views

Real-time data of the exchange rate between Ethereum and the US dollar

I want to get the real-time data between Ethereum and US dollar exchange rate as shown in the figure. Is there any way to achieve it?
muxi's user avatar
  • 1
0 votes
1 answer
28 views

Go-Ethereum/core-geth: Consensus engine interface, on changing coinbase via Prepare method

I assumed the coinbase could be altered from Prepare, so that transaction fees could be paid out to a custom coinbase. But, it seems like worker.go simply ignores the header.Coinbase after calling ...
BipedalJoe's user avatar
0 votes
0 answers
21 views

Cant unlock account and find a Txs in the geth through clef(POA private chain in Centos 7)

about the question(POA private ) 1.Cant not using clef's personal.unlockAccount method to unlock the account in the geth,but can use the personal.listWallets method to list the accounts 2.to use the ...
afHu's user avatar
  • 1
0 votes
1 answer
103 views

Geth: can't run eth.Ethereum in light sync mode, light mode has been deprecated

I have just downloaded freshly new version of Geth on Ubuntu and get this error: Fatal: Failed to register the Ethereum service: can't run eth.Ethereum in light sync mode, light mode has been ...
sirjay's user avatar
  • 103
0 votes
0 answers
16 views

Error: *** Deployment Failed *** "IdentityVerification" -- unknown account. Migrating a smart contract on Truffle connecting to Geth nodes

I have created a test blockchain network and created a smart contract for validators to verify members, which I am trying to deploy with truffle. A bootnode serves as the Host on the main network: ...
Matt's user avatar
  • 1
1 vote
0 answers
24 views

Web3.js returning out-of-gas on local node with high --rpc.gascap

I have a local Fantom API node (lachesis) that I start with a really high --rpc.gascap (over 5 billion), which should not be hit in theory. However, when I make an eth_call using Web3.js, it always ...
tim's user avatar
  • 21
0 votes
1 answer
34 views

Runtime ABI-encoded contract method

I am building an application that gets tokens at runtime, I need to transfer some of them and I am attempting to calculate the required gas. Below is a example of the gas calculation code, but it ...
pigfox's user avatar
  • 73
0 votes
0 answers
17 views

IPC Endpoint closes immediately after it opens GETH

I am attempting to establish communication between a bootstrap and member node on the same device using GETH on Windows. Initialising both nodes with my genesis.json file works fine. geth --datadir ...
Matt's user avatar
  • 1
0 votes
0 answers
12 views

tx.from.Store in types.Sender does not leave, CPU 100%

This is a follow up of this post. I nailed it down to the code in the official sync atomic Store() procedure, called by geths types.Sender function. In short, in rare cases Store() never leaves, and ...
flo's user avatar
  • 115
1 vote
0 answers
17 views

High efficiency method to query chain db

I am running two archive nodes, one is using Geth and the other Erigon. I have to run a pretty heavy duty indexing process, and making JSON-RPC calls to fetch the data is not fast enough, even if the ...
Riccardo Perego's user avatar
1 vote
2 answers
41 views

How concurrency works on Ethereum?

If 2 persons call the function deposit in my smart contract at the same time, sending 100 USDC each, and in my deposit function I use balanceOf(address(this)) to check the balance of my contract in ...
Ryan Holanda's user avatar
0 votes
2 answers
25 views

How can I efficiently handle gas costs when deploying Ethereum smart contracts?"

I'm relatively new to Ethereum development and I'm currently working on deploying smart contracts to the Ethereum mainnet. One concern I have is managing gas costs effectively to ensure that my ...
Ian Park's user avatar
0 votes
0 answers
11 views

--syncmode snap vs --syncmode full for debug_traceTransaction

I am finding conflicting information on whether I can use debug_traceTransaction on a geth node synced in snap mode. If yes, what is the difference between full and snap? Would it be faster to fetch ...
Riccardo Perego's user avatar
0 votes
0 answers
6 views

If ethereum is completely p2p then how do we efficiently discover network-scoped (gloal) info like no of peers in the network?

In order to query an info like the no of peers in the network it would take an order of magnitude of O(n2) where n is the no of peers in the network since each peer would sent the req of no of peers ...
Geek's user avatar
  • 31
0 votes
1 answer
34 views

How to Implement a Minimum Funding Requirement in a Solidity Smart Contract?

I'm currently developing a Solidity smart contract named FundMe, where users can contribute funds in Ether (ETH). I'm aiming to enforce a minimum funding requirement of $50 USD equivalent. However, I'...
Kuldeep Sonara's user avatar
0 votes
0 answers
12 views

Start Native address took my Ethereum instead of my Remix bot [duplicate]

After watching a youtube video on a certain ethereum bot I followed the instructions and somehow found that the money was sent to some start native address and wasn't being used by my bot. I was ...
Graham Losken's user avatar
0 votes
1 answer
20 views

How do I find my Ethereum I bought in 2018... I think I took it offline at the time. I have the address I seem to have transferred it to

Total crypto dummie here. I bought some Ethereum in 2018, and remember using MetaMask to try and take it offline. I haven't the faintest idea what I did after it went to MetaMask...but this is the ...
Sophie's user avatar
  • 1
0 votes
1 answer
105 views

Execution reverted using go-ethereum

When im using the remix ide (and in js with web3 lib) to interact with the smart contract there's no problem, but in golang with geth always return me "execution reverted" in call function (...
Victor Bernardes's user avatar
1 vote
1 answer
44 views

Abigen from flattened contract files

I have a file that is composed of 5 imports, too much code to drop here so I will illustrate my question with a very simplified example. My Test.sol file: // SPDX-License-Identifier: MIT pragma ...
pigfox's user avatar
  • 73
1 vote
1 answer
43 views

How to setup a private GoEthereum network

I'm studying Ethreum by creating by own private ethereum network. I have three basic question. I will give as much information as I can to help to get great responses. My network setup is very simple: ...
JDN's user avatar
  • 11
1 vote
0 answers
69 views

abi: attempting to unmarshal an empty string while arguments are expected

After updating go-etherum from github.com/ethereum/go-ethereum v1.10.22 to v1.13.15 My contracts started printing out error abi: attempting to unmarshal an empty string while arguments are expected ...
Mikheil Janiashvili's user avatar
1 vote
0 answers
25 views

Ether Presale json file extracting different ethereum address

I bought Ethereum using three wallets and was able to access two of them, but I can't access the last one. When I opened the third JSON file, I could see the Ether address. I also checked on Etherscan ...
TCR's user avatar
  • 11
0 votes
0 answers
15 views

Ethereum Private Network Upgrade Help

I want to mimic the Dencun upgrade on my private network which is currently running the Shanghai version. I want to understand how to upgrade the ethereum network without stopping it / restarting it / ...
Vidhan Mangla's user avatar
0 votes
1 answer
41 views

Merkle Patricia Trie pad and prefix concept

I understand <> it is used for empty slots, rootHash is 16 for hex. and hashB placed 5th position because of '4', but how does perhaps padding work? i.e. in hashA: 20, hashB: 00, hashE: <17&...
RASEL MAHMUD's user avatar
0 votes
0 answers
24 views

public key recovery failed intermittently with go-ethereum

I am trying to recover public key from signature and digest. below is my code. It's failing sometimes with error recovery failed package main import ( "crypto/ecdsa" "crypto/...
Pankaj Kumar's user avatar

1
2 3 4 5
128