Giter Club home page Giter Club logo

Comments (4)

chlenc avatar chlenc commented on July 24, 2024 2

Hi @digorithm
Thanks for taking care of this issue, for now it works

image

from fuels-rs.

digorithm avatar digorithm commented on July 24, 2024

Thanks for the detailed bug report; it'll make our lives easier. We'll run some tests and try to reproduce this issue, then get back to you ASAP!

from fuels-rs.

digorithm avatar digorithm commented on July 24, 2024

Update: it seems like the current state (master) actually fixes your issue; I tried by patching your dependencies to use my local fuels-rs:

[patch.crates-io]
fuels = { path = "../../fuels-rs/packages/fuels" }

And the test that's failing with the error you mentioned actually passed. I also had to make this tiny change:

--- a/tests/utils/cotracts_utils/token_utils.rs
+++ b/tests/utils/cotracts_utils/token_utils.rs
@@ -1,4 +1,3 @@
-use fuels::accounts::fuel_crypto::coins_bip32::prelude::k256::sha2::{Digest, Sha256};
+use sha2::{Digest, Sha256};

And add sha2 to your Cargo.toml.

I'll cut a release soon, and you should be good to go. In the meantime, if you're blocked, you can do what I did and use the Rust SDK @ master.

Release PR here: #1262

from fuels-rs.

digorithm avatar digorithm commented on July 24, 2024

Closing as the latest release solved it.

from fuels-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.