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: avoid overriding user gasLimit and maxFee inputs #2262

Merged
merged 25 commits into from May 10, 2024

Conversation

Torres-ssf
Copy link
Contributor

@Torres-ssf Torres-ssf changed the title fix: avoid overriding user gasLimit and maxFee inputs fix: avoid overriding user gasLimit and maxFee inputs May 8, 2024
@Torres-ssf Torres-ssf requested a review from nedsalk May 8, 2024 12:44
Copy link
Contributor

github-actions bot commented May 8, 2024

This PR is published in NPM with version 0.0.0-pr-2262-20240508162249

.github/workflows/pr-release.yaml Outdated Show resolved Hide resolved
packages/account/src/account.ts Outdated Show resolved Hide resolved
packages/account/src/account.ts Outdated Show resolved Hide resolved
@Torres-ssf Torres-ssf requested a review from arboleya May 8, 2024 15:15
nedsalk
nedsalk previously approved these changes May 8, 2024
@Torres-ssf Torres-ssf enabled auto-merge (squash) May 8, 2024 19:06
Dhaiwat10
Dhaiwat10 previously approved these changes May 8, 2024
danielbate
danielbate previously approved these changes May 9, 2024
@Torres-ssf
Copy link
Contributor Author

Torres-ssf commented May 9, 2024

Should we add a test to ensure that the maxFee passed in is the one that's respected?

@maschad f8bed39

Copy link
Member

@maschad maschad left a comment

Choose a reason for hiding this comment

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

Minor suggestions, but otherwise nice work! 🚀

packages/account/src/account.test.ts Show resolved Hide resolved
packages/account/src/account.test.ts Show resolved Hide resolved
Copy link
Contributor

Coverage Report:

Lines Branches Functions Statements
79.8%(+0.05%) 69.63%(+0.21%) 77.83%(+0%) 79.91%(+0.04%)
Changed Files:
Ok File (✨=New File) Lines Branches Functions Statements
🔴 packages/account/src/account.ts 83%
(+1.13%)
66.66%
(+2.15%)
76%
(+0%)
82.58%
(+1.13%)

Copy link
Contributor

@petertonysmith94 petertonysmith94 left a comment

Choose a reason for hiding this comment

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

Looks good 🍏 Small comment.

packages/account/src/account.ts Show resolved Hide resolved
@Torres-ssf Torres-ssf merged commit 9bc893b into master May 10, 2024
19 checks passed
@Torres-ssf Torres-ssf deleted the st/fix/avoid-overriding-user-gaslimit-maxfee branch May 10, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

contract call not considering txParams Consider not overriding user-specified gasLimit
7 participants