-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
return when writing under protected key #3520
Conversation
@@ -225,6 +227,7 @@ func NewSmartContractProcessor(args ArgsNewSmartContractProcessor) (*scProcessor | |||
incrementSCRNonceInMultiTransferEnableEpoch: args.EnableEpochs.IncrementSCRNonceInMultiTransferEnableEpoch, | |||
createdCallBackCrossShardOnlyEnableEpoch: args.EnableEpochs.MultiESDTTransferFixOnCallBackOnEnableEpoch, | |||
optimizeGasUsedInCrossMiniBlocksEnableEpoch: args.EnableEpochs.OptimizeGasUsedInCrossMiniBlocksEnableEpoch, | |||
saveKeyValueUnderProtectedErrorEnableEpoch: args.EnableEpochs.RemoveNonUpdatedStorageEnableEpoch, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be used flag RemoveNonUpdatedStorageEnableEpoch for saveKeyValueUnderProtectedErrorEnableEpoch ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as discussed, it is wise to use them together. By using 2 different flags with different values we might get into some problems -> correctly executed transactions might get rejected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
Codecov Report
@@ Coverage Diff @@
## master #3520 +/- ##
==========================================
- Coverage 73.88% 73.88% -0.01%
==========================================
Files 582 582
Lines 74579 74585 +6
==========================================
+ Hits 55105 55109 +4
- Misses 15071 15073 +2
Partials 4403 4403
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added return if error when writing under protected key