Code Monkey home page Code Monkey logo

Comments (4)

SHA888 avatar SHA888 commented on September 14, 2024

Also it fails on orders package/workspace.
For all others package:

    certifications
    traits-certifications
    doctor-certifications
    traits-doctor-certifications
    doctors
    traits-user-profile
    electronic-medical-record
    traits-electronic-medical-record
    genetic-testing
    traits-genetic-testing
    traits-order
    hospital-certifications
    traits-hospital-certifications
    hospitals
    labs
    traits-services
    services
    user-profile

are passed.

from debio-node.

kevinjanada avatar kevinjanada commented on September 14, 2024

I think this has to do with how crate features are defined in Cargo.toml files.
If you go to pallets/certifications/Cargo.toml on line 39 there's sp-io/std. But sp-io is not included in the dependencies, rather it is included in dev-dependencies.
Usually only items in dependencies get included in the std list of the features section.

I changed sp-io/std to sp-std/std since sp-std is included in dependencies and ran cargo check -p node-template-runtime again.
The error disappeared but the same error is also found in doctor-certifiactions pallet. I suspect this error will also be found in other pallets.

Perhaps you would like to take on this task to fix the errors on the other pallets?

As for the reason of the error, i am still not sure. To be honest i still need to get a better understanding on how crate features work.

from debio-node.

SHA888 avatar SHA888 commented on September 14, 2024

@kevinjanada Sure, I'll work on it. Thank you for the guidance

from debio-node.

SHA888 avatar SHA888 commented on September 14, 2024

I've created a PR review (under other DnaSampleStatus PR)
ab36d04

They have been fixed by moving the sp_io and sp_core from dev-dependencies to dependencies in pallets

from debio-node.

Related Issues (10)

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.