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

[Merged by Bors] - Split two balance-related errors #5820

Closed
wants to merge 3 commits into from

Conversation

lrettig
Copy link
Member

@lrettig lrettig commented Apr 8, 2024

Make the distinction a bit clearer between cases where there's not enough funds to send vs. not enough to cover gas metering.

Motivation

Just makes errors clearer

Description

Self-explanatory

Test Plan

Existing tests updated, no need for new tests

TODO

  • Explain motivation or link existing issue(s)
  • Test changes and document test plan

@lrettig
Copy link
Member Author

lrettig commented Apr 9, 2024

Going to wait for #5807 to be merged before fixing the vm_test errors here as there will be a merge conflict otherwise.

lrettig added 3 commits April 11, 2024 12:15
Make the distinction a bit clearer between cases where there's not
enough funds to send vs. not enough to cover gas metering.
Copy link

codecov bot commented Apr 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.4%. Comparing base (30fa727) to head (50ad90c).

Additional details and impacted files
@@           Coverage Diff           @@
##           develop   #5820   +/-   ##
=======================================
  Coverage     80.4%   80.4%           
=======================================
  Files          283     283           
  Lines        29282   29282           
=======================================
+ Hits         23558   23559    +1     
+ Misses        4132    4131    -1     
  Partials      1592    1592           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lrettig lrettig marked this pull request as ready for review April 11, 2024 19:54
@lrettig
Copy link
Member Author

lrettig commented Apr 11, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Apr 11, 2024
Make the distinction a bit clearer between cases where there's not enough funds to send vs. not enough to cover gas metering.

## Motivation

Just makes errors clearer
@spacemesh-bors
Copy link

Pull request successfully merged into develop.

Build succeeded:

@spacemesh-bors spacemesh-bors bot changed the title Split two balance-related errors [Merged by Bors] - Split two balance-related errors Apr 11, 2024
@spacemesh-bors spacemesh-bors bot closed this Apr 11, 2024
@spacemesh-bors spacemesh-bors bot deleted the split-gas-errors branch April 11, 2024 21:04
poszu pushed a commit that referenced this pull request Apr 15, 2024
Make the distinction a bit clearer between cases where there's not enough funds to send vs. not enough to cover gas metering.

## Motivation

Just makes errors clearer
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