currently there are trivial validations for responses inside of shards (only checking non-duplicate entries). enhanced validations must be added including:
the hash is valid
the response data corresponds to the poll question(s)
the respondent address is not in any previous response
some other things maybe
Refactor the shard ledger responses to be indexed on the respondent address rather than the response hash.
currently there are trivial validations for responses inside of shards (only checking non-duplicate entries). enhanced validations must be added including:
Refactor the shard ledger responses to be indexed on the respondent address rather than the response hash.