-
Notifications
You must be signed in to change notification settings - Fork 324
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
[state] Remove receipt checking after runAction #3780
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3780 +/- ##
==========================================
+ Coverage 74.47% 75.45% +0.97%
==========================================
Files 269 300 +31
Lines 23925 25413 +1488
==========================================
+ Hits 17818 19175 +1357
- Misses 5174 5255 +81
- Partials 933 983 +50
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
err = acc.Register(reg) | ||
require.NoError(t, err) |
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.
require.NoError(t, acc.Register(reg))
} | ||
blkCtx.GasLimit -= receipt.GasConsumed | ||
ctxWithBlockContext = protocol.WithBlockCtx(ctx, blkCtx) | ||
receipts = append(receipts, receipt) |
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.
remove empty line
@@ -160,16 +158,15 @@ func (ws *workingSet) runAction( | |||
// Handle action | |||
reg, ok := protocol.GetRegistry(ctx) | |||
if !ok { | |||
return nil, nil | |||
return nil, errors.New("protocol is empty") |
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.
could this potentially affect fullsync of past blocks?
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
* remove receipt checking after runAction
* remove receipt checking after runAction
Description
fix #3555
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: