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

fix: don't override user-set 1559 attributes #1980

Merged
merged 2 commits into from Dec 29, 2022
Merged

Conversation

prestwich
Copy link
Collaborator

Motivation

Allow user to set tip without setting base fee, and avoid overriding any user-set tip or basefee

Solution

instead of overriding, use the Option::get_or_insert

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog
  • Breaking changes

@prestwich prestwich self-assigned this Dec 29, 2022
@prestwich
Copy link
Collaborator Author

CI failure is related. Need to change the set so that if max priority fee can't be higher than max fee

@prestwich
Copy link
Collaborator Author

CI failure should be fixed now 🖖

@gakonst
Copy link
Owner

gakonst commented Dec 29, 2022

ACK - good find, let's give this a try

@gakonst gakonst merged commit e26ede2 into master Dec 29, 2022
@gakonst gakonst deleted the prestwich/fill-overrides branch December 29, 2022 01:05
@0xMelkor 0xMelkor mentioned this pull request Jan 5, 2023
4 tasks
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.

None yet

2 participants