0.22

[0.22.3]

Added

Changed

  • Wallet API method create_vesting_cdd_policy now have new arg: const fc::time_point_sec& start_claim.
  • Wallet API method get_account_addresses now accepting account name or id, not account id only.
  • vesting_balance_create_evaluator::do_evaluate changed.
  • Renamed Wallet API and Database API methods from 0.22.2: get_incentives_info -> get_current_incentives_info.
  • Removed sidechain_btc_block_process_operation.
  • Removed btc_block_object_type
  • Added block_number field to sidechain_btc_approve_aggregate_operation.

Fixed

  • Clang 12 compiler support.
  • Initial assets core_exchange rate
  • Feeds publishing for initial EETH and EBTC assets by committee members
  • Frozen balances revertion on node stopping that caused sync problems

Changed or added data structures

1
FC_REFLECT(echo::chain::sidechain_btc_approve_aggregate_operation,
2
(fee)(committee_member_id)(transaction_id)(block_number)(extensions))
Copied!

[0.22.2]

Added

Changed

  • Renamed rewards_pool_object -> incentives_pool_object.

Fixed

  • Bad cast exception in wallet import_balance.
  • Use current block timestamp instead of last block in freezing balance and vesting.
  • SIGABORT after starting echo_wallet in Debug build type.
  • log_message throw time exception from boost.
  • Fix processing of missed blocks in btc sidechain.
  • Added missing balances to current supply calculation.
  • Fixed fc::canceled_exception on p2p connection destruction at another thread.

Changed or added data structures

1
FC_REFLECT_ENUM(echo::chain::impl_object_type,
2
(impl_global_property_object_type)
3
(impl_dynamic_global_property_object_type)
4
(impl_asset_dynamic_data_type)
5
(impl_asset_bitasset_data_type)
6
(impl_account_balance_object_type)
7
(impl_account_statistics_object_type)
8
(impl_transaction_dedupe_object_type)
9
(impl_block_summary_object_type)
10
(impl_account_transaction_history_object_type)
11
(impl_chain_property_object_type)
12
(impl_special_authority_object_type)
13
(impl_contract_balance_object_type)
14
(impl_contract_history_object_type)
15
(impl_contract_statistics_object_type)
16
(impl_account_address_object_type)
17
(impl_contract_pool_object_type)
18
(impl_malicious_committeemen_object_type)
19
(impl_incentives_pool_object_type)
20
)
21
22
FC_REFLECT_DERIVED(echo::chain::incentives_pool_object,
23
(echo::db::object),
24
(pool)
25
)
26
27
FC_REFLECT_DERIVED(echo::chain::btc_block_object,
28
(echo::chain::object),
29
(block_number)(is_approved)(approves)(extensions))
30
31
typedef std::variant<transfer_operation,
32
transfer_to_address_operation,
33
override_transfer_operation,
34
account_create_operation,
35
account_update_operation,
36
account_whitelist_operation,
37
account_address_create_operation,
38
asset_create_operation,
39
asset_update_operation,
40
asset_update_bitasset_operation,
41
asset_update_feed_producers_operation,
42
asset_issue_operation,
43
asset_reserve_operation,
44
asset_fund_fee_pool_operation,
45
asset_publish_feed_operation,
46
asset_claim_fees_operation,
47
proposal_create_operation,
48
proposal_update_operation,
49
proposal_delete_operation,
50
committee_member_create_operation,
51
committee_member_update_operation,
52
committee_member_update_global_parameters_operation,
53
committee_member_activate_operation,
54
committee_member_deactivate_operation,
55
committee_frozen_balance_deposit_operation,
56
committee_frozen_balance_withdraw_operation,
57
vesting_balance_create_operation,
58
vesting_balance_withdraw_operation,
59
balance_claim_operation,
60
balance_freeze_operation,
61
balance_unfreeze_operation,
62
request_balance_unfreeze_operation,
63
contract_create_operation,
64
contract_call_operation,
65
contract_internal_create_operation, // VIRTUAL
66
contract_internal_call_operation, // VIRTUAL
67
contract_selfdestruct_operation, // VIRTUAL
68
contract_update_operation,
69
contract_fund_pool_operation,
70
contract_whitelist_operation,
71
sidechain_eth_create_address_operation,
72
sidechain_eth_approve_address_operation,
73
sidechain_eth_deposit_operation,
74
sidechain_eth_send_deposit_operation,
75
sidechain_eth_withdraw_operation,
76
sidechain_eth_send_withdraw_operation,
77
sidechain_eth_approve_withdraw_operation,
78
sidechain_eth_update_contract_address_operation,
79
sidechain_issue_operation, // VIRTUAL
80
sidechain_burn_operation, // VIRTUAL
81
sidechain_erc20_register_token_operation,
82
sidechain_erc20_deposit_token_operation,
83
sidechain_erc20_send_deposit_operation,
84
sidechain_erc20_withdraw_token_operation,
85
sidechain_erc20_send_withdraw_operation,
86
sidechain_erc20_approve_token_withdraw_operation,
87
sidechain_erc20_issue_operation, // VIRTUAL
88
sidechain_erc20_burn_operation, // VIRTUAL
89
sidechain_btc_create_address_operation,
90
sidechain_btc_create_intermediate_deposit_operation,
91
sidechain_btc_intermediate_deposit_operation,
92
sidechain_btc_deposit_operation,
93
sidechain_btc_withdraw_operation,
94
sidechain_btc_aggregate_operation,
95
sidechain_btc_approve_aggregate_operation,
96
sidechain_btc_block_process_operation,
97
block_reward_operation, // VIRTUAL
98
evm_address_register_operation,
99
did_create_operation,
100
did_update_operation,
101
did_delete_operation>
102
operation;
103
104
FC_REFLECT(echo::chain::sidechain_btc_block_process_operation,
105
(fee)(committee_member_id)(block_number)(extensions))
106
FC_REFLECT(echo::chain::sidechain_btc_block_process_operation::fee_parameters_type, (fee))
107
108
FC_REFLECT_DERIVED(echo::chain::dynamic_global_property_object,
109
(echo::db::object),
110
(head_block_number)(head_block_id)(time)(next_maintenance_time)(last_budget_time)(committee_budget)
111
(dynamic_flags)(last_irreversible_block_num)(last_block_of_previous_interval)(last_processed_btc_block)(extensions))
Copied!

