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

Always charge rent gas following sudo call #874

Merged
merged 2 commits into from
Jun 14, 2023

Conversation

codchen
Copy link
Collaborator

@codchen codchen commented Jun 13, 2023

Describe your changes and provide context

Previously we were not charging rent if a sudo call fails with error, which is not the intended behavior

Testing performed to validate your change

local sei test with bad contract

@codchen codchen requested a review from BrandonWeng June 13, 2023 08:57
@codecov
Copy link

codecov bot commented Jun 13, 2023

Codecov Report

Merging #874 (aef5521) into master (1315ce5) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #874   +/-   ##
=======================================
  Coverage   63.52%   63.52%           
=======================================
  Files         250      250           
  Lines       15533    15533           
=======================================
  Hits         9868     9868           
  Misses       5197     5197           
  Partials      468      468           

see 2 files with indirect coverage changes

@codchen codchen merged commit 496d0b4 into master Jun 14, 2023
@codchen codchen deleted the tony-chen-charge-rent-first branch June 14, 2023 05:16
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