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
9 views

I send my Etc from coinbase to my eth address by accident

I accidentally sent my Ethereum classic to Ethereum address a while ago. I tried everything to recover. Nobody was able to help me or try explaining to me if it’s possible I recently seen something ...
Ali Safieddine's user avatar
0 votes
1 answer
18 views

Smart contract holds USDT

My smart contract holds some USDT token and now if someone knows my Contract address can he/she transfer that USDT to his/her address. Just to clarify the USDT contract has transferfrom function which ...
Nishant Dhamija's user avatar
0 votes
0 answers
17 views

Geth still stucking at synchronizing

I trying to run my eth mainnet node using Geth and prysm but synchronizing process still stucking. Error: INFO [12-05|02:29:14.015] Syncing: state download in progress synced=0.36% state=961....
Xardesso's user avatar
0 votes
0 answers
23 views

What will happened to my WETH TOKEN if the receiver or the network didn't support WETH TOKEN

I send WRAPPED ETH to a wallet/network which is COINS PH WALLET that has supported ETH ADDRESS, i thought WETH and ETH are the same? Now my problem is how can i possible retrieve my TOKEN?
Omar's user avatar
  • 1
0 votes
0 answers
12 views

WETH not reflected on my COINS PH WALLET [duplicate]

Coins ph supported ETH (ERC20) and i thought my WETH TOKEN from my ronin wallet is the same as ETH that's why i transferred it but unfortunately i haven't received it yet, it almost 10hrs pas. Is ...
Omar's user avatar
  • 1
0 votes
1 answer
22 views

EvmError: Revert Foundry

Can anyone help me with a foundry test? I don't know the functions when called from the test are working but for some reason, it's not when I'm importing the contract from the src the test reverting. ...
Saikat Karmakar's user avatar
0 votes
1 answer
16 views

Creating a token for my personal dapp use only

I want to store the money in a smart contract from my user as long the user wants and pay back the user once he asks i will not charge for this service if I store ether in it and the value of Ethereum ...
Nishant Dhamija's user avatar
0 votes
0 answers
9 views

What is the importance of `message Hash` generated from signing using private key

when we are signing a message using our private key what's the use case of the message hash ? Take the example from the eth_accounts module from python. >>> msg = "I♥SF" >>>...
Saikat Karmakar's user avatar
0 votes
1 answer
16 views

How can I fetch the current dollar price of BNB in a Solidity smart contract?

How can I fetch the current dollar price of BNB in a Solidity smart contract? Are there any recommended APIs or secure, decentralized methodologies for this?Is there a way to fetch the dollar price ...
Nishant Patil's user avatar
1 vote
1 answer
33 views

Simpler way of removing bad peers in go-ethereum?

I daily have to remove 5-15 peers that's constantly delivering stale data. I have to manually remove them with admin.removepeer() by using their enode address. Unfortunately, the go-ethereum logs only ...
blockchainmassacre's user avatar
0 votes
2 answers
22 views

Object has no member 'call' when reading smart contract in geth console

I'm following the Storage contract example from the Geth site (https://geth.ethereum.org/docs/interacting-with-geth/javascript-console-contracts) I am unable to call a 'retrieve' function on the ...
Chris's user avatar
  • 101
0 votes
0 answers
10 views

Are there any Go-ethereum forks supporting segwit?

My goal is to create a new token with a different signature algorithm to secp256k1. I would like to use the Go-Ethereum codebase as a starting point. Segwit is a hard requirement for this idea to work ...
Freddie Woodruff's user avatar
0 votes
1 answer
39 views

Error (9322): No matching declaration found after argument-dependent lookup

Here is the file which i try to run test through foundry. //Imports import "forge-std/Test.sol"; import {Portal} from "../src/Portal.sol"; import {IERC20} from "@openzeppelin/...
Internet and Computer Probe's user avatar
0 votes
0 answers
16 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 ...
42piratas's user avatar
  • 111
1 vote
0 answers
17 views

API to get MEV reward recipient from Beacon Chain

Is there any API which I can reliably use to get the MEV reward recipient and block reward for a particular block number as shown on the beacon chain page? I can use the flashbots relay API but this ...
Ramon912001's user avatar
0 votes
0 answers
25 views

geth mainnet peer connection fails

OS: Linux Geth Version: Version: 1.13.5-stable I set bootnodes and started geth, but the peer count did not increase. Adding it using admin.addPeer did not improve it. When I looked at the log, it was ...
ayka98i's user avatar
0 votes
1 answer
28 views

