ethan75
ethan75
使用FISCO BCOS2.8.0版本的0x5006国密预编译接口中,使用webase1.5.1 合约IDE测试function sm3(bytes memory data) public view returns(bytes32){},传入"hello world",发交易返回的哈希值不对,传入"hello world"的16进制数据,发交易返回的哈希值正确,webase对入参进行了调整导致错误。
1. 使用test目录下的timerfd,直接运行正常,使用occlum new一个工作目录,然后occlum build run执行报错如下: # occlum run /bin/main Starting at (1652088306)... ERROR:timerfd_create(CLOCK_REALTIME, ...) failed in func test_timerfd at line 15 of file main.c with errno 38: Function not implemented...
[root@qlh liquid]# cargo build Compiling proc-macro2 v1.0.47 Compiling proc-macro-hack v0.5.19 error[E0635]: unknown feature `proc_macro_span_shrink` --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.47/src/lib.rs:92:30 | 92 | feature(proc_macro_span, proc_macro_span_shrink) | ^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error For...