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

Fuel-core version compatibility check #585

Closed
luizstacio opened this issue Nov 8, 2022 · 1 comment
Closed

Fuel-core version compatibility check #585

luizstacio opened this issue Nov 8, 2022 · 1 comment

Comments

@luizstacio
Copy link
Member

When a user does a call targeting a newer or older version of the provider (fuel-core), the SDK implementation can be ahead of behind the fuel-core version, making the SDK throw unexpected errors, making it difficult for the users to understand what is causing for the issue.

The proposal is to add a fuel-core version query before other queries or with all other queries. To get the version of the fuel-core and compare it with a config range version inside the SDK code. In this way, we can;

  • If the versions are not compatible, throw an error explicating talk about it;
  • If a transaction reverts, we can log in with the error and also the fuel-core version making it easier to receive/give support.
@camsjams
Copy link
Contributor

This was completed as part of #1287

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