Skip to content

sstoragePisaUnmaskDaggerData should use pora/ethash.go code #135

@qizhou

Description

@qizhou

func (l *sstoragePisaUnmaskDaggerData) RunWith(env *PrecompiledContractCallEnv, input []byte) ([]byte, error) {

We should use the code in PoRA (see below) to unmask the data and the input format should follow the general precompiles formats.

func GetMaskData(epoch uint64, encodeKey common.Hash, chunkSize int, maskBuffer []byte) []byte {

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions