FuelLabs/fuels-rs

Predicate estimation fallback to API

segfault-magnet opened this issue · 0 comments

fuel core 0.28.0 is going to be releasing with upgrades to the fuel vm. Those updates will impact predicate gas usage estimation.

Besides that 0.28.0 is backwards compatible API wise -- all endpoints should work with the current version of the SDK.

We need to release a patch version with as little breaking changes as possible that will include a fallback mechanism -- if the sdk detects that the node that we're talking to isn't the exact same version we've been developed against we should use the GQL endpoint for predicate estimation.

Releasing this as soon as possible will give users enough time to update their sdk deps so that they may continue normally estimating predicates when the 0.28.0 core rollout happens.