You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the first block, three keypers try to vote on a new key, but only one succeeds. In the second, the two remaining keypers try again. This time again only one succeeds. The threshold here is two.
The issue seems to be that the first t - 1 transactions take a small amount of gas (just recording a vote). Transaction t will be more expensive since it will store the key in the broadcasting contract. When keypers estimate the gas for their transaction, usually 0 votes have been submitted so far, so all keypers think they need little gas. This turns out to be wrong for the last ones. In the next block, gas estimation succeeds again.
A possible solution might be to hardcode the gas limit. However, I'm not sure if the required gas amount depends on the number of keypers. It might be safer to multiply the estimated gas amount by a certain factor.
However, all of this is not critical. Eventually, the broadcast succeeds, we just have a few failed transactions.
The text was updated successfully, but these errors were encountered:
Here's a used eon key publishing contract: https://gnosis-chiado.blockscout.com/address/0x92b3cAFc417483deBcC1ECDC1d00C476D1638D77
In the first block, three keypers try to vote on a new key, but only one succeeds. In the second, the two remaining keypers try again. This time again only one succeeds. The threshold here is two.
The issue seems to be that the first
t - 1
transactions take a small amount of gas (just recording a vote). Transactiont
will be more expensive since it will store the key in the broadcasting contract. When keypers estimate the gas for their transaction, usually 0 votes have been submitted so far, so all keypers think they need little gas. This turns out to be wrong for the last ones. In the next block, gas estimation succeeds again.A possible solution might be to hardcode the gas limit. However, I'm not sure if the required gas amount depends on the number of keypers. It might be safer to multiply the estimated gas amount by a certain factor.
However, all of this is not critical. Eventually, the broadcast succeeds, we just have a few failed transactions.
The text was updated successfully, but these errors were encountered: