Skip to content
Snippets Groups Projects
Commit 2026833a authored by Holger's avatar Holger
Browse files

Adapt changes of HF25 to operationids

parent 1e033402
No related branches found
No related tags found
1 merge request!11Changes specific to HF25 done in https://github.com/holgern/beem master branch
Changelog Changelog
======== ========
0.24.27
-------
* Adapt changes of HF25 to operationids
0.24.26 0.24.26
------- -------
* reverting change to operationsid for HF24, please uncoment line 158 in file beembase\operationids.py for using in HF25 * reverting change to operationsid
0.24.25 0.24.25
------- -------
......
"""THIS FILE IS GENERATED FROM beem SETUP.PY.""" """THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.24.26' version = '0.24.27'
"""THIS FILE IS GENERATED FROM beem SETUP.PY.""" """THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.24.26' version = '0.24.27'
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
#: Operation ids #: Operation ids
ops_HF25 = [
'vote', # https://gitlab.syncad.com/hive/hive/-/blob/master/libraries/protocol/include/hive/protocol/operations.hpp
'comment',
'transfer',
'recurring_transfer',
'transfer_to_vesting',
'withdraw_vesting',
'limit_order_create',
'limit_order_cancel',
'feed_publish',
'convert',
'collateralized_convert'
'account_create',
'account_update',
'witness_update',
'account_witness_vote',
'account_witness_proxy',
'pow',
'custom',
'report_over_production',
'delete_comment',
'custom_json',
'comment_options',
'set_withdraw_vesting_route',
'limit_order_create2',
'claim_account',
'create_claimed_account',
'request_account_recovery',
'recover_account',
'change_recovery_account',
'escrow_transfer',
'escrow_dispute',
'escrow_release',
'pow2',
'escrow_approve',
'transfer_to_savings',
'transfer_from_savings',
'cancel_transfer_from_savings',
'custom_binary',
'decline_voting_rights',
'reset_account',
'set_reset_account',
'claim_reward_balance',
'delegate_vesting_shares',
'account_create_with_delegation',
'witness_set_properties',
'account_update2',
'create_proposal',
'update_proposal_votes',
'remove_proposal',
'update_proposal',
'fill_convert_request',
'author_reward',
'curation_reward',
'comment_reward',
'liquidity_reward',
'producer_reward',
'interest',
'fill_vesting_withdraw',
'fill_order',
'shutdown_witness',
'fill_transfer_from_savings',
'hardfork',
'comment_payout_update',
'return_vesting_delegation',
'comment_benefactor_reward',
'clear_null_account_balance',
'proposal_pay',
'sps_fund',
'hardfork_hive',
'hardfork_hive_restore',
'delayed_voting',
'consolidate_treasury_balance',
'effective_comment_vote',
'ineffective_delete_comment',
'sps_convert'
]
ops = [ ops = [
'vote', 'vote', #0
'comment', 'comment', #1
'transfer', 'transfer', #2
'transfer_to_vesting', 'transfer_to_vesting', #3
'withdraw_vesting', 'withdraw_vesting', #4
'limit_order_create', 'limit_order_create', #5
'limit_order_cancel', 'limit_order_cancel', #6
'feed_publish', 'feed_publish', #7
'convert', 'convert', #8
'account_create', 'account_create', #9
'account_update', 'account_update', #10
'witness_update', 'witness_update', #11
'account_witness_vote', 'account_witness_vote', #12
'account_witness_proxy', 'account_witness_proxy', #13
'pow', 'pow', #14
'custom', 'custom', #15
'report_over_production', 'report_over_production', #16
'delete_comment', 'delete_comment', #17
'custom_json', 'custom_json', #18
'comment_options', 'comment_options', #19
'set_withdraw_vesting_route', 'set_withdraw_vesting_route', #20
'limit_order_create2', 'limit_order_create2', #21
'claim_account', 'claim_account', #22
'create_claimed_account', 'create_claimed_account', #23
'request_account_recovery', 'request_account_recovery', #24
'recover_account', 'recover_account', #25
'change_recovery_account', 'change_recovery_account', #26
'escrow_transfer', 'escrow_transfer', #27
'escrow_dispute', 'escrow_dispute', #28
'escrow_release', 'escrow_release', #29
'pow2', 'pow2', #30
'escrow_approve', 'escrow_approve', #31
'transfer_to_savings', 'transfer_to_savings', #32
'transfer_from_savings', 'transfer_from_savings', #33
'cancel_transfer_from_savings', 'cancel_transfer_from_savings', #34
'custom_binary', 'custom_binary', #35
'decline_voting_rights', 'decline_voting_rights', #36
'reset_account', 'reset_account', #37
'set_reset_account', 'set_reset_account', #38
'claim_reward_balance', 'claim_reward_balance', #39
'delegate_vesting_shares', 'delegate_vesting_shares', #40
'account_create_with_delegation', 'account_create_with_delegation', #41
'witness_set_properties', 'witness_set_properties', #42
'account_update2', 'account_update2', #43
'create_proposal', 'create_proposal', #44
'update_proposal_votes', 'update_proposal_votes', #45
'remove_proposal', 'remove_proposal', #46
'update_proposal', 'update_proposal', #47
'fill_convert_request', 'collateralized_convert', #48
'author_reward', 'recurrent_transfer', #49
'curation_reward', # virtual operations below this point
'comment_reward', 'fill_convert_request', #last_regular + 1
'liquidity_reward', 'author_reward', #last_regular + 2
'producer_reward', 'curation_reward', #last_regular + 3
'interest', 'comment_reward', #last_regular + 4
'fill_vesting_withdraw', 'liquidity_reward', #last_regular + 5
'fill_order', 'interest', #last_regular + 6
'shutdown_witness', 'fill_vesting_withdraw', #last_regular + 7
'fill_transfer_from_savings', 'fill_order', #last_regular + 8
'hardfork', 'shutdown_witness', #last_regular + 9
'comment_payout_update', 'fill_transfer_from_savings', #last_regular + 10
'return_vesting_delegation', 'hardfork', #last_regular + 11
'comment_benefactor_reward', 'comment_payout_update', #last_regular + 12
'producer_reward', 'return_vesting_delegation', #last_regular + 13
'clear_null_account_balance', 'comment_benefactor_reward', #last_regular + 14
'proposal_pay', 'producer_reward', #last_regular + 15
'sps_fund', 'clear_null_account_balance', #last_regular + 16
'hardfork_hive', 'proposal_pay', #last_regular + 17
'hardfork_hive_restore', 'sps_fund', #last_regular + 18
'delayed_voting', 'hardfork_hive', #last_regular + 19
'consolidate_treasury_balance', 'hardfork_hive_restore', #last_regular + 20
'effective_comment_vote', 'delayed_voting', #last_regular + 21
'ineffective_delete_comment', 'consolidate_treasury_balance', #last_regular + 22
'sps_convert' 'effective_comment_vote', #last_regular + 23
'ineffective_delete_comment', #last_regular + 24
'sps_convert', #last_regular + 25
'expired_account_notification', #last_regular + 26
'changed_recovery_account', #last_regular + 27
'transfer_to_vesting_completed', #last_regular + 28
'pow_reward', #last_regular + 29
'vesting_shares_split', #last_regular + 30
'account_created', #last_regular + 31
'fill_collateralized_convert_request', #last_regular + 32
'system_warning', #last_regular + 33,
'fill_recurrent_transfer', #last_regular + 34
'failed_recurrent_transfer' # last_regular + 35
] ]
operations = {o: ops.index(o) for o in ops} operations = {o: ops.index(o) for o in ops}
# uncoment when using with HF25
# operations = {o: ops_HF25.index(o) for o in ops_HF25}
def getOperationNameForId(i): def getOperationNameForId(i):
......
"""THIS FILE IS GENERATED FROM beem SETUP.PY.""" """THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.24.26' version = '0.24.27'
"""THIS FILE IS GENERATED FROM beem SETUP.PY.""" """THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.24.26' version = '0.24.27'
...@@ -16,7 +16,7 @@ except LookupError: ...@@ -16,7 +16,7 @@ except LookupError:
ascii = codecs.lookup('ascii') ascii = codecs.lookup('ascii')
codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs')) codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs'))
VERSION = '0.24.26' VERSION = '0.24.27'
tests_require = ['mock >= 2.0.0', 'pytest', 'pytest-mock', 'parameterized'] tests_require = ['mock >= 2.0.0', 'pytest', 'pytest-mock', 'parameterized']
......
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