-
Notifications
You must be signed in to change notification settings - Fork 535
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
Fix unit test for event tracker #935
Conversation
134d806
to
3c60473
Compare
Codecov Report
@@ Coverage Diff @@
## feature/v3-parity #935 +/- ##
====================================================
Coverage ? 53.84%
====================================================
Files ? 163
Lines ? 21566
Branches ? 0
====================================================
Hits ? 11613
Misses ? 9007
Partials ? 946 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
server.TxnTo(addr, "emitEvent") | ||
receipt, err := server.TxnTo(addr, "emitEvent") | ||
require.NoError(t, err) | ||
require.True(t, receipt.Status == uint64(types.ReceiptSuccess)) |
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.
Does it worth it to use require.Equal ?
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.
Description
Fix linters on
v3-parity
branch andTestEventTracker_TrackSyncEvents
unit test, due to the recent changes in theethgo
library (umbracle/ethgo#229).Changes include
Checklist
Testing