Comments (4)
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.
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.
@kevinjanada Sure, I'll work on it. Thank you for the guidance
from debio-node.
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)
- Specimen Tracking
- Update Pallets to work with substrate v3
- Make Orders Pallet use generic OrderItem type instead of concrete Service type
- Refactor Orders Pallet
- RuntimeVersion and NativeVersion HOT 6
- Remove refund_order extrinsic and maybe OrderStatus::Refunded enum HOT 1
- refund_order extrinsic is calling fulfill_order in its implementation HOT 1
- Change OrderStatus::Success to OrderStatus::Fulfilled HOT 1
- benchmark HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from debio-node.