-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Reduce gas limit in estimateGas
from 1 Trillion to 10 * block.gas_limit
#6840
Comments
I notice the similarity to the In the latter case, please note that there is no limit on the amount of computation The fact that CTRL-C doesn't kill is definitely a problem, but can probably be solved pretty easily. Right now the IO Workers are waited for on shutdown, where really they could be detached after a certain interval. |
Yes, I came across that error while doing a validatorSet contract, but I also tried it as a normal transaction with the contracts above. Parity "crashed" in both cases. |
I just did some more testing running a ethash network with geth and parity. Sending the transaction through geth does not influence parity. When trying to send the transaction through parity, the cpu usage goes up a lot but does not influence the synching of the client. However it prevent the client from sending any further transactions (tested through ui). Hope this helps narrow down the issue 👍 |
Can you specify more details of the transaction? For example, how much gas was provided, what the gas limit of the chain was at that time, and what the nonce of the transaction and account were? |
Random. I tried it a bunch of times. DId it with dev chain, with ethash and validatorSet (with validatorSet it crashes on chain creation). |
Can reproduce, but just to make a note first:
that's intended behavior I would say. introducing an infinite loop or panic into the consensus code, whether at the Rust or EVM level is going to do that. We can fix Rust issues here, but correctness of ValidatorSets are the responsibility of their authors. Seems that
because it first tries to execute the transaction with We should have a more sensible fallback after |
The high boundary used to be 50 million. Maybe just revert to that? N would be about 10 |
estimateGas
from 1 Trillion to 10 * block.gas_limit
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 0.16 ETH (92.13 USD @ $575.79/ETH) attached to it.
|
Issue Status: 1. Open 2. Cancelled Work has been started. These users each claimed they can complete the work by 8 months, 2 weeks ago. 1) omar408 has started work. O.C Learn more on the Gitcoin Issue Details page. |
is this not done already? https://github.com/paritytech/parity/blob/master/ethcore/src/client/client.rs#L1465 |
@folsen Would you mind confirming if this is already complete? If not, I will make sure this gets back in front of Gitcoiner's who may want to pick it up. 😄 |
closed in #7075 |
Issue Status: 1. Open 2. Cancelled The funding of 0.16 ETH (89.62 USD @ $560.13/ETH) attached to this issue has been cancelled by the bounty submitter
|
Following two contracts are being deployed:
(I stripped the example contracts down to a bare minimum.)
steps to reproduce:
expected-behavior:
Because listB is not mapped in the Delegate contract, parity should throw an error.
actual-behavior:
Parity will run in some sort of endless loop while consuming 100% CPU in the activity monitor and can not be stopped via ctrl+c.
The text was updated successfully, but these errors were encountered: