ewasm / wasm-metering

[ORPHANED] Injects metering into webassembly binaries
72 stars 16 forks source link

Golang implementation #25

Open lowesyang opened 5 years ago

lowesyang commented 5 years ago

I'm not sure this's the right place to issue that -- I've completed the wasm metering injector in Golang at this repo, and have past the core test cases the same as js-wasm-metering. Can it be added to the ewasm org?

axic commented 5 years ago

Nice!

It seems it is using the JSON format used by this repository. We do not currently use that format actively and the test cases might be outdated, but we definitely need to get someone to maintain them.

Let me check in with the team what they think.

lowesyang commented 5 years ago

OK~ And what's the format used currently? Some test cases are outdated in deed, and i've fixed them and generate new wasm files for testing. Of course it will need more test files, and hope for community help~ Maybe the Golang implementation can also be a typical model or a simple lib to help to build wasmvm MVP (because lots of blockchain VM implemented in Golang) or something like that?