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

use max_priority_fee 0 in case of Sei #681

Closed
wants to merge 2 commits into from

Conversation

zavelevsky
Copy link
Contributor

No description provided.

gas_price = web3.eth.gas_price # send `eth_gasPrice` request
max_priority_fee = web3.eth.max_priority_fee # send `eth_maxPriorityFeePerGas` request
max_priority_fee = 0
if not avoid_max_priority_fee:
Copy link
Collaborator

Choose a reason for hiding this comment

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

on the assumption that the request fails quickly, why don't we just do try / except and return fee=0 in case it fails with this particular error? avoids the change in the other file

Copy link
Collaborator

@sklbancor sklbancor left a comment

Choose a reason for hiding this comment

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

so code comment

@zavelevsky zavelevsky closed this May 27, 2024
@zavelevsky zavelevsky deleted the patch-workaround-max-fee branch May 27, 2024 20:18
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