execution reverted despite not writing to the blockchain

I am attempting to read the value of a token on a DEX. When I run the code I get execution reverted despite not writing to the blockchain. Code is reproducible with your own Infura api key. Any ideas ...
pigfox's user avatar
  • 125
0 votes
0 answers
19 views

Geth debug_traceCall logs parsing

So I have a geth client with debug api enabled, I use it with debug_traceCall in order to trace a call. I want to parse generated event logs from the traceCall (without using custom js parser in the ...
user128176's user avatar
0 votes
0 answers
24 views

Ethereum network on TCP vs QUIC protocol (UDP-based) on data transferring

I'm new to the Geth p2p network (devp2p). Devp2p uses both TCP and UDP to run it's networking protocol. The TCP is for the data transferring between each node and the UDP is for nodes discovery. I ...
Nutchanon Chantrasup's user avatar
0 votes
0 answers
37 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, ...
abcuse1111's user avatar
0 votes
0 answers
6 views

How to discover enode addresses on local network (in private test network)

how i can broadcast a enode address to another physical machine on the same network, in geth take for example, this as my enode address: "enode://...
Muhammad Yasir's user avatar
1 vote
0 answers
11 views

Tool for finding from which block Geth is in archive mode?

e.g. I can run geth in archive mode after the 17.000.000 block. I know I can find a wallet address and run getStorageAt manually on multiple blocks to find if my node was archive or not. But is there ...
Ivan Aracki's user avatar
0 votes
1 answer
14 views

Verify signature result return 0x

The return signature result from signMessage method obtained is 0x. How do we handle 0x signer result from frontend? const signer = new ethers.providers.Web3Provider(provider).getSigner(); try { ...
Edwin Chen's user avatar
0 votes
0 answers
10 views

GETH node in snap syncmode transaction receipts are missing until block ~5265000

I'm running GETH in syncmode=snap with the latest image ethereum/client-go:latest. Parameters: --http --http.port=8545 --http.addr=0.0.0.0 --http.vhosts="" --http.api=eth,debug,net,txpool --...
Gregory Vortman's user avatar
0 votes
0 answers
15 views

Storage layout key-value pair generation for pre-deployment of smart contract

Could anybody please let me know how do we generate key-value pair for smart contract pre-deployment purpose. I knows about the storage slot and its value assignment but I would like to know how to ...
RISHANT RAJPOOT's user avatar
1 vote
1 answer
16 views

Geth Archiver node configuration

I am interested in running a Geth archiver node and I noticed in the offical documentation that in order to do that states: Archive nodes are created by configuring Geth's garbage collection so that ...
tthug's user avatar
  • 11
2 votes
0 answers
52 views

web3.exceptions.BadFunctionCallOutput: Could not transact with/call contract function

I deployed simple helloworld code and want to call contract function. It must return "Hello World!" My contract is pragma solidity >=0.5.16; contract HelloWorld { ...
IRE's user avatar
  • 21
1 vote
0 answers
15 views

How to check if a certain hard fork is enabled in your network?

We are running a private PoW (Proof of Work) network on geth I would like to know, how can i determine if a certain hard fork is enabled on my network ? For instance, how will i check if the London ...
Muhammad Yasir's user avatar
1 vote
1 answer
14 views

Is Geth safe to install?

I was wondering is Geth is safe to install, after I am unable to verify the PGP signatures of the developers. I import the PGP keys into my keyring on my PC, but when I proceed to check the signature ...
Murtoos22's user avatar
1 vote
0 answers
94 views

cannot use array as type ptr as argument

I am using Go-Ethereum and I have the following error: abi: cannot use array as type ptr as argument But it does not make any since I don't pass an array. The arguments to routerABI.Pack function ...
pigfox's user avatar
  • 125
0 votes
0 answers
13 views

How to get internal transactions when simulate transactions?

My node is built using flashbots' mev-geth, which provides the eth_callBundle RPC to simulate a bundle transaction (go-ethereum only provides the eth_call RPC, which simulates a single transaction), ...
user2873314's user avatar
0 votes
0 answers
9 views

What's difference between filter for hashes and filter for full transactions?

I'am trying to understand the main difference between a filter for hashes and a filter for full transactions. Can anyone explain me this please?
PandaKungFuu's user avatar
1 vote
1 answer
18 views

Does geth or parity in development chain mode support methods like hardhat_setSorageAt or is there a way to manipulate EOA?

I wan’t to create more sustainable test network for my develop project. Hardhat node gets slowed down with the time and even crashes. I am wondering is there a modified geth rpc client supporting some ...
Hristo Todorov's user avatar
2 votes
0 answers
22 views

Cannot send transaction to smart contract, 'unknown account' even with account added to wallet

I am trying to send a transaction that updates the state of a smart contract. I have locally deployed a ethereum network using Geth and three VM. Here is my JS code: import { Web3 } from 'web3'; ...
robeng's user avatar
  • 21
0 votes
0 answers
5 views

Pool Prices Not Updating in Forked Hardhat Mainnet

Why do pool prices remain static in my forked Hardhat mainnet environment during swaps? What steps can I take to troubleshoot and ensure that pool prices accurately reflect the expected changes in ...
Asim Hayat's user avatar
0 votes
1 answer
28 views

local initialization

I was working in this solidity code. here is the code sample from my project interface customeInterface { function token0() external view returns (address); function token1() external view ...
Biruk Damte's user avatar
0 votes
1 answer
37 views

can eth_call simulate approve and transfer?

I have a solidity contract that contains a logic to approve and transfer balance, swap and flashloan. But when i use eth_call to call my function that perform swap, it reverts. I tried by ...
Biruk Damte's user avatar
0 votes
1 answer
28 views

how can i decode this transactions and see what it contain?

I'm interested in decoding the information within this transaction, which can be found at the following link: https://etherscan.io/tx/0x1013929251687ff7f6a7e2e0c7e3caae6fd93a2342dd5ad9793ff33c5802269f ...
PandaKungFuu's user avatar
0 votes
0 answers
3 views

Requirement for running node on etherum

i'm planning to run a node to do some works for learning such as snipping token, decode transaction from mempool in real-time which low latency? I just wonder which configuration that i need to do ...
dang.pm.IT's user avatar
0 votes
0 answers
18 views

Which consensus algorithm PoW or POS is used for mining a block in latest ganache ethereum client?

Which consensus algorithm have been used in the latest version of ganache for ethereum blockchain simulation.
Narayan Khatri's user avatar
0 votes
0 answers
36 views

Generating Ethereum Address from Mnemonic Seed Phrase in Java

I hope you're doing well. I have a question related to Ethereum address generation in Java. I'm currently working on a project and I need to generate an Ethereum address using a mnemonic seed phrase. ...
Abdul Moiz's user avatar
0 votes
0 answers
23 views

Securing Access to User Balances in Ethereum Smart Contract

I'm working on a Mobile app where users sign up, and they are assigned public and private keys. However, these keys are never actually shared with the users but are stored in the database. I want to ...
Giovanni Cassanelli's user avatar
0 votes
1 answer
42 views

can eth_call() make this?

I have a contract and inside the contract there is a non-payable function that can call externally. this function do some analysis,and calls other payable function than can make real transaction using ...
Biruk Damte's user avatar
0 votes
1 answer
44 views

How to trace transactions without sending them to the network?

I have made several transactions and would like to test/trace them without waiting for the miner to generate a block. And without even sending them to the network without testing. How can this be do ...
SkyN's user avatar
  • 175
0 votes
0 answers
81 views

How to run a PoS private network with geth & lighthouse?

So far for testing contracts, transactions and other dApp experiments I had worked with pre-established testnets (Rinkeby, Goerli etc) now i am tasked with deploying a private PoS network based on ...
Muhammad Yasir's user avatar
0 votes
1 answer
53 views

How to make contract transactions with Web3.py

I am getting error while deploying smart contracts with web3.py. The error says "web3.exceptions.ContractLogicError: execution reverted: VM Exception while processing transaction: invalid opcode&...
Narayan Khatri's user avatar
0 votes
1 answer
103 views

No commission comes from buying and selling on the Goerli network

Deployed the contract on the Goerli testnet via Remix. Added liquidity with the openTrading function. I buy tokens from another wallet through Uniswap, the purchase is successful, but the commission ...
Eugene's user avatar
  • 1
0 votes
1 answer
40 views

Sign_transaction and send_raw_transaction error in Web3.py

I would like to sign_transaction and send raw transaction with custom transaction fields. But I could not do it. Any help will be appreciated. Thanks
Narayan Khatri's user avatar
0 votes
1 answer
21 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": { "...
ft_lauderdale's user avatar
0 votes
0 answers
12 views

Good extensions for both Foundry & Hardhat

Hello i'am looking for good vscode extension for both foundry & hardhat. Thank you for your feedback !
PandaKungFuu's user avatar

1
2 3 4 5
127