-
Notifications
You must be signed in to change notification settings - Fork 15
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: duplicate logging #3939
fix: duplicate logging #3939
Conversation
PRO-810 Dot finalised logging duplicates log message
|
ProxyAdded(ProxyAdded), | ||
Transfer(Transfer), | ||
TransactionFeePaid(TransactionFeePaid), | ||
ProxyAdded { delegator: AccountId32, delegatee: AccountId32 }, |
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.
had to do this so the events could be Clone
Codecov Report
@@ Coverage Diff @@
## main #3939 +/- ##
=====================================
- Coverage 73% 73% -0%
=====================================
Files 367 367
Lines 56051 56047 -4
Branches 56051 56047 -4
=====================================
- Hits 40649 40635 -14
- Misses 13343 13349 +6
- Partials 2059 2063 +4
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
* fix: duplicate logging * chore: remove unnecessary clone
* fix: duplicate logging * chore: remove unnecessary clone
…on-integration * origin/main: fix: scale encoding skip phantom data (#3967) chore: make platform team code owner of CI settings.toml and localnet (#3957) fix: prefer finalize_signed_extrinsic in engine (#3956) fix: CanonicalAssetPair encoding issue (#3958) chore(bouncer): Update sdk to 0.0.40 (#3945) fix: tweak cli generate-keys output (#3943) chore: add `preinst` script unit tests 🧪 (#3942) Better LP/Broker API RPC Errors (#3931) fix: update substrate ref to use Kademlia fix (#3941) doc: update funding readme with redemption restrictions (#3914) feat: PRO-474 broadcast safe mode (#3902) feat: more forgiving dot address parsing (#3938) fix: duplicate logging (#3939) feat: new lp interface (#3886) # Conflicts: # Cargo.lock # state-chain/cf-integration-tests/Cargo.toml # state-chain/cf-integration-tests/src/authorities.rs
Pull Request
Closes: PRO-810
Checklist
Please conduct a thorough self-review before opening the PR.
Summary
See linked issue. This fixes it. Basically the underlying stream was being created as many times as there were active epochs, but now we just clone a channel of the underlying stream, so the logging (or any other work on the chainsource) isn't done multiple times.