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
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
I'm not sure this is very important in this PR #6106 I see 0.33 weak submission per era.
Moreover weak submission will no longer take weight because it will be refund with #6032
Thus I think it doesn't waste too much.
Also I don't see why there is a security flag here.
Yeah now with proper weight refund perhaps this is less of a security issue. But still, no change allows each block author to submit any potentially a garbage solution with no consequence. Even if we refund, this is taking everyone's time. Moreover, they can submit a garbage solution that will not be refunded, and will be rejected due to an issue at the very end (i.e. bogus score). This allows validators to mess with the chain with no consequence, and again waste everyone's time.
Still, you can argue that if they do this, then they will have less weight to pack other transactions in the block, hence they will gain less profit. But I don't think this is a strong enough guarantee. Panic would disincentivize this because they lose their entire authoring block.
I won't run into this issue, but I think it should be closed long term once we have a stabilised offchain phragmen pipeline and it has been battle tested.
Activity
gui1117 commentedon May 22, 2020
I'm not sure this is very important in this PR #6106 I see 0.33 weak submission per era.
Moreover weak submission will no longer take weight because it will be refund with #6032
Thus I think it doesn't waste too much.
Also I don't see why there is a security flag here.
kianenigma commentedon May 22, 2020
related: #4517 (comment)
Yeah now with proper weight refund perhaps this is less of a security issue. But still, no change allows each block author to submit any potentially a garbage solution with no consequence. Even if we refund, this is taking everyone's time. Moreover, they can submit a garbage solution that will not be refunded, and will be rejected due to an issue at the very end (i.e. bogus score). This allows validators to mess with the chain with no consequence, and again waste everyone's time.
Still, you can argue that if they do this, then they will have less weight to pack other transactions in the block, hence they will gain less profit. But I don't think this is a strong enough guarantee. Panic would disincentivize this because they lose their entire authoring block.
I won't run into this issue, but I think it should be closed long term once we have a stabilised offchain phragmen pipeline and it has been battle tested.
bkchr commentedon May 23, 2020
Panic where? In the extrinsic?
kianenigma commentedon May 24, 2020
yeah.
bkchr commentedon May 24, 2020
We don't have a mechanism that invalidates a full block on panic of an extrinsic ^^
kianenigma commentedon May 25, 2020
I think what Gav meant was during import: a transaction panics in block import, then this invalidates the whole block no?
bkchr commentedon May 25, 2020
Ahh yes that is correct.
kianenigma commentedon Jun 2, 2020
Once #6173 is merged, if we no longer have invalid unsigned solutions, this will be patched thereafter.
kianenigma commentedon Jun 23, 2020
I've been doing more analysis after #6173 and we seem to be doing well. I will soon fix this.