-
Notifications
You must be signed in to change notification settings - Fork 280
fix(target_chains/ton): fix ton contract checks #2073
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
const int ERROR_PRICE_FEED_NOT_FOUND = 2000; | ||
const int ERROR_OUTDATED_PRICE = 2001; | ||
const int ERROR_INVALID_MAGIC = 2002; | ||
const int ERROR_INVALID_MAJOR_VERSION = 2003; | ||
const int ERROR_INVALID_MINOR_VERSION = 2004; | ||
const int ERROR_UPDATE_DATA_SOURCE_NOT_FOUND = 2005; | ||
const int ERROR_INVALID_UPDATE_DATA_SOURCE = 2006; | ||
const int ERROR_DIGEST_MISMATCH = 2007; | ||
const int ERROR_INVALID_UPDATE_DATA_LENGTH = 2008; | ||
const int ERROR_INVALID_UPDATE_DATA_TYPE = 2009; | ||
const int ERROR_INVALID_MESSAGE_TYPE = 2010; | ||
const int ERROR_INSUFFICIENT_FEE = 2011; | ||
const int ERROR_INVALID_PROOF_SIZE = 2012; | ||
const int ERROR_INVALID_GOVERNANCE_DATA_SOURCE = 2013; | ||
const int ERROR_OLD_GOVERNANCE_MESSAGE = 2014; | ||
const int ERROR_INVALID_GOVERNANCE_TARGET = 2015; | ||
const int ERROR_INVALID_GOVERNANCE_MAGIC = 2016; | ||
const int ERROR_INVALID_GOVERNANCE_MODULE = 2017; | ||
const int ERROR_INVALID_CODE_HASH = 2018; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed these to 2xxx so that if we add new errors above then we dont have to change these again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Ideally we need to add tests to make sure this check works as expected.
No description provided.