Duplicate data in hive.operations table
Currently the operation type is included in the body of the operation. But we already have the op_type_id column.
This is what we have now in the body column:
{
"type": "account_created_operation",
"value": {
"creator": "miners",
"new_account_name": "miners",
"initial_delegation": {
"nai": "@@000000037",
"amount": "0",
"precision": 6
},
"initial_vesting_shares": {
"nai": "@@000000037",
"amount": "0",
"precision": 6
}
}
}
What I propose is to remove the type and only include the value:
{
"creator": "miners",
"new_account_name": "miners",
"initial_delegation": {
"nai": "@@000000037",
"amount": "0",
"precision": 6
},
"initial_vesting_shares": {
"nai": "@@000000037",
"amount": "0",
"precision": 6
}
}