Skip to content

Commit

Permalink
Update haf submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariusz-Trela committed Jul 11, 2024
1 parent 22ee139 commit 8c5a735
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ variables:
include:
- template: Workflows/Branch-Pipelines.gitlab-ci.yml
- project: hive/haf
ref: 2c4ed8e60b6f77316e6c7eea522da7854233fa25 # develop
ref: 8e7f4ff92a223f8ca725ba73c799ae1427419514 # develop
file: /scripts/ci-helpers/prepare_data_image_job.yml # implicitly pulls base.gitlab-ci.yml from common-ci-configuration
- project: hive/common-ci-configuration
ref: 5a291802a3fef7ca756bfb3f3c07c23cbe523c48
Expand Down
2 changes: 1 addition & 1 deletion haf
Submodule haf updated 83 files
+1 −1 hive
+2 −2 scripts/ci-helpers/prepare_data_image_job.yml
+2 −0 src/hive_fork_manager/Readme.md
+4 −4 src/hive_fork_manager/app_api.sql
+1 −0 src/hive_fork_manager/authorization.sql
+61 −5 src/hive_fork_manager/block_views_for_head_block.sql
+115 −5 src/hive_fork_manager/blocks_views_for_contexts.sql
+2 −2 src/hive_fork_manager/hived_api.sql
+0 −1 src/hive_fork_manager/hived_api_impl.sql
+0 −8 src/hive_fork_manager/irreversible_blocks.sql
+2 −2 src/hive_fork_manager/state_providers/keyauth.sql
+8 −2 src/sql_serializer/data_processor.cpp
+6 −0 src/sql_serializer/end_massive_sync_processor.cpp
+8 −3 src/sql_serializer/include/hive/plugins/sql_serializer/chunks_for_writers_spillter.h
+68 −13 src/sql_serializer/include/hive/plugins/sql_serializer/container_data_writer.h
+1 −0 src/sql_serializer/include/hive/plugins/sql_serializer/end_massive_sync_processor.hpp
+1 −1 src/sql_serializer/include/hive/plugins/sql_serializer/indexes_controler.h
+2 −0 src/sql_serializer/include/hive/plugins/sql_serializer/livesync_data_dumper.h
+3 −0 src/sql_serializer/include/hive/plugins/sql_serializer/reindex_data_dumper.h
+44 −0 src/sql_serializer/include/hive/plugins/sql_serializer/span.hpp
+1 −3 src/sql_serializer/include/hive/plugins/sql_serializer/sql_serializer_objects.hpp
+1 −1 src/sql_serializer/include/hive/plugins/sql_serializer/tables_descriptions.h
+3 −3 src/sql_serializer/indexes_controler.cpp
+21 −1 src/sql_serializer/livesync_data_dumper.cpp
+21 −2 src/sql_serializer/reindex_data_dumper.cpp
+43 −36 src/sql_serializer/sql_serializer.cpp
+3 −3 src/sql_serializer/tables_descriptions.cpp
+19 −19 tests/integration/functional/hive_fork_manager/app_api/account_operations_view_test.sql
+5 −5 tests/integration/functional/hive_fork_manager/app_api/app_contexts_group_next_block_after_attach_2.sql
+5 −5 tests/integration/functional/hive_fork_manager/app_api/app_next_block_after_attach_2.sql
+19 −19 tests/integration/functional/hive_fork_manager/app_api/applied_hardforks_view_test.sql
+19 −19 tests/integration/functional/hive_fork_manager/app_api/context_account_operations_view_detach_test.sql
+19 −19 ...integration/functional/hive_fork_manager/app_api/context_account_operations_view_nonforking_detach_test.sql
+19 −19 tests/integration/functional/hive_fork_manager/app_api/context_account_operations_view_nonforking_test.sql
+19 −19 tests/integration/functional/hive_fork_manager/app_api/context_account_operations_view_test.sql
+18 −18 tests/integration/functional/hive_fork_manager/app_api/context_applied_hardforks_view_detach_test.sql
+18 −18 .../integration/functional/hive_fork_manager/app_api/context_applied_hardforks_view_nonforking_detach_test.sql
+18 −18 tests/integration/functional/hive_fork_manager/app_api/context_applied_hardforks_view_nonforking_test.sql
+19 −19 tests/integration/functional/hive_fork_manager/app_api/context_applied_hardforks_view_test.sql
+28 −28 tests/integration/functional/hive_fork_manager/app_api/context_operations_view_detach_test.sql
+28 −28 tests/integration/functional/hive_fork_manager/app_api/context_operations_view_non_forking_detach_test.sql
+29 −29 tests/integration/functional/hive_fork_manager/app_api/context_operations_view_non_forking_test.sql
+40 −40 tests/integration/functional/hive_fork_manager/app_api/context_operations_view_test.sql
+7 −7 tests/integration/functional/hive_fork_manager/app_api/empty_blocks_and_views.sql
+35 −35 tests/integration/functional/hive_fork_manager/app_api/operations_view_test.sql
+5 −5 tests/integration/functional/hive_fork_manager/application_loop/iteration_move_to_massive2.sql
+6 −0 tests/integration/functional/hive_fork_manager/authorization/alice_access_events_infrustructure.sql
+19 −19 tests/integration/functional/hive_fork_manager/authorization/alice_access_to_head_block_views.sql
+5 −5 ...l/hive_fork_manager/deprecated/attach_detach_with_function/app_contexts_group_next_block_after_attach_2.sql
+5 −5 ...ation/functional/hive_fork_manager/deprecated/attach_detach_with_function/app_next_block_after_attach_2.sql
+5 −5 tests/integration/functional/hive_fork_manager/examples/prepare_data.sql
+2 −2 tests/integration/functional/hive_fork_manager/hived_api/connect_test.sql
+2 −2 tests/integration/functional/hive_fork_manager/hived_api/connect_test_not_remove_reversible.sql
+23 −23 tests/integration/functional/hive_fork_manager/hived_api/copy_account_operations_to_irreversible.sql
+25 −25 tests/integration/functional/hive_fork_manager/hived_api/copy_applied_hardforks_to_irreversible_test.sql
+29 −29 tests/integration/functional/hive_fork_manager/hived_api/copy_operations_to_irreversible_test.sql
+8 −8 tests/integration/functional/hive_fork_manager/hived_api/get_block_3_test.sql
+7 −7 tests/integration/functional/hive_fork_manager/hived_api/get_block_test.sql
+2 −2 tests/integration/functional/hive_fork_manager/hived_api/not_removing_inconsistent_irreversibele_data.sql
+2 −4 tests/integration/functional/hive_fork_manager/hived_api/push_block_test.sql
+22 −22 tests/integration/functional/hive_fork_manager/hived_api/remove_obsolete_blocks_with_set_irreversible.sql
+25 −25 ...egration/functional/hive_fork_manager/hived_api/remove_obsolete_blocks_with_set_irreversible_3_contexts.sql
+20 −20 ...gration/functional/hive_fork_manager/hived_api/remove_obsolete_blocks_with_set_irreversible_no_contexts.sql
+2 −2 tests/integration/functional/hive_fork_manager/hived_api/removing_inconsistent_irreversibele_data.sql
+2 −2 ...ion/functional/hive_fork_manager/hived_api/set_irreversible_not_copy_reversible_data_from_old_fork_test.sql
+2 −2 ...ion/functional/hive_fork_manager/hived_api/set_irreversible_not_copy_reversible_data_from_top_fork_test.sql
+37 −37 tests/integration/functional/hive_fork_manager/hived_api/set_irreversible_test.sql
+2 −2 tests/integration/functional/hive_fork_manager/shared_lib/calculate_schema_hash.sql
+6 −6 tests/integration/functional/hive_fork_manager/state_providers/accounts_update_state_provider.sql
+44 −44 tests/integration/functional/hive_fork_manager/state_providers/keyauth_update_state_provider.sql
+16 −16 tests/integration/functional/hive_fork_manager/state_providers/metadata_update_state_provider.sql
+6 −6 tests/integration/functional/hive_fork_manager/state_providers/update_state_provider.sql
+6 −6 tests/integration/functional/hive_fork_manager/state_providers/update_state_provider_attached.sql
+6 −13 tests/integration/functional/hive_fork_manager/state_providers/update_state_provider_negative.sql
+1 −0 tests/integration/haf-local-tools/haf_local_tools/haf_node/_haf_node.py
+11 −2 tests/integration/haf-local-tools/haf_local_tools/system/haf/__init__.py
+21 −3 tests/integration/haf-local-tools/haf_local_tools/tables.py
+9 −9 tests/integration/haf-local-tools/poetry.lock
+2 −2 tests/integration/system/haf/test_dump_load_instance_scripts.py
+26 −0 tests/integration/system/haf/test_exception_in_live_state.py
+26 −0 tests/integration/system/haf/test_exception_in_reindex_state.py
+1 −8 tests/integration/system/haf/test_replay_and_p2p_sync.py
+2 −9 tests/integration/system/haf/test_replay_and_p2p_sync_from_4.py
4 changes: 2 additions & 2 deletions hive/indexer/mocking/mock_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ def body(self) -> dict:
def push(self) -> None:
sql = """
INSERT INTO
hive.operations (id, trx_in_block, op_pos, timestamp, body_binary)
hive.operations (id, trx_in_block, op_pos, body_binary)
VALUES
(:id, -2, -2, now(), :body :: jsonb :: hive.operation);
(:id, -2, -2, :body :: jsonb :: hive.operation);
"""
OperationBase.pos_in_block += 1

Expand Down

0 comments on commit 8c5a735

Please sign in to comment.