-
Notifications
You must be signed in to change notification settings - Fork 2
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
Bazk: milestones 1 & 2 #6
Conversation
My Comments on the Code:
BTW: Why use curl when Node.js itself can make HTTP requests? |
Regarding using curl, we tried using http request directly before, but we got a wasm error inside node, so we decided to use curl. Quick question, is |
Some alternatives comes in my mind:
The WASM error may have been caused by a third-party npm package. Consider using an alternative HTTP client package to resolve the issue, or just use the native HTTP API provided by Node.js.
Yes, it is now under a feature flag. |
In our current scenario I don't believe using Do you have any examples on doing an http server working that we can use? |
Using env vars doesn't mean you have to use a COMMAND=challenge1 ./gramine-sgx node |
@kvinwang After enabling the feature verify, I started getting this error:
|
Oh, this should be a breaking change in the upstream update. [[package]]
name = "rustls-pki-types"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a47003264dea418db67060fa420ad16d0d2f8f0a0360d825c00e177ac52cb5d8" |
@kvinwang After running
I started getting errors like that:
I'm not really sure about the root cause, I'll leave here how my Cargo.toml is configured. I appreciate any help.
|
The default features should be disabled and use v4.2:
Actually, adding this dependency is unnecessary because it is re-exported in the crate ink. You can directly use |
Hi @kvinwang, another help :) I added the changes you mentioned, but now I'm stuck with this: Also, inside
If I remove
|
It should be only required in #[cfg_attr(feature = "std", derive(StorageLayout))]
#[derive(Clone, Encode, Decode)] |
We just finalized the corrections, gonna merge them to main today |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I am adding this PR to start the review for Bazk milestones 1 and 2 - Decentralized contribution verifier and decentralized contribution generation respectivelly.
The team is currently working on improving documentation and tooling for testing, those are going to be added in the next days.