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

Add a check for near-abi version #61

Open
itegulov opened this issue Oct 14, 2022 · 1 comment · Fixed by #74
Open

Add a check for near-abi version #61

itegulov opened this issue Oct 14, 2022 · 1 comment · Fixed by #74

Comments

@itegulov
Copy link
Contributor

We are moving fast and occasionally make breaking changes to the schema format. This means that using cargo-near and near-sdk with different underlying near-abi versions can lead to unpleasant user experience. Currently cargo-near just segfaults because it is trying to dynamically load and call the contract artifact with an unexpected near-abi version. We should add an explicit check instead.

CC @miraclx

@miraclx
Copy link
Contributor

miraclx commented Oct 14, 2022

Wow, that's serious, 😆

Segfaults in Rust, seems like an accomplishment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants