Skip to content
Snippets Groups Projects
Commit 6d435f04 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Updated mocking code to match latest changes done in HAF submodule

parent a3c6f8a4
No related branches found
No related tags found
2 merge requests!827Merge develop changes to master,!601HAF submodule update like also adjusting mocking code to new HAF interface requirements
......@@ -85,9 +85,9 @@ class OperationBase:
def push(self) -> None:
sql = """
INSERT INTO
hive.operations (id, block_num, trx_in_block, op_pos, op_type_id, timestamp, body)
hive.operations (id, block_num, trx_in_block, op_pos, op_type_id, timestamp, body_binary)
VALUES
(:id, :block_num, -2, -2, :op_type_id, now(), :body :: hive.operation);
(:id, :block_num, -2, -2, :op_type_id, now(), :body :: jsonb :: hive.operation);
"""
OperationBase.operation_id += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment