ewasm / testnet

Testnet planning & documentation
64 stars 19 forks source link

Add dummy metering contract #9

Closed axic closed 6 years ago

axic commented 6 years ago

Works together with https://github.com/ewasm/hera/pull/61

axic commented 6 years ago

https://github.com/ethereum/cpp-ethereum/issues/4774 was merged, instead of having the hex in the config, we could use "codeFromFile": "dummymeterin.wasm"

axic commented 6 years ago

@hugo-dc @jwasinger @lrettig have you guys tested this? I think it should work, hera must be compiled with -DHERA_METERING_CONTRACT=ON to take effect.

axic commented 6 years ago

Was tested by @hugo-dc and it is working (at least in the create transaction it works, other cases might be buggy in cpp-ethereum itself).