请教,编译的二进制文件有可能进一步压缩吗?
我照抄了之前在 【首杀达成】Nervos Script 初体验 里的代码:
riscv64-unknown-elf-gcc -nostdlib -nostartfiles -Os m.c -o m -Wl,-static -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-s
虽然似乎编译通过了,但最后调用合约的时候会报错
CKB::RPCError: jsonrpc error: {:code=>-3, :message=>"UnresolvableTransaction(Unknown([OutPoint { cell: Some(CellOutPoint { tx_hash: 0xfe686f1e9db775c1f2f081a37fefe869564b7cb23ffbab884a19faae49b0aba6, index: 0 }), block_hash: Some(388603210a0fc4ba1f440c77e37c520266caa3bdbca5eafbc6224e0c3f5a0fde) }]))"}
from /home/enzo/ckb-sdk-ruby/lib/ckb/rpc.rb:164:in `rpc_request'