We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The activate_market extrinsic should fail if the market is already active, so as not to re-emit the ActivatedMarket event.
ActivatedMarket
The text was updated successfully, but these errors were encountered:
Solution 1: Add an is_active flag when updating mutate_market
is_active
mutate_market
Pros:
Cons:
Solution 2: Add the check_market_state_before_activating function
check_market_state_before_activating
Solution 3: Update mutate_market to accept result
Sorry, something went wrong.
nakul1010
Successfully merging a pull request may close this issue.
The activate_market extrinsic should fail if the market is already active, so as not to re-emit the
ActivatedMarket
event.The text was updated successfully, but these errors were encountered: