Skip to content

Store EIP1559 transaction information#788

Merged
Uxio0 merged 1 commit intomasterfrom
support-eip-1559
Apr 20, 2022
Merged

Store EIP1559 transaction information#788
Uxio0 merged 1 commit intomasterfrom
support-eip-1559

Conversation

@Uxio0
Copy link
Copy Markdown
Member

@Uxio0 Uxio0 commented Apr 19, 2022

@Uxio0 Uxio0 requested review from a team, fmrsabino, luarx and rmeissner April 19, 2022 12:01
@Uxio0 Uxio0 force-pushed the support-eip-1559 branch from 1eb8a2e to c3ee186 Compare April 19, 2022 12:04
- Closes #307
- Add method to fix old transactions
@Uxio0 Uxio0 force-pushed the support-eip-1559 branch from c3ee186 to 0053add Compare April 19, 2022 12:19
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.1%) to 88.011% when pulling 0053add on support-eip-1559 into ca5fb5c on master.

Comment on lines +25 to +27
self.style.SUCCESS(
f"Fixing tx with tx-hash={ethereum_tx.tx_hash}"
)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should we use the logger instead here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No, for command line scripts you should do it this way: https://docs.djangoproject.com/en/4.0/howto/custom-management-commands/

)
)
ethereum_txs.append(ethereum_tx)
if len(ethereum_txs) == 500:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why 500?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Arbitrary, to prevent overloading the nodes

@Uxio0 Uxio0 merged commit 1829641 into master Apr 20, 2022
@Uxio0 Uxio0 deleted the support-eip-1559 branch April 20, 2022 15:35
@github-actions github-actions bot locked and limited conversation to collaborators Apr 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add proper support for EIP1559

3 participants