v1.3.0 update#59
Open
rvagg wants to merge 6 commits into
Open
Conversation
Union ABI covers v1.2.x (mainnet) and v1.3.0+ (calibnet) FWSS deployments. PricingUpdated retained as legacy. Storacha on v1.2.x.
Per-event-row tx_from/tx_value/gas_used/effective_gas_price dropped; canonical source is the tx_meta view (one row per tx, backed by ponder_sync). All gas and sender queries now JOIN tx_meta USING (tx_hash). fp_burn_for_fees loses caller and fil_burned for the same reason. timestamp index entries swapped to block_number across all event tables (uniform-distribution range scan over a unique key suits the planner better and agents reason in epochs anyway).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Whoops: I thought I had this up. My foc-observer instance already did a switch-over to this. Re-indexing was fairly painless and quick because it gets to reuse the existing data in Ponder since I haven't asked it to fetch anything new.
cc @Kubuxu @TippyFlitsUK
Adapts to FWSS 1.3.0 changes - new event, a rename, and new protocol knowledge needed for the system context.
This also pulls out txFrom, txValue, gasUsed, effectiveGasPrice from each of the tables and leaves the txHash, telling agents how to join to the ponder transactions table for this information.