Open Thanos420NoScope opened 3 years ago
That could be a valid space attack, and I'd consider it a valid bug as a result.
I think, this is a pact issue, since the chainweb-node is agnostic about semantics of payloads.
Resolving this on pact validation level could would probably require a fork. So, we may instead continue accept those numbers internally within pact evaluation (execValidateBlock, but reject pending zeros on input in pact-service (e.g. in the mempool or newBlock).
@jmcardon @edmundnoble is this still an issue? iirc this has been patched, but my recollection is only vague.
The coin contract accepts transactions with more than 12 digits if they are 0s. It is not a security threat and cannot break precision, but is permanent for both the sending and the receiving account.