Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
91 views

How to decode internal transaction in mempool

i'm researching on how mev works. I know that they are watching all pending transactions, then define function that is swap on dex and calculate amount to do sandwitch. However, when user do a swap, ...
dang.pm.IT's user avatar
2 votes
0 answers
34 views

How does an Ethereum PoS node software resolve social consensus?

As a new user, when I join the Ethereum network and want to know what the consensus chain is, I have to rely on social consensus, right — like for example I get two completely different states and ...
Ini's user avatar
  • 464
2 votes
0 answers
69 views

Go-ethereum full node uses 32 GB memory

My Go-ethereum full node constantly uses 98% of the available 32 GB RAM on my Windows computer, is this normal? Go-ethereum specs says that you only need 16 GB. Should I buy more memory or is Go-...
blockchainmassacre's user avatar
0 votes
3 answers
341 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
1 vote
1 answer
997 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
32 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
1 answer
129 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
59 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
103 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
1 answer
246 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
1 vote
0 answers
99 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
1 vote
1 answer
134 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
  • 167
1 vote
0 answers
117 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
1 answer
306 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
1 answer
92 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
19 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
60 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
1 vote
1 answer
105 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
  • 23
2 votes
0 answers
267 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
51 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
38 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
269 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
  • 167
1 vote
0 answers
13 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
48 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
3 votes
0 answers
103 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
  • 41
0 votes
1 answer
40 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
195 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
189 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
45 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
67 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
163 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
1 vote
0 answers
540 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
152 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
176 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
269 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
57 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
1 vote
0 answers
25 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 vote
0 answers
33 views

Getting `Fatal: Option "nodekey": invalid character '"' at end of key file` when trying `geth --nodekey /path/file`

I generated a key-pair with geth account new --keystore and now I'm trying to attach it to a light node with geth --nodekey, but I'm getting the error Fatal: Option "nodekey": invalid ...
42piratas's user avatar
  • 111
1 vote
1 answer
53 views

how to revert transaction excuted by low level call

Hello ethereum community. I'm experimenting with low level calls and i want to revert the transaction made by low level call, if i didn't get the desired result. Is it possible? (bool success, ) = ...
Biruk Damte's user avatar
0 votes
3 answers
559 views

Despite calculation I get contract creation code storage out of gas

My smart contract is deployed on https://sepolia.etherscan.io/tx/0x1b1742a3ff2ac160d5f245ab91828fcc56a803cb3826b6cbdb9f3cb2f293ba66 Once deployed I get contract creation code storage out of gas error ...
pigfox's user avatar
  • 167
0 votes
1 answer
17 views

how to chech the address that buys the highest amount on a contract

What is the process for identifying the address that has made the largest purchase amount within a specific contract?"
trodd Highzik's user avatar
1 vote
1 answer
216 views

Why Golang was chosen to implement ethereum protocol?

I know there are many implementations of the Ethereum protocol, i.e. the first implementation in Python, or other implementations using C++, C#, and Java. As go-ethereum has gained lots of attention ...
Ehsan Khodarahmi's user avatar
1 vote
0 answers
114 views

Best way to get validator address/fee recipient address for a block

Is there any other way to get the proposer fee recipient address other than using flashbots relay API? Relay API isn't thorough and for certain blocks, you can miss out on getting the proposer fee ...
Ramon912001's user avatar
0 votes
2 answers
62 views

Deploying contracts at same address

// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; /* Let's say Alice can see the code of Foo and Bar but not Mal. It is obvious to Alice that Foo.callBar() executes the code inside Bar.log(). ...
kumar's user avatar
  • 71
1 vote
1 answer
99 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 ...
stopiky's user avatar
  • 11
0 votes
1 answer
52 views

Mismatch in `accessList` between Geth and Nethermind

Access Lists were introduced in https://eips.ethereum.org/EIPS/eip-2930, and one of the design decisions was to support duplicates "because it maximizes simplicity, avoiding questions of what to ...
Lautaro Emanuel's user avatar
0 votes
0 answers
83 views

approve spender to swap

i'm trying to swap using 1inch aggregator api and when i try to swap, it says "Not enough allowance. Amount: 4600000000000000. Allowance: 0. Spender: 0x1111111254eeb25477b68fb85ed929f73a960582&...
Biruk Damte's user avatar
1 vote
0 answers
33 views

Is there any way to read block attestation from inside a solidity smart contract?

Are there any precompiles, or any other native ways to get block attestation data from ETH2 POS inside a solidity contract?
Bruce's user avatar
  • 997
0 votes
1 answer
693 views

are there other ways to send bundle of transactions without using flashbot?

I am wondering if there are some ways to send bundle of transactions without using flashbot? I am not sure how this area works, would you please give me practical sources to learn ?
DHC's user avatar
  • 387
0 votes
1 answer
33 views

Dose contracts must be deployed?

I see js programmers compile and call solidity contract without actually deploying it using hardhat and/or similar tools. Do they really can use the contract without deploying on the chain(like swap ...
Biruk Damte's user avatar

1
3 4
5
6 7
134