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

feat: Use error text instead of text code #421

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

howjmay
Copy link
Member

@howjmay howjmay commented Dec 8, 2024

// The allowance coin_types vector and balances vector are not in the same size
const EAllowanceVecUnequal: u64 = 0;
#[error]
const EAllowanceVecUnequal: vector<u8> = b"The allowance's coin_types and balances vector are not in the same size";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do error messages get persisted - i.e do they have a byte cost?

@howjmay howjmay marked this pull request as draft January 6, 2025 13:24
@lmoe lmoe added the backlog label Jan 16, 2025
@howjmay howjmay force-pushed the improve-move-err-msg branch from 21c84ba to bf2b8c9 Compare January 31, 2025 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants