ewasm-kernel
ewasm-kernel copied to clipboard
Fix storageStore/storageLoad key/value endianess
all vm tests passing in evm2wasm, the problem was the same as in storageStore
Actually of the points of U256.fromMemory was to deal with endianness.
what axic said, we want to make the change in u256.js. see also https://github.com/ewasm/ewasm-kernel/pull/6
Just tried this change, I'm still seeing some failures:
1..1792
# tests 1792
# pass 1732
# fail 60
@lrettig I changed u256.js as @axic suggested, right now I have 40+ failing tests still have to figure out what is causing them.
@hugo-dc is that code in the same branch? If so could you push the change? 🙏