near / wasmtime

Standalone JIT-style runtime for WebAssembly, using Cranelift
https://wasmtime.dev/
Apache License 2.0
3 stars 4 forks source link

`zkasm_runner::run_zkasm` returns a struct with no public field or method #239

Closed MCJOHN974 closed 7 months ago

MCJOHN974 commented 7 months ago

As I see zkasm_runner::ExecutionResult, which is the result type of zkasm_runner::run_zkasm is a struct with no public field or method. Therefore, currently there is no way to somehow extract results. Should we add some public method to extract results?

aborg-dev commented 7 months ago

Yes, I've made some fields public in https://github.com/near/wasmtime/pull/231, would these be enough?

MCJOHN974 commented 7 months ago

Yes, I've made some fields public in #231, would these be enough?

At least for the testing infra it should be enought