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: publish types #40

Merged
merged 1 commit into from
Aug 2, 2023
Merged

Conversation

antazoey
Copy link
Contributor

@antazoey antazoey commented Aug 2, 2023

Fixed issue where type declarations were not visible to consumer packages.

Also fixes issue where could not have gas price of 0

fixes: #37
fixes: #39

@@ -213,7 +213,7 @@ def create_transaction(
)

# we need a gas price for a valid transaction
if not gas_price and not max_fee_per_gas:
if gas_price is None and max_fee_per_gas is None:
Copy link
Owner

Choose a reason for hiding this comment

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

According to types, neither of these are None-able. And since you pointed out it's not required, I just pulled this check in #42. Mind removing this?

Copy link
Owner

Choose a reason for hiding this comment

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

Nevermind, I'll fix it after the fact.

@mikeshultz mikeshultz merged commit 6d1b405 into mikeshultz:fix-deploy-tx Aug 2, 2023
@mikeshultz mikeshultz mentioned this pull request Aug 2, 2023
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