Coder Social home page Coder Social logo

oasisprotocol / cipher-paratime Goto Github PK

View Code? Open in Web Editor NEW
9.0 15.0 2.0 355 KB

Official Oasis Protocol Foundation's ParaTime.

License: Apache License 2.0

Rust 100.00%
blockchain chain confidential crypto enclave network oasis official paratime privacy

cipher-paratime's People

Contributors

jberci avatar kostko avatar tjanez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cipher-paratime's Issues

Missing installation prerequisite to build for SGX: gcc-multilib (debian)

The documentation pointed to in the README.md does not mention gcc-multilib.

Not sure where you would prefer to document this (oasis-core docs, oasis-sdk docs, or in this repo). Just let me know, and I can make a pull request accordingly it you wish.

WIthout gcc-multilib, on Debian buster, the following error occurs:

error: failed to run custom build command for `wasm3-sys v0.3.0 (https://github.com/oasisprotocol/wasm3-rs?tag=v0.3.0#93bb9f2b)`

Caused by:
  process didn't exit successfully: `/usr/src/cipher-paratime/target/release/build/wasm3-sys-64c29ab20f7c0c73/build-script-build` (exit status: 101)
  --- stderr
  /usr/include/stdlib.h:25:10: fatal error: 'bits/libc-header-start.h' file not found
  /usr/include/stdlib.h:25:10: fatal error: 'bits/libc-header-start.h' file not found, err: true
  thread 'main' panicked at 'Failed to generate bindings: ()', /usr/local/cargo/git/checkouts/wasm3-rs-0b994591bb7c7395/93bb9f2/wasm3-sys/build.rs:52:10
  stack backtrace:
     0: rust_begin_unwind
               at /rustc/baba6687df3e83fdb15cc6ec239b4a1c75a30505/library/std/src/panicking.rs:498:5
     1: core::panicking::panic_fmt
               at /rustc/baba6687df3e83fdb15cc6ec239b4a1c75a30505/library/core/src/panicking.rs:106:14
     2: core::result::unwrap_failed
               at /rustc/baba6687df3e83fdb15cc6ec239b4a1c75a30505/library/core/src/result.rs:1613:5
     3: core::result::Result<T,E>::expect
     4: build_script_build::gen_bindings
     5: build_script_build::main
     6: core::ops::function::FnOnce::call_once
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
The command '/bin/sh -c cargo build --release --target x86_64-fortanix-unknown-sgx' returned a non-zero code: 101

update Oasis SDK

we'd like to have the cross-account deposit/withdraw feature to start developing wallet support

Deploy contract error: code is missing required ABI export: allocate

Hi, I have a problem with contract deployment, I used the hello-world template and everything works fine, but in the uploaded contract I get this error:

>> sudo oasis contracts upload target/wasm32-unknown-unknown/release/hello_world.wasm

Broadcasting transaction...
Transaction included in block successfully.
Round:            1693240
Transaction hash: 52bf3ff6ee99f4db74f9cc61d6f173b441bd6cfde880979d61dcebb012493f40
Error: Execution failed with error: module: contracts code: 5 message: code is missing required ABI export: allocate

Thanks for your helpπŸ™

error: no such subcommand: `elf2sgxs`

Problem: The following command, as given in the README.md, fails

cargo elf2sgxs --release

Solution: Install elf2sgxs:

cargo install oasis-core-tools \
        --git https://github.com/oasisprotocol/oasis-core \
        --force \
        --locked

This could be added in the README.md or the oasis-core docs.

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.