Open qizhou opened 1 year ago
https://github.com/QuarkChain/go-ethereum/blob/fe04b4440d39586338d5a3d3b9d2c636520b319f/core/vm/contracts.go#L829
We should use the code in PoRA (see below) to unmask the data and the input format should follow the general precompiles formats.
https://github.com/QuarkChain/go-ethereum/blob/fe04b4440d39586338d5a3d3b9d2c636520b319f/sstorage/pora/ethash.go#L89
https://github.com/QuarkChain/go-ethereum/blob/fe04b4440d39586338d5a3d3b9d2c636520b319f/core/vm/contracts.go#L829
We should use the code in PoRA (see below) to unmask the data and the input format should follow the general precompiles formats.
https://github.com/QuarkChain/go-ethereum/blob/fe04b4440d39586338d5a3d3b9d2c636520b319f/sstorage/pora/ethash.go#L89