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

Ensure query isolation #611

Merged
merged 2 commits into from
Sep 14, 2021
Merged

Ensure query isolation #611

merged 2 commits into from
Sep 14, 2021

Conversation

alpe
Copy link
Member

@alpe alpe commented Sep 14, 2021

Resolves #610

@alpe alpe requested a review from ethanfrey September 14, 2021 07:56
@codecov
Copy link

codecov bot commented Sep 14, 2021

Codecov Report

Merging #611 (0f4c8b5) into master (454576a) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #611      +/-   ##
==========================================
+ Coverage   60.01%   60.04%   +0.03%     
==========================================
  Files          45       45              
  Lines        5209     5209              
==========================================
+ Hits         3126     3128       +2     
+ Misses       1860     1859       -1     
+ Partials      223      222       -1     
Impacted Files Coverage Δ
x/wasm/keeper/query_plugins.go 78.87% <100.00%> (ø)
x/wasm/keeper/keeper.go 87.30% <0.00%> (+0.33%) ⬆️

Copy link
Member

@ethanfrey ethanfrey left a comment

Choose a reason for hiding this comment

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

Very nice, clean, minimal change providing an important safety guarantee.
I like it.

x/wasm/keeper/query_plugins.go Show resolved Hide resolved
x/wasm/keeper/keeper_test.go Show resolved Hide resolved
@alpe alpe merged commit a447ee0 into master Sep 14, 2021
@alpe alpe deleted the fix_query_isolation branch September 14, 2021 15:25
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.

Ensure Queries are executed read only
2 participants