QuarkChain / go-ethereum

Official Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
6 stars 2 forks source link

sstoragePisaUnmaskDaggerData should use pora/ethash.go code #135

Open qizhou opened 1 year ago

qizhou commented 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