-
Notifications
You must be signed in to change notification settings - Fork 108
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
Add a mapping to tracked locked ZRC20s into Cosmos coins #2991
Comments
@lumtis I am not very sure about the invariant mentioned , The ModuleBalance would not be greater that the Locked tokens as we transfer the tokens from the Module to the cosmos address of the user after minting . |
Lock ZRC20
Unlock ZRC20
Task: Add an invariant to make sure the balance between locked and minted tokens is always maintained
For all ZRC20 tokens
|
|
Context: #2979 (review)
Add a mapping ZRC20Address -> locked tokens (converted in Cosmos coins) in the store
And add invariant ModuleBalance>LockedTokens
This will be useful for testing when using the simulations testing, doing many operation on the staking we verify there is no unwanted emissions of tokens happening
The text was updated successfully, but these errors were encountered: