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: add wasm contract query gas limit #1830

Merged
merged 6 commits into from
Aug 28, 2024
Merged

feat: add wasm contract query gas limit #1830

merged 6 commits into from
Aug 28, 2024

Conversation

blindchaser
Copy link
Contributor

add a wasm contract query gas limit to prevent infinite gas attacks

Describe your changes and provide context

Testing performed to validate your change

add a wasm contract query gas limit to prevent infinite gas attacks
Copy link

codecov bot commented Aug 22, 2024

Codecov Report

Attention: Patch coverage is 68.96552% with 9 lines in your changes missing coverage. Please review.

Project coverage is 60.75%. Comparing base (a8ea0f9) to head (143acce).
Report is 1 commits behind head on main.

Files Patch % Lines
app/receipt.go 53.84% 4 Missing and 2 partials ⚠️
x/evm/types/params.go 78.57% 2 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1830      +/-   ##
==========================================
- Coverage   60.76%   60.75%   -0.01%     
==========================================
  Files         257      257              
  Lines       22661    22686      +25     
==========================================
+ Hits        13770    13784      +14     
- Misses       7914     7923       +9     
- Partials      977      979       +2     
Files Coverage Δ
x/evm/keeper/params.go 81.81% <100.00%> (+1.81%) ⬆️
x/evm/types/params.go 70.73% <78.57%> (+1.61%) ⬆️
app/receipt.go 78.21% <53.84%> (-1.63%) ⬇️

... and 1 file with indirect coverage changes

@blindchaser blindchaser reopened this Aug 22, 2024
- add and update unit tests
@blindchaser blindchaser merged commit 0ebeaeb into main Aug 28, 2024
49 checks passed
@blindchaser blindchaser deleted the yiren/SEI-7987 branch August 28, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants