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

wrong error message #77

Closed
pronvis opened this issue Sep 8, 2021 · 1 comment
Closed

wrong error message #77

pronvis opened this issue Sep 8, 2021 · 1 comment

Comments

@pronvis
Copy link

pronvis commented Sep 8, 2021

return Err(StdError::generic_err("Cannot snapshot at this height"));

Looks like it should be:
return Err(StdError::generic_err("Cannot snapshot at this time"));

csanti added a commit that referenced this issue Dec 1, 2021
@csanti
Copy link
Contributor

csanti commented Dec 1, 2021

Thanks @pronvis :)

@csanti csanti closed this as completed in d2bffaf Jan 10, 2022
csanti added a commit that referenced this issue Apr 1, 2022
* new mirror_admin_manager contract

* integrate admin_manager with governance, multiple poll types with different parameters

* add the hability to change the mir-ust pair on collector

* add collector migration logic

* feat: ability to deprecate a staking token

* add migration loogic for staking pool_infos

* feat: integrate collateral_oracle with new tefi_oracle

* fix test and typos, closes #77

* feat: integrate mint contract with new oracle and preIPO mech

* feat: update mAsset whitelisting process to use new oracle and preIPO mech

* chore: update admin_manager schema

* chore: fmt and clippy

* chore: fmt, clippy and generate schemas

* fix(col_oracle): change is_revoked migration to consider rewly revoked assets

* fix(col_oracle): add missing migrate_config funtion to migration entry point

* fix(gov): minor fixes

* make gov update_config an admin action

* chore: fmt & clippy fixes

* fix typos

* gov: add poll_gas_limit parameter to prevent ghost failed polls

* gov: add unit tests for new poll configs

* migrate MIR-UST pair on contract migration (collector, staking) + add friendlier staking error for deprecated token

* fix: modify bond migration check to have new addresses marked as migrated

* remove unnecessary optional storage parameter + minor optimization

* add admin_action to PollResponse

* prevent converting address 2 times

* update versions to v2.2.0

* update tefi_oracle to latest version, improved whitelisting process

* col_oracle: migrate anchor oracle source to mirror tefi oracle

* remove previous staking migration logic

* change oracle address on factory/mint contracts migration

* fix pagination on descending positions query

* import tefi-oracle package from crates.io

* update CHANGELOG and optimizer version
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

2 participants