[0.22.1]

Added

  • Some economy and echorand params restrinctions. economy_config.pool_divider, economy_config.blocks_in_interval, echorand_config._ok_threshold should be greater than 0.

Changed

  • Field address of eth_getLogs, eth_newFilter methods accept both single address or addresses array.
  • eth_getLogs, eth_newFilter methods could be called with null or without arguments.
  • Method get_block with 0 in argument return genesis block.
  • Method eth_chainId in ethrpc return uint_t instead of hash_t.

Fixed

  • Wallet methods which send transactions throw an error if key to sign hasn't imported.
  • Fees for contract operations.

[0.22.0]

Added

  • Object rewards_pool_object.
  • Operation request_unfreeze_balance_operation.
  • Wallet API method request_unfreeze_balance.
  • Field min_request_time to frozen_balance_object.
  • Field balance_unfreezing_time to chain_parameters.
  • Field economy_config to chain_parameters.
  • Field last_block_of_previous_interval to dynamic_global_property_object.

Changed

  • Field unfreeze_time in frozen_balance_object is optional now.
  • get_erc20_token method in wallet API may take as argument contract id in Echo network.
  • Creation and execution of x86_64 contract is currently disabled.
  • did_api is disabled.
  • API methods add_verifiable_credential, get_verifiable_credential_keywords, get_verifiable_credential, get_all_verifiable_credentials, get_did_object_key, get_verifiable_presentation, validate_verifiable_presentation, validate_verifiable_credential also is currently disabled.
  • did_create_operation, did_update_operation, did_delete_operation isn't execute now. If you try to send this operation, you would have exception Currently isn't supported.

Removed

  • help_method in wallet API. Now help with name of method do the same like help_method. If you want to get all methods, call help without arguments.
  • Field block_emission_amount in chain_parameters.
  • Field block_producer_reward_ratio in chain_parameters.

Changed or added data structures

