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

Enable the use of wasmplus's IsInactiveContract() in cosmwasmAPI #25

Closed
da1suk8 opened this issue Apr 13, 2023 · 1 comment
Closed

Enable the use of wasmplus's IsInactiveContract() in cosmwasmAPI #25

da1suk8 opened this issue Apr 13, 2023 · 1 comment
Assignees

Comments

@da1suk8
Copy link
Member

da1suk8 commented Apr 13, 2023

In the dynamic_link branch separated process, the following function of wasmplus cannot be used in the #22 separated method due to circular reference problems.

Separation must be done by another method

func (k Keeper) IsInactiveContract(ctx sdk.Context, contractAddress sdk.AccAddress) bool {
store := ctx.KVStore(k.storeKey)
return store.Has(types.GetInactiveContractKey(contractAddress))
}

@da1suk8
Copy link
Member Author

da1suk8 commented Apr 27, 2023

Closed via #36

@da1suk8 da1suk8 closed this as completed Apr 27, 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

No branches or pull requests

1 participant