We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9559aaa commit ec4e05fCopy full SHA for ec4e05f
rolling-shutter/keyperimpl/gnosis/newslot.go
@@ -307,7 +307,9 @@ func (kpr *Keyper) getDecryptionIdentityPreimages(
307
gas := uint64(0)
308
for _, event := range events {
309
gas += uint64(event.GasLimit)
310
- if gas > kpr.config.Gnosis.EncryptedGasLimit {
+ // We need to add at least one transaction otherwise the tx-pointer will get stuck
311
+ // if the next tx has a gas limit higher than the configured gas limit
312
+ if gas > kpr.config.Gnosis.EncryptedGasLimit && len(identityPreimages) > 0 {
313
break
314
}
315
identityPreimage, err := transactionSubmittedEventToIdentityPreimage(event)
0 commit comments