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: Implement CallCallablePoint Function to wasm Keeper #948

Closed

Conversation

Kynea0b
Copy link
Contributor

@Kynea0b Kynea0b commented Apr 4, 2023

Description

This PR is part of this issue.
Finschia/cosmwasm#252

This pr uses vm.CallCallablePoint fun of the wasmvm pr. So this updated after it is merged.

Checklist:

@Kynea0b Kynea0b self-assigned this Apr 4, 2023
@Kynea0b Kynea0b changed the title Create CallCallablePoint Function Call CallCallablePoint Function Apr 4, 2023
@Kynea0b Kynea0b changed the title Call CallCallablePoint Function Call CallCallablePoint Function Apr 4, 2023
@Kynea0b Kynea0b changed the title Call CallCallablePoint Function Create CallCallablePoint Function Apr 4, 2023
@Kynea0b Kynea0b changed the title Create CallCallablePoint Function feat: Implement CallCallablePoint Function to wasm Keeper Apr 4, 2023
@Kynea0b Kynea0b force-pushed the issue-CallCallablePointFun branch from 501660a to 49c49ed Compare April 4, 2023 06:44
@Kynea0b Kynea0b marked this pull request as ready for review April 4, 2023 07:16
@Kynea0b Kynea0b requested review from loloicci and da1suk8 April 4, 2023 07:16
@Kynea0b Kynea0b marked this pull request as draft April 4, 2023 08:07
@codecov
Copy link

codecov bot commented Apr 4, 2023

Codecov Report

Merging #948 (9a82677) into dynamic_link (3b508ec) will increase coverage by 0.00%.
The diff coverage is 63.06%.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff               @@
##           dynamic_link     #948    +/-   ##
==============================================
  Coverage         61.08%   61.09%            
==============================================
  Files               873      873            
  Lines             98602    98710   +108     
==============================================
+ Hits              60231    60306    +75     
- Misses            34767    34795    +28     
- Partials           3604     3609     +5     
Impacted Files Coverage Δ
x/wasm/types/types.go 57.20% <ø> (ø)
x/wasm/keeper/events.go 78.94% <36.84%> (-21.06%) ⬇️
x/wasm/keeper/keeper.go 84.05% <55.73%> (-1.75%) ⬇️
x/wasm/keeper/api.go 95.34% <93.10%> (+12.99%) ⬆️
x/wasm/keeper/contract_keeper.go 94.11% <100.00%> (+0.36%) ⬆️

... and 6 files with indirect coverage changes

@Kynea0b Kynea0b force-pushed the issue-CallCallablePointFun branch from 8ffef0d to b40ec63 Compare April 4, 2023 10:04
@Kynea0b Kynea0b marked this pull request as ready for review April 4, 2023 11:34
@Kynea0b Kynea0b requested a review from dudong2 April 5, 2023 07:57
CHANGELOG.md Show resolved Hide resolved
Kynea0b and others added 4 commits April 6, 2023 17:27
In keeper.go both Execute and Query call vm.CallCallablePoint(). For this reason, it is now possible to distinguish whether vm.CallCallablePoint() is called with isReadOnly=false or true with the name of the upper function that wraps the vm function.
@Kynea0b
Copy link
Contributor Author

Kynea0b commented Apr 21, 2023

Closing this PR as it will be moved to wasmd.

@Kynea0b Kynea0b closed this Apr 21, 2023
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