Skip to content

Commit

Permalink
GH-1523 Move warning to source file to avoid warning spam on every file
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Sep 7, 2023
1 parent 7a5714d commit b695b40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions libraries/chain/block_header_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

namespace eosio { namespace chain {

#warning Add last_proposed_finalizer_set_generation to snapshot_block_header_state_v3, see header file TODO

namespace detail {
bool is_builtin_activated( const protocol_feature_activation_set_ptr& pfa,
const protocol_feature_set& pfs,
Expand Down
1 change: 0 additions & 1 deletion libraries/chain/include/eosio/chain/block_header_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ namespace detail {
uint32_t dpos_proposed_irreversible_blocknum = 0;
uint32_t dpos_irreversible_blocknum = 0;
producer_authority_schedule active_schedule;
#warning Add to snapshot_block_header_state_v3
uint32_t last_proposed_finalizer_set_generation = 0; // TODO: Add to snapshot_block_header_state_v3
incremental_merkle blockroot_merkle;
flat_map<account_name,uint32_t> producer_to_last_produced;
Expand Down

0 comments on commit b695b40

Please sign in to comment.