Tags: DelphinusLab/zkWasm
Tags
More friendly host apis (#224) * add wasm_witness * support standard env in cli * change wasm_witness_inject to wasm_witness_insert * support wasm_dbg_char * move witness api into external foreign host * fix: add missing files * use better merkle circuit from zkwasm-host-circuits * cargo fmt * remove dryrun service from cli * merge dryrun and run by specify dryrun flag * fix dry_run * fix tests * add wasm_witness * support standard env in cli * change wasm_witness_inject to wasm_witness_insert * support wasm_dbg_char * move witness api into external foreign host * fix: add missing files * use better merkle circuit from zkwasm-host-circuits * cargo fmt * add keccak host support * support keccak * bump zkwasm-host-circuits for zkwasm * bump wasmi version * fix uniform circuit verify * bump zkwasm-host-circuits * bump zkwasm-host-circuits * split merkle and datahash * cleanup merkle host to support hash leaf only * support datacache * bump zkwasm host circuits to main * get statics for host-ops * add name for plugin context * fix tests compilation * support tracer in ExecEnv and can be visited in host api * polish the host api to get trace count * reset keccak256 cursor in keccak_new() * fix tests * using enum for host mode * feature: support indexed witness in witness host * bump wasmi version * remove useless Sequence * adjust circuit_with_witness and put println! outside in cli * add comment for picking the first instance data * add default implement for ForeignContext * fix tests * cargo fmt code * deduce the type of Arg for HostEnvBuilder * fix examples * fix index for witness host api * cargo fmt after merge * expose witness host context to arg * add zkwasm_indexed_witness_push * use local cache * fix counter of merkle * bugfix: witness push and insert --------- Co-authored-by: Zhang Junyu <junyu92@gmail.com> Co-authored-by: Qi Zhou <qizhou@ethstorage.io>