@@ -163,8 +163,11 @@ td::Status ConfigInfo::unpack() {
163163 }
164164 gen::McStateExtra::Record extra_info;
165165 if (!tlb::unpack_cell (state_extra_root_, extra_info)) {
166- vm::load_cell_slice (state_extra_root_).print_rec (std::cerr);
167- block::gen::t_McStateExtra.print_ref (std::cerr, state_extra_root_);
166+ FLOG (WARNING) {
167+ sb << " state extra information is invalid: " ;
168+ vm::load_cell_slice (state_extra_root_).print_rec (sb);
169+ block::gen::t_McStateExtra.print_ref (sb, state_extra_root_);
170+ };
168171 return td::Status::Error (" state extra information is invalid" );
169172 }
170173 gen::ValidatorInfo::Record validator_info;
@@ -1067,7 +1070,6 @@ Ref<McShardHash> ShardConfig::get_shard_hash(ton::ShardIdFull id, bool exact) co
10671070 ton::ShardIdFull true_id;
10681071 vm::CellSlice cs;
10691072 if (get_shard_hash_raw (cs, id, true_id, exact)) {
1070- // block::gen::t_ShardDescr.print(std::cerr, vm::CellSlice{cs});
10711073 return McShardHash::unpack (cs, true_id);
10721074 } else {
10731075 return {};
@@ -1637,8 +1639,10 @@ bool ShardConfig::set_shard_info(ton::ShardIdFull shard, Ref<vm::Cell> value) {
16371639 if (!gen::t_BinTree_ShardDescr.validate_ref (1024 , value)) {
16381640 LOG (ERROR) << " attempting to store an invalid (BinTree ShardDescr) at shard configuration position "
16391641 << shard.to_str ();
1640- gen::t_BinTree_ShardDescr.print_ref (std::cerr, value);
1641- vm::load_cell_slice (value).print_rec (std::cerr);
1642+ FLOG (WARNING) {
1643+ gen::t_BinTree_ShardDescr.print_ref (sb, value);
1644+ vm::load_cell_slice (value).print_rec (sb);
1645+ };
16421646 return false ;
16431647 }
16441648 auto root = shard_hashes_dict_->lookup_ref (td::BitArray<32 >{shard.workchain });
@@ -1956,6 +1960,7 @@ td::Result<SizeLimitsConfig> Config::do_get_size_limits_config(td::Ref<vm::CellS
19561960 limits.max_acc_state_cells = rec.max_acc_state_cells ;
19571961 limits.max_acc_public_libraries = rec.max_acc_public_libraries ;
19581962 limits.defer_out_queue_size_limit = rec.defer_out_queue_size_limit ;
1963+ limits.max_msg_extra_currencies = rec.max_msg_extra_currencies ;
19591964 };
19601965 gen::SizeLimitsConfig::Record_size_limits_config rec_v1;
19611966 gen::SizeLimitsConfig::Record_size_limits_config_v2 rec_v2;
0 commit comments