-
Notifications
You must be signed in to change notification settings - Fork 12
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: CFE Witnessing, use parent block metadata when decoding events #4331
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #4331 +/- ##
=======================================
- Coverage 72% 71% -0%
=======================================
Files 385 390 +5
Lines 63554 66146 +2592
Branches 63554 66146 +2592
=======================================
+ Hits 45448 47068 +1620
- Misses 15749 16710 +961
- Partials 2357 2368 +11 ☔ View full report in Codecov by Sentry. |
tracing::info!( | ||
"Witnessing transaction_succeeded. signature: {signature:?}" | ||
); | ||
process_call( |
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.
Nit: this used to be properly indented.
…-timeout * origin/main: test: latest_then adapter testing (#4322) Fix: CFE Witnessing, use parent block metadata when decoding events (#4331) chore: remove unused Tailscale access (#4205) chore: clear CDN cache after releasing new apt packages 🪄 (#4325) hotfix: correct binary-subdir for production (#4328) fix: build sisyphos with production profile (#4327) Updated banana mode to adhere to new LP API (#4326) `cf_pool_orders` RPC call can return all Pool Orders (#4315) BTC reorg script for bouncer (#4302) fix: broker endpoint as env var (#4317)
…4331) * fix: use parent block when getting polkadot metadata * chore: addressing PR comments
Co-authored-by: kylezs <zsembery.kyle@gmail.com> Co-authored-by: Martin Rieke <martin@chainflip.io> Co-authored-by: Jamie Ford <jamie@chainflip.io> Co-authored-by: Maxim Shishmarev <msgmaxim@gmail.com> Co-authored-by: Alastair Holmes <42404303+AlastairHolmes@users.noreply.github.com> Co-authored-by: Martin Rieke <121793148+martin-chainflip@users.noreply.github.com> Co-authored-by: dandanlen <3168260+dandanlen@users.noreply.github.com> Fix: CFE Witnessing, use parent block metadata when decoding events (#4331) fix: sweeping before withdrawal (#4337)
Pull Request
Closes: PRO-1017
Checklist
Please conduct a thorough self-review before opening the PR.
Summary
The issue is caused by the
state_getRuntimeVersion
rpc returning the new runtime version when called at the given block, but the events in that block at encoded with the old runtime.