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

feat: make send() gas stipend configurable #3158

Merged
merged 12 commits into from Dec 8, 2022

Conversation

emc415
Copy link
Contributor

@emc415 emc415 commented Nov 25, 2022

What I did

added gas= kwarg to send() to handle #3060

How I did it

added gas= kwarg to built-in send() function and logic to handle the output when gas is passed as a kwarg

How to verify it

Commit message

make send() gas stipend configurable

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

Copy link
Member

@fubuloubu fubuloubu left a comment

Choose a reason for hiding this comment

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

Needs a test

@codecov-commenter
Copy link

codecov-commenter commented Nov 26, 2022

Codecov Report

Merging #3158 (fa71cc9) into master (e60b021) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #3158   +/-   ##
=======================================
  Coverage   88.52%   88.52%           
=======================================
  Files          85       85           
  Lines       10758    10760    +2     
  Branches     2286     2286           
=======================================
+ Hits         9523     9525    +2     
  Misses        787      787           
  Partials      448      448           
Impacted Files Coverage Δ
vyper/builtins/functions.py 90.69% <100.00%> (+0.01%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@emc415
Copy link
Contributor Author

emc415 commented Nov 26, 2022

Needs a test

thanks! working on test

@emc415 emc415 marked this pull request as draft November 26, 2022 18:34
@charles-cooper
Copy link
Member

impl looks good. please add docs and tests, fix lint and should be good to merge

@emc415 emc415 marked this pull request as ready for review December 2, 2022 20:18
Copy link
Member

@charles-cooper charles-cooper left a comment

Choose a reason for hiding this comment

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

code looks good, just some minor questions

@emc415
Copy link
Contributor Author

emc415 commented Dec 7, 2022

code looks good, just some minor questions

took out unnecessary test

@charles-cooper
Copy link
Member

lgtm, thanks

@charles-cooper charles-cooper enabled auto-merge (squash) December 8, 2022 04:36
@charles-cooper charles-cooper merged commit 44bb434 into vyperlang:master Dec 8, 2022
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

4 participants