integritee-network / worker

Integritee off-chain worker and sidechain validateer
Apache License 2.0
89 stars 46 forks source link

cli failure on OSx: the instruction is not supported #1576

Open brenzi opened 7 months ago

brenzi commented 7 months ago
> incognitee --direct unshield-funds $ME_PRIVATE $ALTER_EGO 1000000000000
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
from ss58 is 5Ggf2LtT2W16YFmnTDiEdjdti5uvobNEwwhhGgsFpWQoG5tV
to  ss58 is 5HE8VuxGtt76rbaKrmZP3ACWJ1JN1qEH7SqGJ3yA1GnvWTBU
send trusted call unshield_funds from 5Ggf2LtT2W16YFmnTDiEdjdti5uvobNEwwhhGgsFpWQoG5tV to 5HE8VuxGtt76rbaKrmZP3ACWJ1JN1qEH7SqGJ3yA1GnvWTBU: 1000000000000
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: Unavailable, msg: "the instruction is not supported", cause: None }', /opt/rust/git/checkouts/incubator-teaclave-sgx-sdk-c63c8825343e87f0/3c903bd/sgx_ucrypto/src/util.rs:74:41
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
brenzi commented 7 months ago

seems the randomness isn't available: https://github.com/apache/incubator-teaclave-sgx-sdk/blob/1b1d03376056321441ef99716aa0888bd5ef19f7/sgx_ucrypto/src/util.rs#L74

clangenb commented 7 months ago

Why does the cli need randomness or sgx anyhow?