1
FC_REFLECT_ENUM(echo::chain::impl_object_type,
2
(impl_global_property_object_type)
3
(impl_dynamic_global_property_object_type)
4
(impl_asset_dynamic_data_type)
5
(impl_asset_bitasset_data_type)
6
(impl_account_balance_object_type)
7
(impl_account_statistics_object_type)
8
(impl_transaction_dedupe_object_type)
9
(impl_block_summary_object_type)
10
(impl_account_transaction_history_object_type)
11
(impl_chain_property_object_type)
12
(impl_special_authority_object_type)
13
(impl_contract_balance_object_type)
14
(impl_contract_history_object_type)
15
(impl_contract_statistics_object_type)
16
(impl_account_address_object_type)
17
(impl_contract_pool_object_type)
18
(impl_malicious_committeemen_object_type)
19
(impl_rewards_pool_object_type)
20
)
21
22
23
FC_REFLECT_DERIVED(echo::chain::frozen_balance_object,
24
(echo::db::object),
25
(owner)
26
(balance)
27
(multiplier)
28
(min_request_time)
29
(unfreeze_time)
30
(extensions)
31
)
32
33
34
FC_REFLECT_DERIVED(echo::chain::dynamic_global_property_object,
35
(echo::db::object),
36
(head_block_number)
37
(head_block_id)
38
(time)
39
(next_maintenance_time)
40
(last_budget_time)
41
(committee_budget)
42
(dynamic_flags)
43
(last_irreversible_block_num)
44
(last_block_of_previous_interval)
45
(extensions)
46
)
47
48
49
typedef fc::static_variant<transfer_operation,
50
transfer_to_address_operation,
51
override_transfer_operation,
52
account_create_operation,
53
account_update_operation,
54
account_whitelist_operation,
55
account_address_create_operation,
56
asset_create_operation,
57
asset_update_operation,
58
asset_update_bitasset_operation,
59
asset_update_feed_producers_operation,
60
asset_issue_operation,
61
asset_reserve_operation,
62
asset_fund_fee_pool_operation,
63
asset_publish_feed_operation,
64
asset_claim_fees_operation,
65
proposal_create_operation,
66
proposal_update_operation,
67
proposal_delete_operation,
68
committee_member_create_operation,
69
committee_member_update_operation,
70
committee_member_update_global_parameters_operation,
71
committee_member_activate_operation,
72
committee_member_deactivate_operation,
73
committee_frozen_balance_deposit_operation,
74
committee_frozen_balance_withdraw_operation,
75
vesting_balance_create_operation,
76
vesting_balance_withdraw_operation,
77
balance_claim_operation,
78
balance_freeze_operation,
79
balance_unfreeze_operation,
80
request_balance_unfreeze_operation,
81
contract_create_operation,
82
contract_call_operation,
83
contract_internal_create_operation, // VIRTUAL
84
contract_internal_call_operation, // VIRTUAL
85
contract_selfdestruct_operation, // VIRTUAL
86
contract_update_operation,
87
contract_fund_pool_operation,
88
contract_whitelist_operation,
89
sidechain_eth_create_address_operation,
90
sidechain_eth_approve_address_operation,
91
sidechain_eth_deposit_operation,
92
sidechain_eth_send_deposit_operation,
93
sidechain_eth_withdraw_operation,
94
sidechain_eth_send_withdraw_operation,
95
sidechain_eth_approve_withdraw_operation,
96
sidechain_eth_update_contract_address_operation,
97
sidechain_issue_operation, // VIRTUAL
98
sidechain_burn_operation, // VIRTUAL
99
sidechain_erc20_register_token_operation,
100
sidechain_erc20_deposit_token_operation,
101
sidechain_erc20_send_deposit_operation,
102
sidechain_erc20_withdraw_token_operation,
103
sidechain_erc20_send_withdraw_operation,
104
sidechain_erc20_approve_token_withdraw_operation,
105
sidechain_erc20_issue_operation, // VIRTUAL
106
sidechain_erc20_burn_operation, // VIRTUAL
107
sidechain_btc_create_address_operation,
108
sidechain_btc_create_intermediate_deposit_operation,
109
sidechain_btc_intermediate_deposit_operation,
110
sidechain_btc_deposit_operation,
111
sidechain_btc_withdraw_operation,
112
sidechain_btc_aggregate_operation,
113
sidechain_btc_approve_aggregate_operation,
114
block_reward_operation, // VIRTUAL
115
evm_address_register_operation,
116
did_create_operation,
117
did_update_operation,
118
did_delete_operation> operation;
119
120
FC_REFLECT(echo::chain::chain_parameters,
121
(current_fees)
122
(maintenance_interval)
123
(maintenance_duration_seconds)
124
(balance_unfreezing_time)
125
(committee_proposal_review_period)
126
(maximum_transaction_size)
127
(maximum_block_size)
128
(maximum_time_until_expiration)
129
(maximum_proposal_lifetime)
130
(maximum_asset_whitelist_authorities)
131
(maximum_asset_feed_publishers)
132
(maximum_authority_membership)
133
(max_authority_depth)
134
(committee_frozen_balance_to_activate)
135
(committee_maintenance_intervals_to_deposit)
136
(committee_balance_unfreeze_duration_seconds)
137
(x86_64_maximum_contract_size)
138
(frozen_balances_multipliers)
139
(echorand_config)
140
(sidechain_config)
141
(erc20_config)
142
(gas_price)
143
(valid_fee_asset)
144
(economy_config)
145
(extensions)
146
)
147
148
FC_REFLECT(echo::economy::config,
149
(blocks_in_interval)
150
(maintenances_in_interval)
151
(block_emission_amount)
152
(block_producer_reward_ratio)
153
(pool_divider)
154
)
155
156
FC_REFLECT_DERIVED(echo::chain::rewards_pool_object,
157
(echo::db::object),
158
(pool)
159
)
Copied!
Last modified 1yr ago