-
Notifications
You must be signed in to change notification settings - Fork 899
EIP1559 fields #256
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
Merged
medvedev1088
merged 9 commits into
blockchain-etl:eip1559-fields
from
ninjascant:feature/eip1559-fields
Jul 19, 2021
Merged
EIP1559 fields #256
medvedev1088
merged 9 commits into
blockchain-etl:eip1559-fields
from
ninjascant:feature/eip1559-fields
Jul 19, 2021
Conversation
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
medvedev1088
reviewed
Jul 1, 2021
Member
|
@ninjascant could you please check unit tests here, it seems they were broken because of the new fields |
cffls
added a commit
to cffls/polygon-etl
that referenced
this pull request
Mar 25, 2022
This commit is similar to the EIP-1559 pull request for ethereum-etl: blockchain-etl/ethereum-etl#256 Fields added: - base_fee_per_gas (block) - base fee per gas in protocol, which can move up or down each block according to a formula which is a function of gas used in parent block and gas target (block gas limit divided by elasticity multiplier) of parent block. - max_fee_per_gas (tx) - total fee which covers both the priority fee and the block's network fee per gas - max_priority_fee_per_gas (tx) - maximum fee per gas tx senders are willing to give to miners to incentivize them to include their transaction - transaction_type (tx) - an envelope for future transaction types - effective_gas_price (receipt) - a replacement for gasUsed field
12 tasks
charlielewisme
added a commit
to blockchain-etl/polygon-etl
that referenced
this pull request
Dec 19, 2022
* Add fields introduced by EIP-1559 This commit is similar to the EIP-1559 pull request for ethereum-etl: blockchain-etl/ethereum-etl#256 Fields added: - base_fee_per_gas (block) - base fee per gas in protocol, which can move up or down each block according to a formula which is a function of gas used in parent block and gas target (block gas limit divided by elasticity multiplier) of parent block. - max_fee_per_gas (tx) - total fee which covers both the priority fee and the block's network fee per gas - max_priority_fee_per_gas (tx) - maximum fee per gas tx senders are willing to give to miners to incentivize them to include their transaction - transaction_type (tx) - an envelope for future transaction types - effective_gas_price (receipt) - a replacement for gasUsed field * update 'miner' field in web3_response * update existing test data for EIP-1559 fields * add cli tests for EIP-1559 block * Airflow changes for EIP-1559 * Dataflow changes for EIP-1559 * update balances calculation to match ethereum-etl * bump package version * fix effective_gas_price -> receipt_effective_gas_price * delete unused folder `dags/resources/stages/load/` * fix missing `pytz` dependency error * add `block_timestamp` to raw transactions schema * Fix/add ds suffix Based on nansen-ai/evmchain-etl/pull/55 Add ds postfix for load and enrich tasks Add expiration for temp raw tables Remove unused enrichment sql Support load_all_partitions for export files missing EIP-1559 fields Co-authored-by: Jerry <[email protected]>
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.
Add new transaction and block fields related to EIP-1559:
base_fee_per_gas(block) - base fee per gas in protocol, which can move up or down each block according to a formula which is a function of gas used in parent block and gas target (block gas limit divided by elasticity multiplier) of parent block.max_fee_per_gas(tx) - total fee which covers both the priority fee and the block's network fee per gasmax_priority_fee_per_gas(tx) - maximum fee per gas tx senders are willing to give to miners to incentivize them to include their transactiontransaction_type(tx) - an envelope for future transaction typeseffective_gas_price(receipt) - a replacement forgasUsedfield