Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
wphan
@wphan
has anyone used the evm t8n tool under github.com/ethereum/go-ethereum/cmd/evm? i'm wondering how the pre-state is loaded, is it from a local full node? I'm trying to see how a tx will modify the state given a state snapshot before broadcasting it
mintblock
@mintblock

hi question - I downloaded the new image from docker when I run my code against it i get --
File "/usr/local/lib/python3.8/site-packages/eth_abi/decoding.py", line 305, in read_data_from_stream
raise InsufficientDataBytes(
eth_abi.exceptions.InsufficientDataBytes: Tried to read 32 bytes. Only got 0 bytes

when I use infura i do not get this issue? I googled ans see other had this problem but can not find a resolution? thank you

William (Wuqi) Aaron Cheung
@Troublor

has anyone used the evm t8n tool under github.com/ethereum/go-ethereum/cmd/evm? i'm wondering how the pre-state is loaded, is it from a local full node? I'm trying to see how a tx will modify the state given a state snapshot before broadcasting it

t8n reads state from json files provided by —input.alloc and —input.env flag, as depicted in the doc

shahbaaz lokhandwala
@shahbaazlokh
hi guys,
i am trying to understand how dag file is made, i am using geth command line to make one, ./geth makedag 0 ./cache , the output file is in binary so cant read, can anbody explain how a dag file is made using blocknumber
Nicolas Tsagarides
@nicexe
can anyone on rinkebyadd my enode? enode://89e28cf2378a54986985218306fcb98d79e70249e299ee96baa73eca4510a8eba819e0ae57c3fdd3f28d6110d0e7b80bb4b368555eb2334e91fc1d886cc46a9b@82.102.44.54:30303
DeepalUsyD
@DeepalUsyD
Hi guys,
What would happen if the same smart contract is deployed to ethereum multiple time? Say a transaction would have the same byte code in the input field. Would there be execution issues?
I bombarded an ethereum testnet with the same smart contract creation tx, but I encountered drops. For example, for 6000tx (same smart contract creation tx), 4500tx were executed but 1500tx were dropped.
François-René Rideau
@fare
Bombarding does that. You need a client that tracks down transactions and nurses them to completion.
François-René Rideau
@fare
(such as the one I wrote in Gerbil-Ethereum.)
Also, if the contract has parameters, they will affect what the contract looks like
DeepalUsyD
@DeepalUsyD
@fare Thanks a lot for your reply. Just to elaborate further and clarify, I used one account per smart contract creation tx. So it is probably not a nonce issue. The contract is just a simple Hello World. I send smart contract creation txs, using web3.sendSignedTx. The smart contract creation raw txs are created using ethereumjs-tx. I track whether the smart contracts were deployed by checking the tx receipt to see if there is a contractAddress field. There were some smart contracts created but there were drops as well when repeatedly trying to deploy the same smart contract but with separate accounts. What do you mean that the geth client needs to nurse the txs to completion? (This problem didn't happen with normal non smart contract txs, all txs were executed and persisted - i.e. written to the DB)
François-René Rideau
@fare
it's not just the nonce on your side, it's the nodes dropping excessive traffic, and then you must re-send.
lots of things can go wrong, and you must retry until it works.
François-René Rideau
@fare
can you see in your logs how far the transactions went and where they failed?
if you re-send them, does your local node think they've already been sent?
and if you send them to the next node over, does it agree?
did you send enough gas, at a high enough price?
François-René Rideau
@fare
@DeepalUsyD I'm curious where your "bombardment" failed.
DeepalUsyD
@DeepalUsyD

@fare I am not aware how to check that in the logs, how would I do it?. The EVM is based of https://github.com/lightstreams-network/lightchain

If I resend the same smart contract creation tx, it just says nonce too low because I assign a nonce of 0 to all raw txs since each tx is sent from a unique account

I tried with a private net of 4 nodes. If I send to the second node it is the same issue.

Well if there was a gas issue, web3 would return an error like insufficient gas price, or gas too low when txs are sent using sendSignedTransaction, would it not?

The bombardment, did not fail entirely. There were smart contracts created because I got tx receipts with the contractAddress field. Actually, when I sent 6000tx, I got 4500tx with a receipt that had contractAddress field. So I am assuming 1500tx failed probably

François-René Rideau
@fare
Did you fill some buffers? If you re-send the transaction, does the node tell you it's already seen it, or not? Have you enabled logging on the node? On your client? [I couldn't find a good logging option on the node, so instead I've taken to log all requests and responses on the client side]
Is there a common pattern to the failing functions? For instance, I once had a problem that only showed when the first byte of an address was 0 or some such.
DeepalUsyD
@DeepalUsyD
@fare No I haven't logged. I'll do that and get back to you. There doesn't seem to be a common pattern.
DeepalUsyD
@DeepalUsyD

Is there a common pattern to the failing functions? For instance, I once had a problem that only showed when the first byte of an address was 0 or some such.

@fare What do you mean? You had a problem when the first byte of the sender account address was 0, for smart contract creation tx?

Eth-Gitter-Bridge
@Eth-Gitter-Bridge
<Jochem Brouwer> Is there a RPC method (don't care in what module, admin or debug is fine) to query GetNodeData (of ETH protocol)? @M H Swende (holiman)
0x...
@deepanshutyagi
rinkeby faucet is donw
down*
can fund my addresses
can someone send me some rinkeby eth
0x3cE0a9cf4460CA24C5A7A2E83f6fA8D948B7BD2b
Milos
@milonite
I'm having a little confusion trying to running geth ropsted from scratch with a config file https://ethereum.stackexchange.com/questions/86977/run-geth-with-a-configuration-file anybody has a hint on this?
Eth-Gitter-Bridge
@Eth-Gitter-Bridge
<M H Swende (holiman)> @Jochem no
Milos
@milonite
So, as far as I understood, if I want to run ropsten with just --config conf.toml (no --testnet) I would need to write the genesis block in the config file. Is this correct?
王光辉
@jingniao
ropsten testnet is fork? different height for geth and openethereum
DeepalUsyD
@DeepalUsyD
image.png
@fare So it seems to be a nonce and a gas issue. Why it is a nonce issue beats me as I am using a tx per account. It gives the nonce too low error at the EVM. Then I disabled the precheck that check for nonces in the TransitionDb function at state_transition.go. Then those txs hit a useGas issue from the useGas() function. As a result they are reverted.
I use the above parameters to create raw tx, pre sign then and bombard the testnet with them.
ccolorado
@ccolorado
Any idea why Gwei prices are crazy on Testnets? Lots of empty blocks also
AusIV
@AusIV
Lots of tools use the Mainnet price for gas even on testnets. I don't think it's necessarily the case that lower paying transactions wouldn't get included, but people are paying higher prices because they're paying based on mainnet
ccolorado
@ccolorado
Yeah that is my guess. but also there was a re-org yesterday
tadhg
@riordant
Hey guys, is it possible to specify the pivot block during fast sync? Along the lines of this question https://ethereum.stackexchange.com/questions/10152/how-do-i-manually-configure-the-geth-fast-sync-pivot-block (question is old, wondering if this has changed)
nikki swa
@sivaswati_twitter
rinkeby faucet is donw
down*
can fund my addresses
https://faucet.rinkeby.io/
can someone send me some rinkeby ethers
Soumya Ghosh Dastidar
@gdsoumya
I am writing a smart contract where I am storing data in map, will the tx fee and gas increase for txs as the size of the map increases?
Lenoons
@Lenoons2_twitter
Hello
My transaction on ether scan is pending since 10hours i suppose i made a mistake with the gas fes
Is there any solution to complete the transaction ?
DeepalUsyD
@DeepalUsyD
I think you should send the same transaction again with the same nonce and a higher gas price
This should replace the pending I think
ccolorado
@ccolorado
How can I figure out what is going on with ropsten? They did reorg on friday and now etherscan says last block was mined 29 minutes ago
Screenshot_20200831_172401.png
baizetianxia
@baizetianxia
hello, everyone. When the Ethereum node is updated, if the update is a new hard fork, the chain configuration information of the new version node includes the hard fork configuration information, but the old node chain configuration information does not. So after replacing the old node with the new node, do I have to synchronize the block data from the beginning? Can I just update the chain configuration information of the database and keep the synchronized blockchain data?