machinefi / w3bstream

Decentralized Infra for Connecting Smart Devices to Smart Contracts
https://w3bstream.com/
Apache License 2.0
174 stars 34 forks source link

poc(risc0): add http api for risc0 vm server #735

Open hunshenshi opened 10 months ago

hunshenshi commented 10 months ago

http api : http --form post :8888/srv-applet-mgr/v0/xvm/x/$PROJECTNAME file@/xx/github/risc0/examples/target/debug/build/factors-methods-301d94e8fa023ff7/out/methods.rs info='{"imageId":"MULTIPLY_ID","elf":"MULTIPLY_ELF","params":["17", "23"]}' -A bearer -a $TOK

codecov[bot] commented 10 months ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (cbc5498) 55.97% compared to head (1c7c539) 55.97%. Report is 23 commits behind head on main.

:exclamation: Current head 1c7c539 differs from pull request most recent head f5212f3. Consider uploading reports for the commit f5212f3 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #735 +/- ## ======================================= Coverage 55.97% 55.97% ======================================= Files 272 272 Lines 21710 21710 ======================================= Hits 12153 12153 Misses 9019 9019 Partials 538 538 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 9 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.3% 0.3% Duplication