Skip to content
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

Add support for Bitfinity Mainnet #65

Merged
merged 4 commits into from
Oct 11, 2024

Conversation

octo-gone
Copy link
Contributor

No description provided.

@octo-gone octo-gone force-pushed the octo-gone/feat/bitfinity-mainnet-support branch from d356049 to 75a9692 Compare September 12, 2024 21:58
sqa/eth/ingest/ingest.py Outdated Show resolved Hide resolved
for tx in block['transactions']:
if tx.get('type') is None:
if 'maxPriorityFeePerGas' in tx:
tx['type'] = '0x2'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have an idea that this assuption about tx type shoul be a part of validation logic and not ingestion

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as i noticed many libraries that provide validation they just try to substitute missing values

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think in this exact case it would be good to move to validation logic. But in general yes!

@tmcgroul tmcgroul merged commit 255a0a2 into master Oct 11, 2024
@tmcgroul tmcgroul deleted the octo-gone/feat/bitfinity-mainnet-support branch October 11, 2024 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants