archethic-node icon indicating copy to clipboard operation
archethic-node copied to clipboard

Incorrect handling of not found proof of work

Open Neylix opened this issue 7 months ago • 0 comments

Describe the problem you discovered

When an incoming transaction has an invalid origin signature, the coordinator node does not retrieve the proof of work. The proof of work returns an empty string. Then the validation stamp is serialized replacing the empty string with <<0::32>>. Then the cross validators compare the proof of work they found (empty string) with the one in the validation stamp (<<0::32>>) which does not match while all nodes did not found the POW. This result into a wrong consensus not reach error

Describe the solution you'd like

Define a better workflow for invalid proof of work

Epic

No response

Neylix avatar Jul 16 '24 17:07 Neylix