Struct iota_protocol_config::ProtocolConfig
source · pub struct ProtocolConfig {
pub version: ProtocolVersion,
/* private fields */
}
Expand description
Constants that change the behavior of the protocol.
The value of each constant here must be fixed for a given protocol version.
To change the value of a constant, advance the protocol version, and add
support for it in get_for_version
under the new version number.
(below).
To add a new field to this struct, use the following procedure:
- Advance the protocol version.
- Add the field as a private
Option<T>
to the struct. - Initialize the field to
None
in prior protocol versions. - Initialize the field to
Some(val)
for your new protocol version. - Add a public getter that simply unwraps the field.
- Two public getters of the form
field(&self) -> field_type
andfield_as_option(&self) -> Option<field_type>
will be automatically generated for you. Example for a field:new_constant: Option<u64>
pub fn new_constant(&self) -> u64 {
self.new_constant.expect(Self::CONSTANT_ERR_MSG)
}
pub fn new_constant_as_option(&self) -> Option<u64> {
self.new_constant.expect(Self::CONSTANT_ERR_MSG)
}
With pub fn new_constant(&self) -> u64
, if the constant is accessed in a
protocol version in which it is not defined, the validator will crash.
(Crashing is necessary because this type of error would almost always result
in forking if not prevented here). If you don’t want the validator to crash,
you can use the pub fn new_constant_as_option(&self) -> Option<u64>
getter, which will return None
if the field is not defined at that
version.
- If you want a customized getter, you can add a method in the impl.
Fields§
§version: ProtocolVersion
Implementations§
source§impl ProtocolConfig
impl ProtocolConfig
pub fn max_tx_size_bytes(&self) -> u64
pub fn max_tx_size_bytes_as_option(&self) -> Option<u64>
pub fn max_input_objects(&self) -> u64
pub fn max_input_objects_as_option(&self) -> Option<u64>
pub fn max_size_written_objects(&self) -> u64
pub fn max_size_written_objects_as_option(&self) -> Option<u64>
pub fn max_size_written_objects_system_tx(&self) -> u64
pub fn max_size_written_objects_system_tx_as_option(&self) -> Option<u64>
pub fn max_serialized_tx_effects_size_bytes(&self) -> u64
pub fn max_serialized_tx_effects_size_bytes_as_option(&self) -> Option<u64>
pub fn max_serialized_tx_effects_size_bytes_system_tx(&self) -> u64
pub fn max_serialized_tx_effects_size_bytes_system_tx_as_option( &self, ) -> Option<u64>
pub fn max_gas_payment_objects(&self) -> u32
pub fn max_gas_payment_objects_as_option(&self) -> Option<u32>
pub fn max_modules_in_publish(&self) -> u32
pub fn max_modules_in_publish_as_option(&self) -> Option<u32>
pub fn max_package_dependencies(&self) -> u32
pub fn max_package_dependencies_as_option(&self) -> Option<u32>
pub fn max_arguments(&self) -> u32
pub fn max_arguments_as_option(&self) -> Option<u32>
pub fn max_type_arguments(&self) -> u32
pub fn max_type_arguments_as_option(&self) -> Option<u32>
pub fn max_type_argument_depth(&self) -> u32
pub fn max_type_argument_depth_as_option(&self) -> Option<u32>
pub fn max_pure_argument_size(&self) -> u32
pub fn max_pure_argument_size_as_option(&self) -> Option<u32>
pub fn max_programmable_tx_commands(&self) -> u32
pub fn max_programmable_tx_commands_as_option(&self) -> Option<u32>
pub fn move_binary_format_version(&self) -> u32
pub fn move_binary_format_version_as_option(&self) -> Option<u32>
pub fn min_move_binary_format_version(&self) -> u32
pub fn min_move_binary_format_version_as_option(&self) -> Option<u32>
pub fn binary_module_handles(&self) -> u16
pub fn binary_module_handles_as_option(&self) -> Option<u16>
pub fn binary_struct_handles(&self) -> u16
pub fn binary_struct_handles_as_option(&self) -> Option<u16>
pub fn binary_function_handles(&self) -> u16
pub fn binary_function_handles_as_option(&self) -> Option<u16>
pub fn binary_function_instantiations(&self) -> u16
pub fn binary_function_instantiations_as_option(&self) -> Option<u16>
pub fn binary_signatures(&self) -> u16
pub fn binary_signatures_as_option(&self) -> Option<u16>
pub fn binary_constant_pool(&self) -> u16
pub fn binary_constant_pool_as_option(&self) -> Option<u16>
pub fn binary_identifiers(&self) -> u16
pub fn binary_identifiers_as_option(&self) -> Option<u16>
pub fn binary_address_identifiers(&self) -> u16
pub fn binary_address_identifiers_as_option(&self) -> Option<u16>
pub fn binary_struct_defs(&self) -> u16
pub fn binary_struct_defs_as_option(&self) -> Option<u16>
pub fn binary_struct_def_instantiations(&self) -> u16
pub fn binary_struct_def_instantiations_as_option(&self) -> Option<u16>
pub fn binary_function_defs(&self) -> u16
pub fn binary_function_defs_as_option(&self) -> Option<u16>
pub fn binary_field_handles(&self) -> u16
pub fn binary_field_handles_as_option(&self) -> Option<u16>
pub fn binary_field_instantiations(&self) -> u16
pub fn binary_field_instantiations_as_option(&self) -> Option<u16>
pub fn binary_friend_decls(&self) -> u16
pub fn binary_friend_decls_as_option(&self) -> Option<u16>
pub fn binary_enum_defs(&self) -> u16
pub fn binary_enum_defs_as_option(&self) -> Option<u16>
pub fn binary_enum_def_instantiations(&self) -> u16
pub fn binary_enum_def_instantiations_as_option(&self) -> Option<u16>
pub fn binary_variant_handles(&self) -> u16
pub fn binary_variant_handles_as_option(&self) -> Option<u16>
pub fn binary_variant_instantiation_handles(&self) -> u16
pub fn binary_variant_instantiation_handles_as_option(&self) -> Option<u16>
pub fn max_move_object_size(&self) -> u64
pub fn max_move_object_size_as_option(&self) -> Option<u64>
pub fn max_move_package_size(&self) -> u64
pub fn max_move_package_size_as_option(&self) -> Option<u64>
pub fn max_publish_or_upgrade_per_ptb(&self) -> u64
pub fn max_publish_or_upgrade_per_ptb_as_option(&self) -> Option<u64>
pub fn max_tx_gas(&self) -> u64
pub fn max_tx_gas_as_option(&self) -> Option<u64>
pub fn max_gas_price(&self) -> u64
pub fn max_gas_price_as_option(&self) -> Option<u64>
pub fn max_gas_computation_bucket(&self) -> u64
pub fn max_gas_computation_bucket_as_option(&self) -> Option<u64>
pub fn gas_rounding_step(&self) -> u64
pub fn gas_rounding_step_as_option(&self) -> Option<u64>
pub fn max_loop_depth(&self) -> u64
pub fn max_loop_depth_as_option(&self) -> Option<u64>
pub fn max_generic_instantiation_length(&self) -> u64
pub fn max_generic_instantiation_length_as_option(&self) -> Option<u64>
pub fn max_function_parameters(&self) -> u64
pub fn max_function_parameters_as_option(&self) -> Option<u64>
pub fn max_basic_blocks(&self) -> u64
pub fn max_basic_blocks_as_option(&self) -> Option<u64>
pub fn max_value_stack_size(&self) -> u64
pub fn max_value_stack_size_as_option(&self) -> Option<u64>
pub fn max_type_nodes(&self) -> u64
pub fn max_type_nodes_as_option(&self) -> Option<u64>
pub fn max_push_size(&self) -> u64
pub fn max_push_size_as_option(&self) -> Option<u64>
pub fn max_struct_definitions(&self) -> u64
pub fn max_struct_definitions_as_option(&self) -> Option<u64>
pub fn max_function_definitions(&self) -> u64
pub fn max_function_definitions_as_option(&self) -> Option<u64>
pub fn max_fields_in_struct(&self) -> u64
pub fn max_fields_in_struct_as_option(&self) -> Option<u64>
pub fn max_dependency_depth(&self) -> u64
pub fn max_dependency_depth_as_option(&self) -> Option<u64>
pub fn max_num_event_emit(&self) -> u64
pub fn max_num_event_emit_as_option(&self) -> Option<u64>
pub fn max_num_new_move_object_ids(&self) -> u64
pub fn max_num_new_move_object_ids_as_option(&self) -> Option<u64>
pub fn max_num_new_move_object_ids_system_tx(&self) -> u64
pub fn max_num_new_move_object_ids_system_tx_as_option(&self) -> Option<u64>
pub fn max_num_deleted_move_object_ids(&self) -> u64
pub fn max_num_deleted_move_object_ids_as_option(&self) -> Option<u64>
pub fn max_num_deleted_move_object_ids_system_tx(&self) -> u64
pub fn max_num_deleted_move_object_ids_system_tx_as_option(&self) -> Option<u64>
pub fn max_num_transferred_move_object_ids(&self) -> u64
pub fn max_num_transferred_move_object_ids_as_option(&self) -> Option<u64>
pub fn max_num_transferred_move_object_ids_system_tx(&self) -> u64
pub fn max_num_transferred_move_object_ids_system_tx_as_option( &self, ) -> Option<u64>
pub fn max_event_emit_size(&self) -> u64
pub fn max_event_emit_size_as_option(&self) -> Option<u64>
pub fn max_event_emit_size_total(&self) -> u64
pub fn max_event_emit_size_total_as_option(&self) -> Option<u64>
pub fn max_move_vector_len(&self) -> u64
pub fn max_move_vector_len_as_option(&self) -> Option<u64>
pub fn max_move_identifier_len(&self) -> u64
pub fn max_move_identifier_len_as_option(&self) -> Option<u64>
pub fn max_move_value_depth(&self) -> u64
pub fn max_move_value_depth_as_option(&self) -> Option<u64>
pub fn max_move_enum_variants(&self) -> u64
pub fn max_move_enum_variants_as_option(&self) -> Option<u64>
pub fn max_back_edges_per_function(&self) -> u64
pub fn max_back_edges_per_function_as_option(&self) -> Option<u64>
pub fn max_back_edges_per_module(&self) -> u64
pub fn max_back_edges_per_module_as_option(&self) -> Option<u64>
pub fn max_verifier_meter_ticks_per_function(&self) -> u64
pub fn max_verifier_meter_ticks_per_function_as_option(&self) -> Option<u64>
pub fn max_meter_ticks_per_module(&self) -> u64
pub fn max_meter_ticks_per_module_as_option(&self) -> Option<u64>
pub fn max_meter_ticks_per_package(&self) -> u64
pub fn max_meter_ticks_per_package_as_option(&self) -> Option<u64>
pub fn object_runtime_max_num_cached_objects(&self) -> u64
pub fn object_runtime_max_num_cached_objects_as_option(&self) -> Option<u64>
pub fn object_runtime_max_num_cached_objects_system_tx(&self) -> u64
pub fn object_runtime_max_num_cached_objects_system_tx_as_option( &self, ) -> Option<u64>
pub fn object_runtime_max_num_store_entries(&self) -> u64
pub fn object_runtime_max_num_store_entries_as_option(&self) -> Option<u64>
pub fn object_runtime_max_num_store_entries_system_tx(&self) -> u64
pub fn object_runtime_max_num_store_entries_system_tx_as_option( &self, ) -> Option<u64>
pub fn base_tx_cost_fixed(&self) -> u64
pub fn base_tx_cost_fixed_as_option(&self) -> Option<u64>
pub fn package_publish_cost_fixed(&self) -> u64
pub fn package_publish_cost_fixed_as_option(&self) -> Option<u64>
pub fn base_tx_cost_per_byte(&self) -> u64
pub fn base_tx_cost_per_byte_as_option(&self) -> Option<u64>
pub fn package_publish_cost_per_byte(&self) -> u64
pub fn package_publish_cost_per_byte_as_option(&self) -> Option<u64>
pub fn obj_access_cost_read_per_byte(&self) -> u64
pub fn obj_access_cost_read_per_byte_as_option(&self) -> Option<u64>
pub fn obj_access_cost_mutate_per_byte(&self) -> u64
pub fn obj_access_cost_mutate_per_byte_as_option(&self) -> Option<u64>
pub fn obj_access_cost_delete_per_byte(&self) -> u64
pub fn obj_access_cost_delete_per_byte_as_option(&self) -> Option<u64>
pub fn obj_access_cost_verify_per_byte(&self) -> u64
pub fn obj_access_cost_verify_per_byte_as_option(&self) -> Option<u64>
pub fn gas_model_version(&self) -> u64
pub fn gas_model_version_as_option(&self) -> Option<u64>
pub fn obj_data_cost_refundable(&self) -> u64
pub fn obj_data_cost_refundable_as_option(&self) -> Option<u64>
pub fn obj_metadata_cost_non_refundable(&self) -> u64
pub fn obj_metadata_cost_non_refundable_as_option(&self) -> Option<u64>
pub fn storage_rebate_rate(&self) -> u64
pub fn storage_rebate_rate_as_option(&self) -> Option<u64>
pub fn reward_slashing_rate(&self) -> u64
pub fn reward_slashing_rate_as_option(&self) -> Option<u64>
pub fn storage_gas_price(&self) -> u64
pub fn storage_gas_price_as_option(&self) -> Option<u64>
pub fn validator_target_reward(&self) -> u64
pub fn validator_target_reward_as_option(&self) -> Option<u64>
pub fn max_transactions_per_checkpoint(&self) -> u64
pub fn max_transactions_per_checkpoint_as_option(&self) -> Option<u64>
pub fn max_checkpoint_size_bytes(&self) -> u64
pub fn max_checkpoint_size_bytes_as_option(&self) -> Option<u64>
pub fn buffer_stake_for_protocol_upgrade_bps(&self) -> u64
pub fn buffer_stake_for_protocol_upgrade_bps_as_option(&self) -> Option<u64>
pub fn address_from_bytes_cost_base(&self) -> u64
pub fn address_from_bytes_cost_base_as_option(&self) -> Option<u64>
pub fn address_to_u256_cost_base(&self) -> u64
pub fn address_to_u256_cost_base_as_option(&self) -> Option<u64>
pub fn address_from_u256_cost_base(&self) -> u64
pub fn address_from_u256_cost_base_as_option(&self) -> Option<u64>
pub fn config_read_setting_impl_cost_base(&self) -> u64
pub fn config_read_setting_impl_cost_base_as_option(&self) -> Option<u64>
pub fn config_read_setting_impl_cost_per_byte(&self) -> u64
pub fn config_read_setting_impl_cost_per_byte_as_option(&self) -> Option<u64>
pub fn dynamic_field_hash_type_and_key_cost_base(&self) -> u64
pub fn dynamic_field_hash_type_and_key_cost_base_as_option(&self) -> Option<u64>
pub fn dynamic_field_hash_type_and_key_type_cost_per_byte(&self) -> u64
pub fn dynamic_field_hash_type_and_key_type_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn dynamic_field_hash_type_and_key_value_cost_per_byte(&self) -> u64
pub fn dynamic_field_hash_type_and_key_value_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn dynamic_field_hash_type_and_key_type_tag_cost_per_byte(&self) -> u64
pub fn dynamic_field_hash_type_and_key_type_tag_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn dynamic_field_add_child_object_cost_base(&self) -> u64
pub fn dynamic_field_add_child_object_cost_base_as_option(&self) -> Option<u64>
pub fn dynamic_field_add_child_object_type_cost_per_byte(&self) -> u64
pub fn dynamic_field_add_child_object_type_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn dynamic_field_add_child_object_value_cost_per_byte(&self) -> u64
pub fn dynamic_field_add_child_object_value_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn dynamic_field_add_child_object_struct_tag_cost_per_byte(&self) -> u64
pub fn dynamic_field_add_child_object_struct_tag_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn dynamic_field_borrow_child_object_cost_base(&self) -> u64
pub fn dynamic_field_borrow_child_object_cost_base_as_option( &self, ) -> Option<u64>
pub fn dynamic_field_borrow_child_object_child_ref_cost_per_byte(&self) -> u64
pub fn dynamic_field_borrow_child_object_child_ref_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn dynamic_field_borrow_child_object_type_cost_per_byte(&self) -> u64
pub fn dynamic_field_borrow_child_object_type_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn dynamic_field_remove_child_object_cost_base(&self) -> u64
pub fn dynamic_field_remove_child_object_cost_base_as_option( &self, ) -> Option<u64>
pub fn dynamic_field_remove_child_object_child_cost_per_byte(&self) -> u64
pub fn dynamic_field_remove_child_object_child_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn dynamic_field_remove_child_object_type_cost_per_byte(&self) -> u64
pub fn dynamic_field_remove_child_object_type_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn dynamic_field_has_child_object_cost_base(&self) -> u64
pub fn dynamic_field_has_child_object_cost_base_as_option(&self) -> Option<u64>
pub fn dynamic_field_has_child_object_with_ty_cost_base(&self) -> u64
pub fn dynamic_field_has_child_object_with_ty_cost_base_as_option( &self, ) -> Option<u64>
pub fn dynamic_field_has_child_object_with_ty_type_cost_per_byte(&self) -> u64
pub fn dynamic_field_has_child_object_with_ty_type_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn dynamic_field_has_child_object_with_ty_type_tag_cost_per_byte( &self, ) -> u64
pub fn dynamic_field_has_child_object_with_ty_type_tag_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn event_emit_cost_base(&self) -> u64
pub fn event_emit_cost_base_as_option(&self) -> Option<u64>
pub fn event_emit_value_size_derivation_cost_per_byte(&self) -> u64
pub fn event_emit_value_size_derivation_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn event_emit_tag_size_derivation_cost_per_byte(&self) -> u64
pub fn event_emit_tag_size_derivation_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn event_emit_output_cost_per_byte(&self) -> u64
pub fn event_emit_output_cost_per_byte_as_option(&self) -> Option<u64>
pub fn object_borrow_uid_cost_base(&self) -> u64
pub fn object_borrow_uid_cost_base_as_option(&self) -> Option<u64>
pub fn object_delete_impl_cost_base(&self) -> u64
pub fn object_delete_impl_cost_base_as_option(&self) -> Option<u64>
pub fn object_record_new_uid_cost_base(&self) -> u64
pub fn object_record_new_uid_cost_base_as_option(&self) -> Option<u64>
pub fn transfer_transfer_internal_cost_base(&self) -> u64
pub fn transfer_transfer_internal_cost_base_as_option(&self) -> Option<u64>
pub fn transfer_freeze_object_cost_base(&self) -> u64
pub fn transfer_freeze_object_cost_base_as_option(&self) -> Option<u64>
pub fn transfer_receive_object_cost_base(&self) -> u64
pub fn transfer_receive_object_cost_base_as_option(&self) -> Option<u64>
pub fn tx_context_derive_id_cost_base(&self) -> u64
pub fn tx_context_derive_id_cost_base_as_option(&self) -> Option<u64>
pub fn types_is_one_time_witness_cost_base(&self) -> u64
pub fn types_is_one_time_witness_cost_base_as_option(&self) -> Option<u64>
pub fn types_is_one_time_witness_type_tag_cost_per_byte(&self) -> u64
pub fn types_is_one_time_witness_type_tag_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn types_is_one_time_witness_type_cost_per_byte(&self) -> u64
pub fn types_is_one_time_witness_type_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn validator_validate_metadata_cost_base(&self) -> u64
pub fn validator_validate_metadata_cost_base_as_option(&self) -> Option<u64>
pub fn validator_validate_metadata_data_cost_per_byte(&self) -> u64
pub fn validator_validate_metadata_data_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn crypto_invalid_arguments_cost(&self) -> u64
pub fn crypto_invalid_arguments_cost_as_option(&self) -> Option<u64>
pub fn bls12381_bls12381_min_sig_verify_cost_base(&self) -> u64
pub fn bls12381_bls12381_min_sig_verify_cost_base_as_option( &self, ) -> Option<u64>
pub fn bls12381_bls12381_min_sig_verify_msg_cost_per_byte(&self) -> u64
pub fn bls12381_bls12381_min_sig_verify_msg_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn bls12381_bls12381_min_sig_verify_msg_cost_per_block(&self) -> u64
pub fn bls12381_bls12381_min_sig_verify_msg_cost_per_block_as_option( &self, ) -> Option<u64>
pub fn bls12381_bls12381_min_pk_verify_cost_base(&self) -> u64
pub fn bls12381_bls12381_min_pk_verify_cost_base_as_option(&self) -> Option<u64>
pub fn bls12381_bls12381_min_pk_verify_msg_cost_per_byte(&self) -> u64
pub fn bls12381_bls12381_min_pk_verify_msg_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn bls12381_bls12381_min_pk_verify_msg_cost_per_block(&self) -> u64
pub fn bls12381_bls12381_min_pk_verify_msg_cost_per_block_as_option( &self, ) -> Option<u64>
pub fn ecdsa_k1_ecrecover_keccak256_cost_base(&self) -> u64
pub fn ecdsa_k1_ecrecover_keccak256_cost_base_as_option(&self) -> Option<u64>
pub fn ecdsa_k1_ecrecover_keccak256_msg_cost_per_byte(&self) -> u64
pub fn ecdsa_k1_ecrecover_keccak256_msg_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn ecdsa_k1_ecrecover_keccak256_msg_cost_per_block(&self) -> u64
pub fn ecdsa_k1_ecrecover_keccak256_msg_cost_per_block_as_option( &self, ) -> Option<u64>
pub fn ecdsa_k1_ecrecover_sha256_cost_base(&self) -> u64
pub fn ecdsa_k1_ecrecover_sha256_cost_base_as_option(&self) -> Option<u64>
pub fn ecdsa_k1_ecrecover_sha256_msg_cost_per_byte(&self) -> u64
pub fn ecdsa_k1_ecrecover_sha256_msg_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn ecdsa_k1_ecrecover_sha256_msg_cost_per_block(&self) -> u64
pub fn ecdsa_k1_ecrecover_sha256_msg_cost_per_block_as_option( &self, ) -> Option<u64>
pub fn ecdsa_k1_decompress_pubkey_cost_base(&self) -> u64
pub fn ecdsa_k1_decompress_pubkey_cost_base_as_option(&self) -> Option<u64>
pub fn ecdsa_k1_secp256k1_verify_keccak256_cost_base(&self) -> u64
pub fn ecdsa_k1_secp256k1_verify_keccak256_cost_base_as_option( &self, ) -> Option<u64>
pub fn ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_byte(&self) -> u64
pub fn ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_block(&self) -> u64
pub fn ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_block_as_option( &self, ) -> Option<u64>
pub fn ecdsa_k1_secp256k1_verify_sha256_cost_base(&self) -> u64
pub fn ecdsa_k1_secp256k1_verify_sha256_cost_base_as_option( &self, ) -> Option<u64>
pub fn ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_byte(&self) -> u64
pub fn ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_block(&self) -> u64
pub fn ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_block_as_option( &self, ) -> Option<u64>
pub fn ecdsa_r1_ecrecover_keccak256_cost_base(&self) -> u64
pub fn ecdsa_r1_ecrecover_keccak256_cost_base_as_option(&self) -> Option<u64>
pub fn ecdsa_r1_ecrecover_keccak256_msg_cost_per_byte(&self) -> u64
pub fn ecdsa_r1_ecrecover_keccak256_msg_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn ecdsa_r1_ecrecover_keccak256_msg_cost_per_block(&self) -> u64
pub fn ecdsa_r1_ecrecover_keccak256_msg_cost_per_block_as_option( &self, ) -> Option<u64>
pub fn ecdsa_r1_ecrecover_sha256_cost_base(&self) -> u64
pub fn ecdsa_r1_ecrecover_sha256_cost_base_as_option(&self) -> Option<u64>
pub fn ecdsa_r1_ecrecover_sha256_msg_cost_per_byte(&self) -> u64
pub fn ecdsa_r1_ecrecover_sha256_msg_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn ecdsa_r1_ecrecover_sha256_msg_cost_per_block(&self) -> u64
pub fn ecdsa_r1_ecrecover_sha256_msg_cost_per_block_as_option( &self, ) -> Option<u64>
pub fn ecdsa_r1_secp256r1_verify_keccak256_cost_base(&self) -> u64
pub fn ecdsa_r1_secp256r1_verify_keccak256_cost_base_as_option( &self, ) -> Option<u64>
pub fn ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_byte(&self) -> u64
pub fn ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_block(&self) -> u64
pub fn ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_block_as_option( &self, ) -> Option<u64>
pub fn ecdsa_r1_secp256r1_verify_sha256_cost_base(&self) -> u64
pub fn ecdsa_r1_secp256r1_verify_sha256_cost_base_as_option( &self, ) -> Option<u64>
pub fn ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_byte(&self) -> u64
pub fn ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_block(&self) -> u64
pub fn ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_block_as_option( &self, ) -> Option<u64>
pub fn ecvrf_ecvrf_verify_cost_base(&self) -> u64
pub fn ecvrf_ecvrf_verify_cost_base_as_option(&self) -> Option<u64>
pub fn ecvrf_ecvrf_verify_alpha_string_cost_per_byte(&self) -> u64
pub fn ecvrf_ecvrf_verify_alpha_string_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn ecvrf_ecvrf_verify_alpha_string_cost_per_block(&self) -> u64
pub fn ecvrf_ecvrf_verify_alpha_string_cost_per_block_as_option( &self, ) -> Option<u64>
pub fn ed25519_ed25519_verify_cost_base(&self) -> u64
pub fn ed25519_ed25519_verify_cost_base_as_option(&self) -> Option<u64>
pub fn ed25519_ed25519_verify_msg_cost_per_byte(&self) -> u64
pub fn ed25519_ed25519_verify_msg_cost_per_byte_as_option(&self) -> Option<u64>
pub fn ed25519_ed25519_verify_msg_cost_per_block(&self) -> u64
pub fn ed25519_ed25519_verify_msg_cost_per_block_as_option(&self) -> Option<u64>
pub fn groth16_prepare_verifying_key_bls12381_cost_base(&self) -> u64
pub fn groth16_prepare_verifying_key_bls12381_cost_base_as_option( &self, ) -> Option<u64>
pub fn groth16_prepare_verifying_key_bn254_cost_base(&self) -> u64
pub fn groth16_prepare_verifying_key_bn254_cost_base_as_option( &self, ) -> Option<u64>
pub fn groth16_verify_groth16_proof_internal_bls12381_cost_base(&self) -> u64
pub fn groth16_verify_groth16_proof_internal_bls12381_cost_base_as_option( &self, ) -> Option<u64>
pub fn groth16_verify_groth16_proof_internal_bls12381_cost_per_public_input( &self, ) -> u64
pub fn groth16_verify_groth16_proof_internal_bls12381_cost_per_public_input_as_option( &self, ) -> Option<u64>
pub fn groth16_verify_groth16_proof_internal_bn254_cost_base(&self) -> u64
pub fn groth16_verify_groth16_proof_internal_bn254_cost_base_as_option( &self, ) -> Option<u64>
pub fn groth16_verify_groth16_proof_internal_bn254_cost_per_public_input( &self, ) -> u64
pub fn groth16_verify_groth16_proof_internal_bn254_cost_per_public_input_as_option( &self, ) -> Option<u64>
pub fn groth16_verify_groth16_proof_internal_public_input_cost_per_byte( &self, ) -> u64
pub fn groth16_verify_groth16_proof_internal_public_input_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn hash_blake2b256_cost_base(&self) -> u64
pub fn hash_blake2b256_cost_base_as_option(&self) -> Option<u64>
pub fn hash_blake2b256_data_cost_per_byte(&self) -> u64
pub fn hash_blake2b256_data_cost_per_byte_as_option(&self) -> Option<u64>
pub fn hash_blake2b256_data_cost_per_block(&self) -> u64
pub fn hash_blake2b256_data_cost_per_block_as_option(&self) -> Option<u64>
pub fn hash_keccak256_cost_base(&self) -> u64
pub fn hash_keccak256_cost_base_as_option(&self) -> Option<u64>
pub fn hash_keccak256_data_cost_per_byte(&self) -> u64
pub fn hash_keccak256_data_cost_per_byte_as_option(&self) -> Option<u64>
pub fn hash_keccak256_data_cost_per_block(&self) -> u64
pub fn hash_keccak256_data_cost_per_block_as_option(&self) -> Option<u64>
pub fn poseidon_bn254_cost_base(&self) -> u64
pub fn poseidon_bn254_cost_base_as_option(&self) -> Option<u64>
pub fn poseidon_bn254_cost_per_block(&self) -> u64
pub fn poseidon_bn254_cost_per_block_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_decode_scalar_cost(&self) -> u64
pub fn group_ops_bls12381_decode_scalar_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_decode_g1_cost(&self) -> u64
pub fn group_ops_bls12381_decode_g1_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_decode_g2_cost(&self) -> u64
pub fn group_ops_bls12381_decode_g2_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_decode_gt_cost(&self) -> u64
pub fn group_ops_bls12381_decode_gt_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_scalar_add_cost(&self) -> u64
pub fn group_ops_bls12381_scalar_add_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_g1_add_cost(&self) -> u64
pub fn group_ops_bls12381_g1_add_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_g2_add_cost(&self) -> u64
pub fn group_ops_bls12381_g2_add_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_gt_add_cost(&self) -> u64
pub fn group_ops_bls12381_gt_add_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_scalar_sub_cost(&self) -> u64
pub fn group_ops_bls12381_scalar_sub_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_g1_sub_cost(&self) -> u64
pub fn group_ops_bls12381_g1_sub_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_g2_sub_cost(&self) -> u64
pub fn group_ops_bls12381_g2_sub_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_gt_sub_cost(&self) -> u64
pub fn group_ops_bls12381_gt_sub_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_scalar_mul_cost(&self) -> u64
pub fn group_ops_bls12381_scalar_mul_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_g1_mul_cost(&self) -> u64
pub fn group_ops_bls12381_g1_mul_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_g2_mul_cost(&self) -> u64
pub fn group_ops_bls12381_g2_mul_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_gt_mul_cost(&self) -> u64
pub fn group_ops_bls12381_gt_mul_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_scalar_div_cost(&self) -> u64
pub fn group_ops_bls12381_scalar_div_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_g1_div_cost(&self) -> u64
pub fn group_ops_bls12381_g1_div_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_g2_div_cost(&self) -> u64
pub fn group_ops_bls12381_g2_div_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_gt_div_cost(&self) -> u64
pub fn group_ops_bls12381_gt_div_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_g1_hash_to_base_cost(&self) -> u64
pub fn group_ops_bls12381_g1_hash_to_base_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_g2_hash_to_base_cost(&self) -> u64
pub fn group_ops_bls12381_g2_hash_to_base_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_g1_hash_to_cost_per_byte(&self) -> u64
pub fn group_ops_bls12381_g1_hash_to_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn group_ops_bls12381_g2_hash_to_cost_per_byte(&self) -> u64
pub fn group_ops_bls12381_g2_hash_to_cost_per_byte_as_option( &self, ) -> Option<u64>
pub fn group_ops_bls12381_g1_msm_base_cost(&self) -> u64
pub fn group_ops_bls12381_g1_msm_base_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_g2_msm_base_cost(&self) -> u64
pub fn group_ops_bls12381_g2_msm_base_cost_as_option(&self) -> Option<u64>
pub fn group_ops_bls12381_g1_msm_base_cost_per_input(&self) -> u64
pub fn group_ops_bls12381_g1_msm_base_cost_per_input_as_option( &self, ) -> Option<u64>
pub fn group_ops_bls12381_g2_msm_base_cost_per_input(&self) -> u64
pub fn group_ops_bls12381_g2_msm_base_cost_per_input_as_option( &self, ) -> Option<u64>
pub fn group_ops_bls12381_msm_max_len(&self) -> u32
pub fn group_ops_bls12381_msm_max_len_as_option(&self) -> Option<u32>
pub fn group_ops_bls12381_pairing_cost(&self) -> u64
pub fn group_ops_bls12381_pairing_cost_as_option(&self) -> Option<u64>
pub fn hmac_hmac_sha3_256_cost_base(&self) -> u64
pub fn hmac_hmac_sha3_256_cost_base_as_option(&self) -> Option<u64>
pub fn hmac_hmac_sha3_256_input_cost_per_byte(&self) -> u64
pub fn hmac_hmac_sha3_256_input_cost_per_byte_as_option(&self) -> Option<u64>
pub fn hmac_hmac_sha3_256_input_cost_per_block(&self) -> u64
pub fn hmac_hmac_sha3_256_input_cost_per_block_as_option(&self) -> Option<u64>
pub fn check_zklogin_id_cost_base(&self) -> u64
pub fn check_zklogin_id_cost_base_as_option(&self) -> Option<u64>
pub fn check_zklogin_issuer_cost_base(&self) -> u64
pub fn check_zklogin_issuer_cost_base_as_option(&self) -> Option<u64>
pub fn vdf_verify_vdf_cost(&self) -> u64
pub fn vdf_verify_vdf_cost_as_option(&self) -> Option<u64>
pub fn vdf_hash_to_input_cost(&self) -> u64
pub fn vdf_hash_to_input_cost_as_option(&self) -> Option<u64>
pub fn bcs_per_byte_serialized_cost(&self) -> u64
pub fn bcs_per_byte_serialized_cost_as_option(&self) -> Option<u64>
pub fn bcs_legacy_min_output_size_cost(&self) -> u64
pub fn bcs_legacy_min_output_size_cost_as_option(&self) -> Option<u64>
pub fn bcs_failure_cost(&self) -> u64
pub fn bcs_failure_cost_as_option(&self) -> Option<u64>
pub fn hash_sha2_256_base_cost(&self) -> u64
pub fn hash_sha2_256_base_cost_as_option(&self) -> Option<u64>
pub fn hash_sha2_256_per_byte_cost(&self) -> u64
pub fn hash_sha2_256_per_byte_cost_as_option(&self) -> Option<u64>
pub fn hash_sha2_256_legacy_min_input_len_cost(&self) -> u64
pub fn hash_sha2_256_legacy_min_input_len_cost_as_option(&self) -> Option<u64>
pub fn hash_sha3_256_base_cost(&self) -> u64
pub fn hash_sha3_256_base_cost_as_option(&self) -> Option<u64>
pub fn hash_sha3_256_per_byte_cost(&self) -> u64
pub fn hash_sha3_256_per_byte_cost_as_option(&self) -> Option<u64>
pub fn hash_sha3_256_legacy_min_input_len_cost(&self) -> u64
pub fn hash_sha3_256_legacy_min_input_len_cost_as_option(&self) -> Option<u64>
pub fn type_name_get_base_cost(&self) -> u64
pub fn type_name_get_base_cost_as_option(&self) -> Option<u64>
pub fn type_name_get_per_byte_cost(&self) -> u64
pub fn type_name_get_per_byte_cost_as_option(&self) -> Option<u64>
pub fn string_check_utf8_base_cost(&self) -> u64
pub fn string_check_utf8_base_cost_as_option(&self) -> Option<u64>
pub fn string_check_utf8_per_byte_cost(&self) -> u64
pub fn string_check_utf8_per_byte_cost_as_option(&self) -> Option<u64>
pub fn string_is_char_boundary_base_cost(&self) -> u64
pub fn string_is_char_boundary_base_cost_as_option(&self) -> Option<u64>
pub fn string_sub_string_base_cost(&self) -> u64
pub fn string_sub_string_base_cost_as_option(&self) -> Option<u64>
pub fn string_sub_string_per_byte_cost(&self) -> u64
pub fn string_sub_string_per_byte_cost_as_option(&self) -> Option<u64>
pub fn string_index_of_base_cost(&self) -> u64
pub fn string_index_of_base_cost_as_option(&self) -> Option<u64>
pub fn string_index_of_per_byte_pattern_cost(&self) -> u64
pub fn string_index_of_per_byte_pattern_cost_as_option(&self) -> Option<u64>
pub fn string_index_of_per_byte_searched_cost(&self) -> u64
pub fn string_index_of_per_byte_searched_cost_as_option(&self) -> Option<u64>
pub fn vector_empty_base_cost(&self) -> u64
pub fn vector_empty_base_cost_as_option(&self) -> Option<u64>
pub fn vector_length_base_cost(&self) -> u64
pub fn vector_length_base_cost_as_option(&self) -> Option<u64>
pub fn vector_push_back_base_cost(&self) -> u64
pub fn vector_push_back_base_cost_as_option(&self) -> Option<u64>
pub fn vector_push_back_legacy_per_abstract_memory_unit_cost(&self) -> u64
pub fn vector_push_back_legacy_per_abstract_memory_unit_cost_as_option( &self, ) -> Option<u64>
pub fn vector_borrow_base_cost(&self) -> u64
pub fn vector_borrow_base_cost_as_option(&self) -> Option<u64>
pub fn vector_pop_back_base_cost(&self) -> u64
pub fn vector_pop_back_base_cost_as_option(&self) -> Option<u64>
pub fn vector_destroy_empty_base_cost(&self) -> u64
pub fn vector_destroy_empty_base_cost_as_option(&self) -> Option<u64>
pub fn vector_swap_base_cost(&self) -> u64
pub fn vector_swap_base_cost_as_option(&self) -> Option<u64>
pub fn debug_print_base_cost(&self) -> u64
pub fn debug_print_base_cost_as_option(&self) -> Option<u64>
pub fn debug_print_stack_trace_base_cost(&self) -> u64
pub fn debug_print_stack_trace_base_cost_as_option(&self) -> Option<u64>
pub fn execution_version(&self) -> u64
pub fn execution_version_as_option(&self) -> Option<u64>
pub fn consensus_bad_nodes_stake_threshold(&self) -> u64
pub fn consensus_bad_nodes_stake_threshold_as_option(&self) -> Option<u64>
pub fn max_jwk_votes_per_validator_per_epoch(&self) -> u64
pub fn max_jwk_votes_per_validator_per_epoch_as_option(&self) -> Option<u64>
pub fn max_age_of_jwk_in_epochs(&self) -> u64
pub fn max_age_of_jwk_in_epochs_as_option(&self) -> Option<u64>
pub fn random_beacon_reduction_allowed_delta(&self) -> u16
pub fn random_beacon_reduction_allowed_delta_as_option(&self) -> Option<u16>
pub fn random_beacon_reduction_lower_bound(&self) -> u32
pub fn random_beacon_reduction_lower_bound_as_option(&self) -> Option<u32>
pub fn random_beacon_dkg_timeout_round(&self) -> u32
pub fn random_beacon_dkg_timeout_round_as_option(&self) -> Option<u32>
pub fn random_beacon_min_round_interval_ms(&self) -> u64
pub fn random_beacon_min_round_interval_ms_as_option(&self) -> Option<u64>
pub fn random_beacon_dkg_version(&self) -> u64
pub fn random_beacon_dkg_version_as_option(&self) -> Option<u64>
pub fn consensus_max_transaction_size_bytes(&self) -> u64
pub fn consensus_max_transaction_size_bytes_as_option(&self) -> Option<u64>
pub fn consensus_max_transactions_in_block_bytes(&self) -> u64
pub fn consensus_max_transactions_in_block_bytes_as_option(&self) -> Option<u64>
pub fn consensus_max_num_transactions_in_block(&self) -> u64
pub fn consensus_max_num_transactions_in_block_as_option(&self) -> Option<u64>
pub fn max_deferral_rounds_for_congestion_control(&self) -> u64
pub fn max_deferral_rounds_for_congestion_control_as_option( &self, ) -> Option<u64>
pub fn min_checkpoint_interval_ms(&self) -> u64
pub fn min_checkpoint_interval_ms_as_option(&self) -> Option<u64>
pub fn checkpoint_summary_version_specific_data(&self) -> u64
pub fn checkpoint_summary_version_specific_data_as_option(&self) -> Option<u64>
pub fn max_soft_bundle_size(&self) -> u64
pub fn max_soft_bundle_size_as_option(&self) -> Option<u64>
pub fn bridge_should_try_to_finalize_committee(&self) -> bool
pub fn bridge_should_try_to_finalize_committee_as_option(&self) -> Option<bool>
pub fn max_accumulated_txn_cost_per_object_in_mysticeti_commit(&self) -> u64
pub fn max_accumulated_txn_cost_per_object_in_mysticeti_commit_as_option( &self, ) -> Option<u64>
sourcepub fn lookup_attr(&self, value: String) -> Option<ProtocolConfigValue>
pub fn lookup_attr(&self, value: String) -> Option<ProtocolConfigValue>
Lookup a config attribute by its string representation
sourcepub fn attr_map(&self) -> BTreeMap<String, Option<ProtocolConfigValue>>
pub fn attr_map(&self) -> BTreeMap<String, Option<ProtocolConfigValue>>
Get a map of all config attribute from string representations
sourcepub fn lookup_feature(&self, value: String) -> Option<bool>
pub fn lookup_feature(&self, value: String) -> Option<bool>
Get the feature flags
pub fn feature_map(&self) -> BTreeMap<String, bool>
source§impl ProtocolConfig
impl ProtocolConfig
pub fn set_max_tx_size_bytes_for_testing(&mut self, val: u64)
pub fn set_max_tx_size_bytes_from_str_for_testing(&mut self, val: String)
pub fn disable_max_tx_size_bytes_for_testing(&mut self)
pub fn set_max_input_objects_for_testing(&mut self, val: u64)
pub fn set_max_input_objects_from_str_for_testing(&mut self, val: String)
pub fn disable_max_input_objects_for_testing(&mut self)
pub fn set_max_size_written_objects_for_testing(&mut self, val: u64)
pub fn set_max_size_written_objects_from_str_for_testing(&mut self, val: String)
pub fn disable_max_size_written_objects_for_testing(&mut self)
pub fn set_max_size_written_objects_system_tx_for_testing(&mut self, val: u64)
pub fn set_max_size_written_objects_system_tx_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_size_written_objects_system_tx_for_testing(&mut self)
pub fn set_max_serialized_tx_effects_size_bytes_for_testing(&mut self, val: u64)
pub fn set_max_serialized_tx_effects_size_bytes_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_serialized_tx_effects_size_bytes_for_testing(&mut self)
pub fn set_max_serialized_tx_effects_size_bytes_system_tx_for_testing( &mut self, val: u64, )
pub fn set_max_serialized_tx_effects_size_bytes_system_tx_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_serialized_tx_effects_size_bytes_system_tx_for_testing( &mut self, )
pub fn set_max_gas_payment_objects_for_testing(&mut self, val: u32)
pub fn set_max_gas_payment_objects_from_str_for_testing(&mut self, val: String)
pub fn disable_max_gas_payment_objects_for_testing(&mut self)
pub fn set_max_modules_in_publish_for_testing(&mut self, val: u32)
pub fn set_max_modules_in_publish_from_str_for_testing(&mut self, val: String)
pub fn disable_max_modules_in_publish_for_testing(&mut self)
pub fn set_max_package_dependencies_for_testing(&mut self, val: u32)
pub fn set_max_package_dependencies_from_str_for_testing(&mut self, val: String)
pub fn disable_max_package_dependencies_for_testing(&mut self)
pub fn set_max_arguments_for_testing(&mut self, val: u32)
pub fn set_max_arguments_from_str_for_testing(&mut self, val: String)
pub fn disable_max_arguments_for_testing(&mut self)
pub fn set_max_type_arguments_for_testing(&mut self, val: u32)
pub fn set_max_type_arguments_from_str_for_testing(&mut self, val: String)
pub fn disable_max_type_arguments_for_testing(&mut self)
pub fn set_max_type_argument_depth_for_testing(&mut self, val: u32)
pub fn set_max_type_argument_depth_from_str_for_testing(&mut self, val: String)
pub fn disable_max_type_argument_depth_for_testing(&mut self)
pub fn set_max_pure_argument_size_for_testing(&mut self, val: u32)
pub fn set_max_pure_argument_size_from_str_for_testing(&mut self, val: String)
pub fn disable_max_pure_argument_size_for_testing(&mut self)
pub fn set_max_programmable_tx_commands_for_testing(&mut self, val: u32)
pub fn set_max_programmable_tx_commands_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_programmable_tx_commands_for_testing(&mut self)
pub fn set_move_binary_format_version_for_testing(&mut self, val: u32)
pub fn set_move_binary_format_version_from_str_for_testing( &mut self, val: String, )
pub fn disable_move_binary_format_version_for_testing(&mut self)
pub fn set_min_move_binary_format_version_for_testing(&mut self, val: u32)
pub fn set_min_move_binary_format_version_from_str_for_testing( &mut self, val: String, )
pub fn disable_min_move_binary_format_version_for_testing(&mut self)
pub fn set_binary_module_handles_for_testing(&mut self, val: u16)
pub fn set_binary_module_handles_from_str_for_testing(&mut self, val: String)
pub fn disable_binary_module_handles_for_testing(&mut self)
pub fn set_binary_struct_handles_for_testing(&mut self, val: u16)
pub fn set_binary_struct_handles_from_str_for_testing(&mut self, val: String)
pub fn disable_binary_struct_handles_for_testing(&mut self)
pub fn set_binary_function_handles_for_testing(&mut self, val: u16)
pub fn set_binary_function_handles_from_str_for_testing(&mut self, val: String)
pub fn disable_binary_function_handles_for_testing(&mut self)
pub fn set_binary_function_instantiations_for_testing(&mut self, val: u16)
pub fn set_binary_function_instantiations_from_str_for_testing( &mut self, val: String, )
pub fn disable_binary_function_instantiations_for_testing(&mut self)
pub fn set_binary_signatures_for_testing(&mut self, val: u16)
pub fn set_binary_signatures_from_str_for_testing(&mut self, val: String)
pub fn disable_binary_signatures_for_testing(&mut self)
pub fn set_binary_constant_pool_for_testing(&mut self, val: u16)
pub fn set_binary_constant_pool_from_str_for_testing(&mut self, val: String)
pub fn disable_binary_constant_pool_for_testing(&mut self)
pub fn set_binary_identifiers_for_testing(&mut self, val: u16)
pub fn set_binary_identifiers_from_str_for_testing(&mut self, val: String)
pub fn disable_binary_identifiers_for_testing(&mut self)
pub fn set_binary_address_identifiers_for_testing(&mut self, val: u16)
pub fn set_binary_address_identifiers_from_str_for_testing( &mut self, val: String, )
pub fn disable_binary_address_identifiers_for_testing(&mut self)
pub fn set_binary_struct_defs_for_testing(&mut self, val: u16)
pub fn set_binary_struct_defs_from_str_for_testing(&mut self, val: String)
pub fn disable_binary_struct_defs_for_testing(&mut self)
pub fn set_binary_struct_def_instantiations_for_testing(&mut self, val: u16)
pub fn set_binary_struct_def_instantiations_from_str_for_testing( &mut self, val: String, )
pub fn disable_binary_struct_def_instantiations_for_testing(&mut self)
pub fn set_binary_function_defs_for_testing(&mut self, val: u16)
pub fn set_binary_function_defs_from_str_for_testing(&mut self, val: String)
pub fn disable_binary_function_defs_for_testing(&mut self)
pub fn set_binary_field_handles_for_testing(&mut self, val: u16)
pub fn set_binary_field_handles_from_str_for_testing(&mut self, val: String)
pub fn disable_binary_field_handles_for_testing(&mut self)
pub fn set_binary_field_instantiations_for_testing(&mut self, val: u16)
pub fn set_binary_field_instantiations_from_str_for_testing( &mut self, val: String, )
pub fn disable_binary_field_instantiations_for_testing(&mut self)
pub fn set_binary_friend_decls_for_testing(&mut self, val: u16)
pub fn set_binary_friend_decls_from_str_for_testing(&mut self, val: String)
pub fn disable_binary_friend_decls_for_testing(&mut self)
pub fn set_binary_enum_defs_for_testing(&mut self, val: u16)
pub fn set_binary_enum_defs_from_str_for_testing(&mut self, val: String)
pub fn disable_binary_enum_defs_for_testing(&mut self)
pub fn set_binary_enum_def_instantiations_for_testing(&mut self, val: u16)
pub fn set_binary_enum_def_instantiations_from_str_for_testing( &mut self, val: String, )
pub fn disable_binary_enum_def_instantiations_for_testing(&mut self)
pub fn set_binary_variant_handles_for_testing(&mut self, val: u16)
pub fn set_binary_variant_handles_from_str_for_testing(&mut self, val: String)
pub fn disable_binary_variant_handles_for_testing(&mut self)
pub fn set_binary_variant_instantiation_handles_for_testing(&mut self, val: u16)
pub fn set_binary_variant_instantiation_handles_from_str_for_testing( &mut self, val: String, )
pub fn disable_binary_variant_instantiation_handles_for_testing(&mut self)
pub fn set_max_move_object_size_for_testing(&mut self, val: u64)
pub fn set_max_move_object_size_from_str_for_testing(&mut self, val: String)
pub fn disable_max_move_object_size_for_testing(&mut self)
pub fn set_max_move_package_size_for_testing(&mut self, val: u64)
pub fn set_max_move_package_size_from_str_for_testing(&mut self, val: String)
pub fn disable_max_move_package_size_for_testing(&mut self)
pub fn set_max_publish_or_upgrade_per_ptb_for_testing(&mut self, val: u64)
pub fn set_max_publish_or_upgrade_per_ptb_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_publish_or_upgrade_per_ptb_for_testing(&mut self)
pub fn set_max_tx_gas_for_testing(&mut self, val: u64)
pub fn set_max_tx_gas_from_str_for_testing(&mut self, val: String)
pub fn disable_max_tx_gas_for_testing(&mut self)
pub fn set_max_gas_price_for_testing(&mut self, val: u64)
pub fn set_max_gas_price_from_str_for_testing(&mut self, val: String)
pub fn disable_max_gas_price_for_testing(&mut self)
pub fn set_max_gas_computation_bucket_for_testing(&mut self, val: u64)
pub fn set_max_gas_computation_bucket_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_gas_computation_bucket_for_testing(&mut self)
pub fn set_gas_rounding_step_for_testing(&mut self, val: u64)
pub fn set_gas_rounding_step_from_str_for_testing(&mut self, val: String)
pub fn disable_gas_rounding_step_for_testing(&mut self)
pub fn set_max_loop_depth_for_testing(&mut self, val: u64)
pub fn set_max_loop_depth_from_str_for_testing(&mut self, val: String)
pub fn disable_max_loop_depth_for_testing(&mut self)
pub fn set_max_generic_instantiation_length_for_testing(&mut self, val: u64)
pub fn set_max_generic_instantiation_length_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_generic_instantiation_length_for_testing(&mut self)
pub fn set_max_function_parameters_for_testing(&mut self, val: u64)
pub fn set_max_function_parameters_from_str_for_testing(&mut self, val: String)
pub fn disable_max_function_parameters_for_testing(&mut self)
pub fn set_max_basic_blocks_for_testing(&mut self, val: u64)
pub fn set_max_basic_blocks_from_str_for_testing(&mut self, val: String)
pub fn disable_max_basic_blocks_for_testing(&mut self)
pub fn set_max_value_stack_size_for_testing(&mut self, val: u64)
pub fn set_max_value_stack_size_from_str_for_testing(&mut self, val: String)
pub fn disable_max_value_stack_size_for_testing(&mut self)
pub fn set_max_type_nodes_for_testing(&mut self, val: u64)
pub fn set_max_type_nodes_from_str_for_testing(&mut self, val: String)
pub fn disable_max_type_nodes_for_testing(&mut self)
pub fn set_max_push_size_for_testing(&mut self, val: u64)
pub fn set_max_push_size_from_str_for_testing(&mut self, val: String)
pub fn disable_max_push_size_for_testing(&mut self)
pub fn set_max_struct_definitions_for_testing(&mut self, val: u64)
pub fn set_max_struct_definitions_from_str_for_testing(&mut self, val: String)
pub fn disable_max_struct_definitions_for_testing(&mut self)
pub fn set_max_function_definitions_for_testing(&mut self, val: u64)
pub fn set_max_function_definitions_from_str_for_testing(&mut self, val: String)
pub fn disable_max_function_definitions_for_testing(&mut self)
pub fn set_max_fields_in_struct_for_testing(&mut self, val: u64)
pub fn set_max_fields_in_struct_from_str_for_testing(&mut self, val: String)
pub fn disable_max_fields_in_struct_for_testing(&mut self)
pub fn set_max_dependency_depth_for_testing(&mut self, val: u64)
pub fn set_max_dependency_depth_from_str_for_testing(&mut self, val: String)
pub fn disable_max_dependency_depth_for_testing(&mut self)
pub fn set_max_num_event_emit_for_testing(&mut self, val: u64)
pub fn set_max_num_event_emit_from_str_for_testing(&mut self, val: String)
pub fn disable_max_num_event_emit_for_testing(&mut self)
pub fn set_max_num_new_move_object_ids_for_testing(&mut self, val: u64)
pub fn set_max_num_new_move_object_ids_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_num_new_move_object_ids_for_testing(&mut self)
pub fn set_max_num_new_move_object_ids_system_tx_for_testing( &mut self, val: u64, )
pub fn set_max_num_new_move_object_ids_system_tx_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_num_new_move_object_ids_system_tx_for_testing(&mut self)
pub fn set_max_num_deleted_move_object_ids_for_testing(&mut self, val: u64)
pub fn set_max_num_deleted_move_object_ids_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_num_deleted_move_object_ids_for_testing(&mut self)
pub fn set_max_num_deleted_move_object_ids_system_tx_for_testing( &mut self, val: u64, )
pub fn set_max_num_deleted_move_object_ids_system_tx_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_num_deleted_move_object_ids_system_tx_for_testing(&mut self)
pub fn set_max_num_transferred_move_object_ids_for_testing(&mut self, val: u64)
pub fn set_max_num_transferred_move_object_ids_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_num_transferred_move_object_ids_for_testing(&mut self)
pub fn set_max_num_transferred_move_object_ids_system_tx_for_testing( &mut self, val: u64, )
pub fn set_max_num_transferred_move_object_ids_system_tx_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_num_transferred_move_object_ids_system_tx_for_testing( &mut self, )
pub fn set_max_event_emit_size_for_testing(&mut self, val: u64)
pub fn set_max_event_emit_size_from_str_for_testing(&mut self, val: String)
pub fn disable_max_event_emit_size_for_testing(&mut self)
pub fn set_max_event_emit_size_total_for_testing(&mut self, val: u64)
pub fn set_max_event_emit_size_total_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_event_emit_size_total_for_testing(&mut self)
pub fn set_max_move_vector_len_for_testing(&mut self, val: u64)
pub fn set_max_move_vector_len_from_str_for_testing(&mut self, val: String)
pub fn disable_max_move_vector_len_for_testing(&mut self)
pub fn set_max_move_identifier_len_for_testing(&mut self, val: u64)
pub fn set_max_move_identifier_len_from_str_for_testing(&mut self, val: String)
pub fn disable_max_move_identifier_len_for_testing(&mut self)
pub fn set_max_move_value_depth_for_testing(&mut self, val: u64)
pub fn set_max_move_value_depth_from_str_for_testing(&mut self, val: String)
pub fn disable_max_move_value_depth_for_testing(&mut self)
pub fn set_max_move_enum_variants_for_testing(&mut self, val: u64)
pub fn set_max_move_enum_variants_from_str_for_testing(&mut self, val: String)
pub fn disable_max_move_enum_variants_for_testing(&mut self)
pub fn set_max_back_edges_per_function_for_testing(&mut self, val: u64)
pub fn set_max_back_edges_per_function_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_back_edges_per_function_for_testing(&mut self)
pub fn set_max_back_edges_per_module_for_testing(&mut self, val: u64)
pub fn set_max_back_edges_per_module_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_back_edges_per_module_for_testing(&mut self)
pub fn set_max_verifier_meter_ticks_per_function_for_testing( &mut self, val: u64, )
pub fn set_max_verifier_meter_ticks_per_function_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_verifier_meter_ticks_per_function_for_testing(&mut self)
pub fn set_max_meter_ticks_per_module_for_testing(&mut self, val: u64)
pub fn set_max_meter_ticks_per_module_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_meter_ticks_per_module_for_testing(&mut self)
pub fn set_max_meter_ticks_per_package_for_testing(&mut self, val: u64)
pub fn set_max_meter_ticks_per_package_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_meter_ticks_per_package_for_testing(&mut self)
pub fn set_object_runtime_max_num_cached_objects_for_testing( &mut self, val: u64, )
pub fn set_object_runtime_max_num_cached_objects_from_str_for_testing( &mut self, val: String, )
pub fn disable_object_runtime_max_num_cached_objects_for_testing(&mut self)
pub fn set_object_runtime_max_num_cached_objects_system_tx_for_testing( &mut self, val: u64, )
pub fn set_object_runtime_max_num_cached_objects_system_tx_from_str_for_testing( &mut self, val: String, )
pub fn disable_object_runtime_max_num_cached_objects_system_tx_for_testing( &mut self, )
pub fn set_object_runtime_max_num_store_entries_for_testing(&mut self, val: u64)
pub fn set_object_runtime_max_num_store_entries_from_str_for_testing( &mut self, val: String, )
pub fn disable_object_runtime_max_num_store_entries_for_testing(&mut self)
pub fn set_object_runtime_max_num_store_entries_system_tx_for_testing( &mut self, val: u64, )
pub fn set_object_runtime_max_num_store_entries_system_tx_from_str_for_testing( &mut self, val: String, )
pub fn disable_object_runtime_max_num_store_entries_system_tx_for_testing( &mut self, )
pub fn set_base_tx_cost_fixed_for_testing(&mut self, val: u64)
pub fn set_base_tx_cost_fixed_from_str_for_testing(&mut self, val: String)
pub fn disable_base_tx_cost_fixed_for_testing(&mut self)
pub fn set_package_publish_cost_fixed_for_testing(&mut self, val: u64)
pub fn set_package_publish_cost_fixed_from_str_for_testing( &mut self, val: String, )
pub fn disable_package_publish_cost_fixed_for_testing(&mut self)
pub fn set_base_tx_cost_per_byte_for_testing(&mut self, val: u64)
pub fn set_base_tx_cost_per_byte_from_str_for_testing(&mut self, val: String)
pub fn disable_base_tx_cost_per_byte_for_testing(&mut self)
pub fn set_package_publish_cost_per_byte_for_testing(&mut self, val: u64)
pub fn set_package_publish_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_package_publish_cost_per_byte_for_testing(&mut self)
pub fn set_obj_access_cost_read_per_byte_for_testing(&mut self, val: u64)
pub fn set_obj_access_cost_read_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_obj_access_cost_read_per_byte_for_testing(&mut self)
pub fn set_obj_access_cost_mutate_per_byte_for_testing(&mut self, val: u64)
pub fn set_obj_access_cost_mutate_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_obj_access_cost_mutate_per_byte_for_testing(&mut self)
pub fn set_obj_access_cost_delete_per_byte_for_testing(&mut self, val: u64)
pub fn set_obj_access_cost_delete_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_obj_access_cost_delete_per_byte_for_testing(&mut self)
pub fn set_obj_access_cost_verify_per_byte_for_testing(&mut self, val: u64)
pub fn set_obj_access_cost_verify_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_obj_access_cost_verify_per_byte_for_testing(&mut self)
pub fn set_gas_model_version_for_testing(&mut self, val: u64)
pub fn set_gas_model_version_from_str_for_testing(&mut self, val: String)
pub fn disable_gas_model_version_for_testing(&mut self)
pub fn set_obj_data_cost_refundable_for_testing(&mut self, val: u64)
pub fn set_obj_data_cost_refundable_from_str_for_testing(&mut self, val: String)
pub fn disable_obj_data_cost_refundable_for_testing(&mut self)
pub fn set_obj_metadata_cost_non_refundable_for_testing(&mut self, val: u64)
pub fn set_obj_metadata_cost_non_refundable_from_str_for_testing( &mut self, val: String, )
pub fn disable_obj_metadata_cost_non_refundable_for_testing(&mut self)
pub fn set_storage_rebate_rate_for_testing(&mut self, val: u64)
pub fn set_storage_rebate_rate_from_str_for_testing(&mut self, val: String)
pub fn disable_storage_rebate_rate_for_testing(&mut self)
pub fn set_reward_slashing_rate_for_testing(&mut self, val: u64)
pub fn set_reward_slashing_rate_from_str_for_testing(&mut self, val: String)
pub fn disable_reward_slashing_rate_for_testing(&mut self)
pub fn set_storage_gas_price_for_testing(&mut self, val: u64)
pub fn set_storage_gas_price_from_str_for_testing(&mut self, val: String)
pub fn disable_storage_gas_price_for_testing(&mut self)
pub fn set_validator_target_reward_for_testing(&mut self, val: u64)
pub fn set_validator_target_reward_from_str_for_testing(&mut self, val: String)
pub fn disable_validator_target_reward_for_testing(&mut self)
pub fn set_max_transactions_per_checkpoint_for_testing(&mut self, val: u64)
pub fn set_max_transactions_per_checkpoint_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_transactions_per_checkpoint_for_testing(&mut self)
pub fn set_max_checkpoint_size_bytes_for_testing(&mut self, val: u64)
pub fn set_max_checkpoint_size_bytes_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_checkpoint_size_bytes_for_testing(&mut self)
pub fn set_buffer_stake_for_protocol_upgrade_bps_for_testing( &mut self, val: u64, )
pub fn set_buffer_stake_for_protocol_upgrade_bps_from_str_for_testing( &mut self, val: String, )
pub fn disable_buffer_stake_for_protocol_upgrade_bps_for_testing(&mut self)
pub fn set_address_from_bytes_cost_base_for_testing(&mut self, val: u64)
pub fn set_address_from_bytes_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_address_from_bytes_cost_base_for_testing(&mut self)
pub fn set_address_to_u256_cost_base_for_testing(&mut self, val: u64)
pub fn set_address_to_u256_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_address_to_u256_cost_base_for_testing(&mut self)
pub fn set_address_from_u256_cost_base_for_testing(&mut self, val: u64)
pub fn set_address_from_u256_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_address_from_u256_cost_base_for_testing(&mut self)
pub fn set_config_read_setting_impl_cost_base_for_testing(&mut self, val: u64)
pub fn set_config_read_setting_impl_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_config_read_setting_impl_cost_base_for_testing(&mut self)
pub fn set_config_read_setting_impl_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_config_read_setting_impl_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_config_read_setting_impl_cost_per_byte_for_testing(&mut self)
pub fn set_dynamic_field_hash_type_and_key_cost_base_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_hash_type_and_key_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_hash_type_and_key_cost_base_for_testing(&mut self)
pub fn set_dynamic_field_hash_type_and_key_type_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_hash_type_and_key_type_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_hash_type_and_key_type_cost_per_byte_for_testing( &mut self, )
pub fn set_dynamic_field_hash_type_and_key_value_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_hash_type_and_key_value_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_hash_type_and_key_value_cost_per_byte_for_testing( &mut self, )
pub fn set_dynamic_field_hash_type_and_key_type_tag_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_hash_type_and_key_type_tag_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_hash_type_and_key_type_tag_cost_per_byte_for_testing( &mut self, )
pub fn set_dynamic_field_add_child_object_cost_base_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_add_child_object_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_add_child_object_cost_base_for_testing(&mut self)
pub fn set_dynamic_field_add_child_object_type_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_add_child_object_type_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_add_child_object_type_cost_per_byte_for_testing( &mut self, )
pub fn set_dynamic_field_add_child_object_value_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_add_child_object_value_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_add_child_object_value_cost_per_byte_for_testing( &mut self, )
pub fn set_dynamic_field_add_child_object_struct_tag_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_add_child_object_struct_tag_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_add_child_object_struct_tag_cost_per_byte_for_testing( &mut self, )
pub fn set_dynamic_field_borrow_child_object_cost_base_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_borrow_child_object_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_borrow_child_object_cost_base_for_testing( &mut self, )
pub fn set_dynamic_field_borrow_child_object_child_ref_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_borrow_child_object_child_ref_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_borrow_child_object_child_ref_cost_per_byte_for_testing( &mut self, )
pub fn set_dynamic_field_borrow_child_object_type_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_borrow_child_object_type_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_borrow_child_object_type_cost_per_byte_for_testing( &mut self, )
pub fn set_dynamic_field_remove_child_object_cost_base_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_remove_child_object_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_remove_child_object_cost_base_for_testing( &mut self, )
pub fn set_dynamic_field_remove_child_object_child_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_remove_child_object_child_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_remove_child_object_child_cost_per_byte_for_testing( &mut self, )
pub fn set_dynamic_field_remove_child_object_type_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_remove_child_object_type_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_remove_child_object_type_cost_per_byte_for_testing( &mut self, )
pub fn set_dynamic_field_has_child_object_cost_base_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_has_child_object_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_has_child_object_cost_base_for_testing(&mut self)
pub fn set_dynamic_field_has_child_object_with_ty_cost_base_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_has_child_object_with_ty_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_has_child_object_with_ty_cost_base_for_testing( &mut self, )
pub fn set_dynamic_field_has_child_object_with_ty_type_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_has_child_object_with_ty_type_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_has_child_object_with_ty_type_cost_per_byte_for_testing( &mut self, )
pub fn set_dynamic_field_has_child_object_with_ty_type_tag_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_dynamic_field_has_child_object_with_ty_type_tag_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_dynamic_field_has_child_object_with_ty_type_tag_cost_per_byte_for_testing( &mut self, )
pub fn set_event_emit_cost_base_for_testing(&mut self, val: u64)
pub fn set_event_emit_cost_base_from_str_for_testing(&mut self, val: String)
pub fn disable_event_emit_cost_base_for_testing(&mut self)
pub fn set_event_emit_value_size_derivation_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_event_emit_value_size_derivation_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_event_emit_value_size_derivation_cost_per_byte_for_testing( &mut self, )
pub fn set_event_emit_tag_size_derivation_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_event_emit_tag_size_derivation_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_event_emit_tag_size_derivation_cost_per_byte_for_testing( &mut self, )
pub fn set_event_emit_output_cost_per_byte_for_testing(&mut self, val: u64)
pub fn set_event_emit_output_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_event_emit_output_cost_per_byte_for_testing(&mut self)
pub fn set_object_borrow_uid_cost_base_for_testing(&mut self, val: u64)
pub fn set_object_borrow_uid_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_object_borrow_uid_cost_base_for_testing(&mut self)
pub fn set_object_delete_impl_cost_base_for_testing(&mut self, val: u64)
pub fn set_object_delete_impl_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_object_delete_impl_cost_base_for_testing(&mut self)
pub fn set_object_record_new_uid_cost_base_for_testing(&mut self, val: u64)
pub fn set_object_record_new_uid_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_object_record_new_uid_cost_base_for_testing(&mut self)
pub fn set_transfer_transfer_internal_cost_base_for_testing(&mut self, val: u64)
pub fn set_transfer_transfer_internal_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_transfer_transfer_internal_cost_base_for_testing(&mut self)
pub fn set_transfer_freeze_object_cost_base_for_testing(&mut self, val: u64)
pub fn set_transfer_freeze_object_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_transfer_freeze_object_cost_base_for_testing(&mut self)
pub fn set_transfer_receive_object_cost_base_for_testing(&mut self, val: u64)
pub fn set_transfer_receive_object_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_transfer_receive_object_cost_base_for_testing(&mut self)
pub fn set_tx_context_derive_id_cost_base_for_testing(&mut self, val: u64)
pub fn set_tx_context_derive_id_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_tx_context_derive_id_cost_base_for_testing(&mut self)
pub fn set_types_is_one_time_witness_cost_base_for_testing(&mut self, val: u64)
pub fn set_types_is_one_time_witness_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_types_is_one_time_witness_cost_base_for_testing(&mut self)
pub fn set_types_is_one_time_witness_type_tag_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_types_is_one_time_witness_type_tag_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_types_is_one_time_witness_type_tag_cost_per_byte_for_testing( &mut self, )
pub fn set_types_is_one_time_witness_type_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_types_is_one_time_witness_type_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_types_is_one_time_witness_type_cost_per_byte_for_testing( &mut self, )
pub fn set_validator_validate_metadata_cost_base_for_testing( &mut self, val: u64, )
pub fn set_validator_validate_metadata_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_validator_validate_metadata_cost_base_for_testing(&mut self)
pub fn set_validator_validate_metadata_data_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_validator_validate_metadata_data_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_validator_validate_metadata_data_cost_per_byte_for_testing( &mut self, )
pub fn set_crypto_invalid_arguments_cost_for_testing(&mut self, val: u64)
pub fn set_crypto_invalid_arguments_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_crypto_invalid_arguments_cost_for_testing(&mut self)
pub fn set_bls12381_bls12381_min_sig_verify_cost_base_for_testing( &mut self, val: u64, )
pub fn set_bls12381_bls12381_min_sig_verify_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_bls12381_bls12381_min_sig_verify_cost_base_for_testing(&mut self)
pub fn set_bls12381_bls12381_min_sig_verify_msg_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_bls12381_bls12381_min_sig_verify_msg_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_bls12381_bls12381_min_sig_verify_msg_cost_per_byte_for_testing( &mut self, )
pub fn set_bls12381_bls12381_min_sig_verify_msg_cost_per_block_for_testing( &mut self, val: u64, )
pub fn set_bls12381_bls12381_min_sig_verify_msg_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_bls12381_bls12381_min_sig_verify_msg_cost_per_block_for_testing( &mut self, )
pub fn set_bls12381_bls12381_min_pk_verify_cost_base_for_testing( &mut self, val: u64, )
pub fn set_bls12381_bls12381_min_pk_verify_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_bls12381_bls12381_min_pk_verify_cost_base_for_testing(&mut self)
pub fn set_bls12381_bls12381_min_pk_verify_msg_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_bls12381_bls12381_min_pk_verify_msg_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_bls12381_bls12381_min_pk_verify_msg_cost_per_byte_for_testing( &mut self, )
pub fn set_bls12381_bls12381_min_pk_verify_msg_cost_per_block_for_testing( &mut self, val: u64, )
pub fn set_bls12381_bls12381_min_pk_verify_msg_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_bls12381_bls12381_min_pk_verify_msg_cost_per_block_for_testing( &mut self, )
pub fn set_ecdsa_k1_ecrecover_keccak256_cost_base_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_k1_ecrecover_keccak256_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_k1_ecrecover_keccak256_cost_base_for_testing(&mut self)
pub fn set_ecdsa_k1_ecrecover_keccak256_msg_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_k1_ecrecover_keccak256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_k1_ecrecover_keccak256_msg_cost_per_byte_for_testing( &mut self, )
pub fn set_ecdsa_k1_ecrecover_keccak256_msg_cost_per_block_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_k1_ecrecover_keccak256_msg_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_k1_ecrecover_keccak256_msg_cost_per_block_for_testing( &mut self, )
pub fn set_ecdsa_k1_ecrecover_sha256_cost_base_for_testing(&mut self, val: u64)
pub fn set_ecdsa_k1_ecrecover_sha256_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_k1_ecrecover_sha256_cost_base_for_testing(&mut self)
pub fn set_ecdsa_k1_ecrecover_sha256_msg_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_k1_ecrecover_sha256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_k1_ecrecover_sha256_msg_cost_per_byte_for_testing( &mut self, )
pub fn set_ecdsa_k1_ecrecover_sha256_msg_cost_per_block_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_k1_ecrecover_sha256_msg_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_k1_ecrecover_sha256_msg_cost_per_block_for_testing( &mut self, )
pub fn set_ecdsa_k1_decompress_pubkey_cost_base_for_testing(&mut self, val: u64)
pub fn set_ecdsa_k1_decompress_pubkey_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_k1_decompress_pubkey_cost_base_for_testing(&mut self)
pub fn set_ecdsa_k1_secp256k1_verify_keccak256_cost_base_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_k1_secp256k1_verify_keccak256_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_k1_secp256k1_verify_keccak256_cost_base_for_testing( &mut self, )
pub fn set_ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_byte_for_testing( &mut self, )
pub fn set_ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_block_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_block_for_testing( &mut self, )
pub fn set_ecdsa_k1_secp256k1_verify_sha256_cost_base_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_k1_secp256k1_verify_sha256_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_k1_secp256k1_verify_sha256_cost_base_for_testing(&mut self)
pub fn set_ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_byte_for_testing( &mut self, )
pub fn set_ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_block_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_block_for_testing( &mut self, )
pub fn set_ecdsa_r1_ecrecover_keccak256_cost_base_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_r1_ecrecover_keccak256_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_r1_ecrecover_keccak256_cost_base_for_testing(&mut self)
pub fn set_ecdsa_r1_ecrecover_keccak256_msg_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_r1_ecrecover_keccak256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_r1_ecrecover_keccak256_msg_cost_per_byte_for_testing( &mut self, )
pub fn set_ecdsa_r1_ecrecover_keccak256_msg_cost_per_block_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_r1_ecrecover_keccak256_msg_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_r1_ecrecover_keccak256_msg_cost_per_block_for_testing( &mut self, )
pub fn set_ecdsa_r1_ecrecover_sha256_cost_base_for_testing(&mut self, val: u64)
pub fn set_ecdsa_r1_ecrecover_sha256_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_r1_ecrecover_sha256_cost_base_for_testing(&mut self)
pub fn set_ecdsa_r1_ecrecover_sha256_msg_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_r1_ecrecover_sha256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_r1_ecrecover_sha256_msg_cost_per_byte_for_testing( &mut self, )
pub fn set_ecdsa_r1_ecrecover_sha256_msg_cost_per_block_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_r1_ecrecover_sha256_msg_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_r1_ecrecover_sha256_msg_cost_per_block_for_testing( &mut self, )
pub fn set_ecdsa_r1_secp256r1_verify_keccak256_cost_base_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_r1_secp256r1_verify_keccak256_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_r1_secp256r1_verify_keccak256_cost_base_for_testing( &mut self, )
pub fn set_ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_byte_for_testing( &mut self, )
pub fn set_ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_block_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_block_for_testing( &mut self, )
pub fn set_ecdsa_r1_secp256r1_verify_sha256_cost_base_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_r1_secp256r1_verify_sha256_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_r1_secp256r1_verify_sha256_cost_base_for_testing(&mut self)
pub fn set_ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_byte_for_testing( &mut self, )
pub fn set_ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_block_for_testing( &mut self, val: u64, )
pub fn set_ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_block_for_testing( &mut self, )
pub fn set_ecvrf_ecvrf_verify_cost_base_for_testing(&mut self, val: u64)
pub fn set_ecvrf_ecvrf_verify_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecvrf_ecvrf_verify_cost_base_for_testing(&mut self)
pub fn set_ecvrf_ecvrf_verify_alpha_string_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_ecvrf_ecvrf_verify_alpha_string_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecvrf_ecvrf_verify_alpha_string_cost_per_byte_for_testing( &mut self, )
pub fn set_ecvrf_ecvrf_verify_alpha_string_cost_per_block_for_testing( &mut self, val: u64, )
pub fn set_ecvrf_ecvrf_verify_alpha_string_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_ecvrf_ecvrf_verify_alpha_string_cost_per_block_for_testing( &mut self, )
pub fn set_ed25519_ed25519_verify_cost_base_for_testing(&mut self, val: u64)
pub fn set_ed25519_ed25519_verify_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_ed25519_ed25519_verify_cost_base_for_testing(&mut self)
pub fn set_ed25519_ed25519_verify_msg_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_ed25519_ed25519_verify_msg_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_ed25519_ed25519_verify_msg_cost_per_byte_for_testing(&mut self)
pub fn set_ed25519_ed25519_verify_msg_cost_per_block_for_testing( &mut self, val: u64, )
pub fn set_ed25519_ed25519_verify_msg_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_ed25519_ed25519_verify_msg_cost_per_block_for_testing(&mut self)
pub fn set_groth16_prepare_verifying_key_bls12381_cost_base_for_testing( &mut self, val: u64, )
pub fn set_groth16_prepare_verifying_key_bls12381_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_groth16_prepare_verifying_key_bls12381_cost_base_for_testing( &mut self, )
pub fn set_groth16_prepare_verifying_key_bn254_cost_base_for_testing( &mut self, val: u64, )
pub fn set_groth16_prepare_verifying_key_bn254_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_groth16_prepare_verifying_key_bn254_cost_base_for_testing( &mut self, )
pub fn set_groth16_verify_groth16_proof_internal_bls12381_cost_base_for_testing( &mut self, val: u64, )
pub fn set_groth16_verify_groth16_proof_internal_bls12381_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_groth16_verify_groth16_proof_internal_bls12381_cost_base_for_testing( &mut self, )
pub fn set_groth16_verify_groth16_proof_internal_bls12381_cost_per_public_input_for_testing( &mut self, val: u64, )
pub fn set_groth16_verify_groth16_proof_internal_bls12381_cost_per_public_input_from_str_for_testing( &mut self, val: String, )
pub fn disable_groth16_verify_groth16_proof_internal_bls12381_cost_per_public_input_for_testing( &mut self, )
pub fn set_groth16_verify_groth16_proof_internal_bn254_cost_base_for_testing( &mut self, val: u64, )
pub fn set_groth16_verify_groth16_proof_internal_bn254_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_groth16_verify_groth16_proof_internal_bn254_cost_base_for_testing( &mut self, )
pub fn set_groth16_verify_groth16_proof_internal_bn254_cost_per_public_input_for_testing( &mut self, val: u64, )
pub fn set_groth16_verify_groth16_proof_internal_bn254_cost_per_public_input_from_str_for_testing( &mut self, val: String, )
pub fn disable_groth16_verify_groth16_proof_internal_bn254_cost_per_public_input_for_testing( &mut self, )
pub fn set_groth16_verify_groth16_proof_internal_public_input_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_groth16_verify_groth16_proof_internal_public_input_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_groth16_verify_groth16_proof_internal_public_input_cost_per_byte_for_testing( &mut self, )
pub fn set_hash_blake2b256_cost_base_for_testing(&mut self, val: u64)
pub fn set_hash_blake2b256_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_hash_blake2b256_cost_base_for_testing(&mut self)
pub fn set_hash_blake2b256_data_cost_per_byte_for_testing(&mut self, val: u64)
pub fn set_hash_blake2b256_data_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_hash_blake2b256_data_cost_per_byte_for_testing(&mut self)
pub fn set_hash_blake2b256_data_cost_per_block_for_testing(&mut self, val: u64)
pub fn set_hash_blake2b256_data_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_hash_blake2b256_data_cost_per_block_for_testing(&mut self)
pub fn set_hash_keccak256_cost_base_for_testing(&mut self, val: u64)
pub fn set_hash_keccak256_cost_base_from_str_for_testing(&mut self, val: String)
pub fn disable_hash_keccak256_cost_base_for_testing(&mut self)
pub fn set_hash_keccak256_data_cost_per_byte_for_testing(&mut self, val: u64)
pub fn set_hash_keccak256_data_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_hash_keccak256_data_cost_per_byte_for_testing(&mut self)
pub fn set_hash_keccak256_data_cost_per_block_for_testing(&mut self, val: u64)
pub fn set_hash_keccak256_data_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_hash_keccak256_data_cost_per_block_for_testing(&mut self)
pub fn set_poseidon_bn254_cost_base_for_testing(&mut self, val: u64)
pub fn set_poseidon_bn254_cost_base_from_str_for_testing(&mut self, val: String)
pub fn disable_poseidon_bn254_cost_base_for_testing(&mut self)
pub fn set_poseidon_bn254_cost_per_block_for_testing(&mut self, val: u64)
pub fn set_poseidon_bn254_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_poseidon_bn254_cost_per_block_for_testing(&mut self)
pub fn set_group_ops_bls12381_decode_scalar_cost_for_testing( &mut self, val: u64, )
pub fn set_group_ops_bls12381_decode_scalar_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_decode_scalar_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_decode_g1_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_decode_g1_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_decode_g1_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_decode_g2_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_decode_g2_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_decode_g2_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_decode_gt_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_decode_gt_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_decode_gt_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_scalar_add_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_scalar_add_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_scalar_add_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_g1_add_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_g1_add_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g1_add_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_g2_add_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_g2_add_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g2_add_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_gt_add_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_gt_add_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_gt_add_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_scalar_sub_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_scalar_sub_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_scalar_sub_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_g1_sub_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_g1_sub_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g1_sub_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_g2_sub_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_g2_sub_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g2_sub_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_gt_sub_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_gt_sub_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_gt_sub_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_scalar_mul_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_scalar_mul_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_scalar_mul_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_g1_mul_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_g1_mul_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g1_mul_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_g2_mul_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_g2_mul_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g2_mul_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_gt_mul_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_gt_mul_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_gt_mul_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_scalar_div_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_scalar_div_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_scalar_div_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_g1_div_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_g1_div_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g1_div_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_g2_div_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_g2_div_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g2_div_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_gt_div_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_gt_div_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_gt_div_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_g1_hash_to_base_cost_for_testing( &mut self, val: u64, )
pub fn set_group_ops_bls12381_g1_hash_to_base_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g1_hash_to_base_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_g2_hash_to_base_cost_for_testing( &mut self, val: u64, )
pub fn set_group_ops_bls12381_g2_hash_to_base_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g2_hash_to_base_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_g1_hash_to_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_group_ops_bls12381_g1_hash_to_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g1_hash_to_cost_per_byte_for_testing( &mut self, )
pub fn set_group_ops_bls12381_g2_hash_to_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_group_ops_bls12381_g2_hash_to_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g2_hash_to_cost_per_byte_for_testing( &mut self, )
pub fn set_group_ops_bls12381_g1_msm_base_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_g1_msm_base_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g1_msm_base_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_g2_msm_base_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_g2_msm_base_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g2_msm_base_cost_for_testing(&mut self)
pub fn set_group_ops_bls12381_g1_msm_base_cost_per_input_for_testing( &mut self, val: u64, )
pub fn set_group_ops_bls12381_g1_msm_base_cost_per_input_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g1_msm_base_cost_per_input_for_testing( &mut self, )
pub fn set_group_ops_bls12381_g2_msm_base_cost_per_input_for_testing( &mut self, val: u64, )
pub fn set_group_ops_bls12381_g2_msm_base_cost_per_input_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_g2_msm_base_cost_per_input_for_testing( &mut self, )
pub fn set_group_ops_bls12381_msm_max_len_for_testing(&mut self, val: u32)
pub fn set_group_ops_bls12381_msm_max_len_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_msm_max_len_for_testing(&mut self)
pub fn set_group_ops_bls12381_pairing_cost_for_testing(&mut self, val: u64)
pub fn set_group_ops_bls12381_pairing_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_group_ops_bls12381_pairing_cost_for_testing(&mut self)
pub fn set_hmac_hmac_sha3_256_cost_base_for_testing(&mut self, val: u64)
pub fn set_hmac_hmac_sha3_256_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_hmac_hmac_sha3_256_cost_base_for_testing(&mut self)
pub fn set_hmac_hmac_sha3_256_input_cost_per_byte_for_testing( &mut self, val: u64, )
pub fn set_hmac_hmac_sha3_256_input_cost_per_byte_from_str_for_testing( &mut self, val: String, )
pub fn disable_hmac_hmac_sha3_256_input_cost_per_byte_for_testing(&mut self)
pub fn set_hmac_hmac_sha3_256_input_cost_per_block_for_testing( &mut self, val: u64, )
pub fn set_hmac_hmac_sha3_256_input_cost_per_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_hmac_hmac_sha3_256_input_cost_per_block_for_testing(&mut self)
pub fn set_check_zklogin_id_cost_base_for_testing(&mut self, val: u64)
pub fn set_check_zklogin_id_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_check_zklogin_id_cost_base_for_testing(&mut self)
pub fn set_check_zklogin_issuer_cost_base_for_testing(&mut self, val: u64)
pub fn set_check_zklogin_issuer_cost_base_from_str_for_testing( &mut self, val: String, )
pub fn disable_check_zklogin_issuer_cost_base_for_testing(&mut self)
pub fn set_vdf_verify_vdf_cost_for_testing(&mut self, val: u64)
pub fn set_vdf_verify_vdf_cost_from_str_for_testing(&mut self, val: String)
pub fn disable_vdf_verify_vdf_cost_for_testing(&mut self)
pub fn set_vdf_hash_to_input_cost_for_testing(&mut self, val: u64)
pub fn set_vdf_hash_to_input_cost_from_str_for_testing(&mut self, val: String)
pub fn disable_vdf_hash_to_input_cost_for_testing(&mut self)
pub fn set_bcs_per_byte_serialized_cost_for_testing(&mut self, val: u64)
pub fn set_bcs_per_byte_serialized_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_bcs_per_byte_serialized_cost_for_testing(&mut self)
pub fn set_bcs_legacy_min_output_size_cost_for_testing(&mut self, val: u64)
pub fn set_bcs_legacy_min_output_size_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_bcs_legacy_min_output_size_cost_for_testing(&mut self)
pub fn set_bcs_failure_cost_for_testing(&mut self, val: u64)
pub fn set_bcs_failure_cost_from_str_for_testing(&mut self, val: String)
pub fn disable_bcs_failure_cost_for_testing(&mut self)
pub fn set_hash_sha2_256_base_cost_for_testing(&mut self, val: u64)
pub fn set_hash_sha2_256_base_cost_from_str_for_testing(&mut self, val: String)
pub fn disable_hash_sha2_256_base_cost_for_testing(&mut self)
pub fn set_hash_sha2_256_per_byte_cost_for_testing(&mut self, val: u64)
pub fn set_hash_sha2_256_per_byte_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_hash_sha2_256_per_byte_cost_for_testing(&mut self)
pub fn set_hash_sha2_256_legacy_min_input_len_cost_for_testing( &mut self, val: u64, )
pub fn set_hash_sha2_256_legacy_min_input_len_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_hash_sha2_256_legacy_min_input_len_cost_for_testing(&mut self)
pub fn set_hash_sha3_256_base_cost_for_testing(&mut self, val: u64)
pub fn set_hash_sha3_256_base_cost_from_str_for_testing(&mut self, val: String)
pub fn disable_hash_sha3_256_base_cost_for_testing(&mut self)
pub fn set_hash_sha3_256_per_byte_cost_for_testing(&mut self, val: u64)
pub fn set_hash_sha3_256_per_byte_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_hash_sha3_256_per_byte_cost_for_testing(&mut self)
pub fn set_hash_sha3_256_legacy_min_input_len_cost_for_testing( &mut self, val: u64, )
pub fn set_hash_sha3_256_legacy_min_input_len_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_hash_sha3_256_legacy_min_input_len_cost_for_testing(&mut self)
pub fn set_type_name_get_base_cost_for_testing(&mut self, val: u64)
pub fn set_type_name_get_base_cost_from_str_for_testing(&mut self, val: String)
pub fn disable_type_name_get_base_cost_for_testing(&mut self)
pub fn set_type_name_get_per_byte_cost_for_testing(&mut self, val: u64)
pub fn set_type_name_get_per_byte_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_type_name_get_per_byte_cost_for_testing(&mut self)
pub fn set_string_check_utf8_base_cost_for_testing(&mut self, val: u64)
pub fn set_string_check_utf8_base_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_string_check_utf8_base_cost_for_testing(&mut self)
pub fn set_string_check_utf8_per_byte_cost_for_testing(&mut self, val: u64)
pub fn set_string_check_utf8_per_byte_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_string_check_utf8_per_byte_cost_for_testing(&mut self)
pub fn set_string_is_char_boundary_base_cost_for_testing(&mut self, val: u64)
pub fn set_string_is_char_boundary_base_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_string_is_char_boundary_base_cost_for_testing(&mut self)
pub fn set_string_sub_string_base_cost_for_testing(&mut self, val: u64)
pub fn set_string_sub_string_base_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_string_sub_string_base_cost_for_testing(&mut self)
pub fn set_string_sub_string_per_byte_cost_for_testing(&mut self, val: u64)
pub fn set_string_sub_string_per_byte_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_string_sub_string_per_byte_cost_for_testing(&mut self)
pub fn set_string_index_of_base_cost_for_testing(&mut self, val: u64)
pub fn set_string_index_of_base_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_string_index_of_base_cost_for_testing(&mut self)
pub fn set_string_index_of_per_byte_pattern_cost_for_testing( &mut self, val: u64, )
pub fn set_string_index_of_per_byte_pattern_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_string_index_of_per_byte_pattern_cost_for_testing(&mut self)
pub fn set_string_index_of_per_byte_searched_cost_for_testing( &mut self, val: u64, )
pub fn set_string_index_of_per_byte_searched_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_string_index_of_per_byte_searched_cost_for_testing(&mut self)
pub fn set_vector_empty_base_cost_for_testing(&mut self, val: u64)
pub fn set_vector_empty_base_cost_from_str_for_testing(&mut self, val: String)
pub fn disable_vector_empty_base_cost_for_testing(&mut self)
pub fn set_vector_length_base_cost_for_testing(&mut self, val: u64)
pub fn set_vector_length_base_cost_from_str_for_testing(&mut self, val: String)
pub fn disable_vector_length_base_cost_for_testing(&mut self)
pub fn set_vector_push_back_base_cost_for_testing(&mut self, val: u64)
pub fn set_vector_push_back_base_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_vector_push_back_base_cost_for_testing(&mut self)
pub fn set_vector_push_back_legacy_per_abstract_memory_unit_cost_for_testing( &mut self, val: u64, )
pub fn set_vector_push_back_legacy_per_abstract_memory_unit_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_vector_push_back_legacy_per_abstract_memory_unit_cost_for_testing( &mut self, )
pub fn set_vector_borrow_base_cost_for_testing(&mut self, val: u64)
pub fn set_vector_borrow_base_cost_from_str_for_testing(&mut self, val: String)
pub fn disable_vector_borrow_base_cost_for_testing(&mut self)
pub fn set_vector_pop_back_base_cost_for_testing(&mut self, val: u64)
pub fn set_vector_pop_back_base_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_vector_pop_back_base_cost_for_testing(&mut self)
pub fn set_vector_destroy_empty_base_cost_for_testing(&mut self, val: u64)
pub fn set_vector_destroy_empty_base_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_vector_destroy_empty_base_cost_for_testing(&mut self)
pub fn set_vector_swap_base_cost_for_testing(&mut self, val: u64)
pub fn set_vector_swap_base_cost_from_str_for_testing(&mut self, val: String)
pub fn disable_vector_swap_base_cost_for_testing(&mut self)
pub fn set_debug_print_base_cost_for_testing(&mut self, val: u64)
pub fn set_debug_print_base_cost_from_str_for_testing(&mut self, val: String)
pub fn disable_debug_print_base_cost_for_testing(&mut self)
pub fn set_debug_print_stack_trace_base_cost_for_testing(&mut self, val: u64)
pub fn set_debug_print_stack_trace_base_cost_from_str_for_testing( &mut self, val: String, )
pub fn disable_debug_print_stack_trace_base_cost_for_testing(&mut self)
pub fn set_execution_version_for_testing(&mut self, val: u64)
pub fn set_execution_version_from_str_for_testing(&mut self, val: String)
pub fn disable_execution_version_for_testing(&mut self)
pub fn set_consensus_bad_nodes_stake_threshold_for_testing(&mut self, val: u64)
pub fn set_consensus_bad_nodes_stake_threshold_from_str_for_testing( &mut self, val: String, )
pub fn disable_consensus_bad_nodes_stake_threshold_for_testing(&mut self)
pub fn set_max_jwk_votes_per_validator_per_epoch_for_testing( &mut self, val: u64, )
pub fn set_max_jwk_votes_per_validator_per_epoch_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_jwk_votes_per_validator_per_epoch_for_testing(&mut self)
pub fn set_max_age_of_jwk_in_epochs_for_testing(&mut self, val: u64)
pub fn set_max_age_of_jwk_in_epochs_from_str_for_testing(&mut self, val: String)
pub fn disable_max_age_of_jwk_in_epochs_for_testing(&mut self)
pub fn set_random_beacon_reduction_allowed_delta_for_testing( &mut self, val: u16, )
pub fn set_random_beacon_reduction_allowed_delta_from_str_for_testing( &mut self, val: String, )
pub fn disable_random_beacon_reduction_allowed_delta_for_testing(&mut self)
pub fn set_random_beacon_reduction_lower_bound_for_testing(&mut self, val: u32)
pub fn set_random_beacon_reduction_lower_bound_from_str_for_testing( &mut self, val: String, )
pub fn disable_random_beacon_reduction_lower_bound_for_testing(&mut self)
pub fn set_random_beacon_dkg_timeout_round_for_testing(&mut self, val: u32)
pub fn set_random_beacon_dkg_timeout_round_from_str_for_testing( &mut self, val: String, )
pub fn disable_random_beacon_dkg_timeout_round_for_testing(&mut self)
pub fn set_random_beacon_min_round_interval_ms_for_testing(&mut self, val: u64)
pub fn set_random_beacon_min_round_interval_ms_from_str_for_testing( &mut self, val: String, )
pub fn disable_random_beacon_min_round_interval_ms_for_testing(&mut self)
pub fn set_random_beacon_dkg_version_for_testing(&mut self, val: u64)
pub fn set_random_beacon_dkg_version_from_str_for_testing( &mut self, val: String, )
pub fn disable_random_beacon_dkg_version_for_testing(&mut self)
pub fn set_consensus_max_transaction_size_bytes_for_testing(&mut self, val: u64)
pub fn set_consensus_max_transaction_size_bytes_from_str_for_testing( &mut self, val: String, )
pub fn disable_consensus_max_transaction_size_bytes_for_testing(&mut self)
pub fn set_consensus_max_transactions_in_block_bytes_for_testing( &mut self, val: u64, )
pub fn set_consensus_max_transactions_in_block_bytes_from_str_for_testing( &mut self, val: String, )
pub fn disable_consensus_max_transactions_in_block_bytes_for_testing(&mut self)
pub fn set_consensus_max_num_transactions_in_block_for_testing( &mut self, val: u64, )
pub fn set_consensus_max_num_transactions_in_block_from_str_for_testing( &mut self, val: String, )
pub fn disable_consensus_max_num_transactions_in_block_for_testing(&mut self)
pub fn set_max_deferral_rounds_for_congestion_control_for_testing( &mut self, val: u64, )
pub fn set_max_deferral_rounds_for_congestion_control_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_deferral_rounds_for_congestion_control_for_testing(&mut self)
pub fn set_min_checkpoint_interval_ms_for_testing(&mut self, val: u64)
pub fn set_min_checkpoint_interval_ms_from_str_for_testing( &mut self, val: String, )
pub fn disable_min_checkpoint_interval_ms_for_testing(&mut self)
pub fn set_checkpoint_summary_version_specific_data_for_testing( &mut self, val: u64, )
pub fn set_checkpoint_summary_version_specific_data_from_str_for_testing( &mut self, val: String, )
pub fn disable_checkpoint_summary_version_specific_data_for_testing(&mut self)
pub fn set_max_soft_bundle_size_for_testing(&mut self, val: u64)
pub fn set_max_soft_bundle_size_from_str_for_testing(&mut self, val: String)
pub fn disable_max_soft_bundle_size_for_testing(&mut self)
pub fn set_bridge_should_try_to_finalize_committee_for_testing( &mut self, val: bool, )
pub fn set_bridge_should_try_to_finalize_committee_from_str_for_testing( &mut self, val: String, )
pub fn disable_bridge_should_try_to_finalize_committee_for_testing(&mut self)
pub fn set_max_accumulated_txn_cost_per_object_in_mysticeti_commit_for_testing( &mut self, val: u64, )
pub fn set_max_accumulated_txn_cost_per_object_in_mysticeti_commit_from_str_for_testing( &mut self, val: String, )
pub fn disable_max_accumulated_txn_cost_per_object_in_mysticeti_commit_for_testing( &mut self, )
pub fn set_attr_for_testing(&mut self, attr: String, val: String)
source§impl ProtocolConfig
impl ProtocolConfig
pub fn disable_invariant_violation_check_in_swap_loc(&self) -> bool
pub fn no_extraneous_module_bytes(&self) -> bool
pub fn zklogin_auth(&self) -> bool
pub fn consensus_transaction_ordering(&self) -> ConsensusTransactionOrdering
pub fn enable_jwk_consensus_updates(&self) -> bool
pub fn create_authenticator_state_in_genesis(&self) -> bool
pub fn dkg_version(&self) -> u64
pub fn enable_bridge(&self) -> bool
pub fn should_try_to_finalize_bridge_committee(&self) -> bool
pub fn accept_zklogin_in_multisig(&self) -> bool
pub fn zklogin_max_epoch_upper_bound_delta(&self) -> Option<u64>
pub fn hardened_otw_check(&self) -> bool
pub fn enable_poseidon(&self) -> bool
pub fn enable_group_ops_native_function_msm(&self) -> bool
pub fn per_object_congestion_control_mode( &self, ) -> PerObjectCongestionControlMode
pub fn consensus_choice(&self) -> ConsensusChoice
pub fn consensus_network(&self) -> ConsensusNetwork
pub fn enable_vdf(&self) -> bool
pub fn passkey_auth(&self) -> bool
pub fn max_transaction_size_bytes(&self) -> u64
pub fn max_transactions_in_block_bytes(&self) -> u64
pub fn max_num_transactions_in_block(&self) -> u64
pub fn rethrow_serialization_type_layout_errors(&self) -> bool
source§impl ProtocolConfig
impl ProtocolConfig
sourcepub fn get_for_version(version: ProtocolVersion, chain: Chain) -> Self
pub fn get_for_version(version: ProtocolVersion, chain: Chain) -> Self
Get the value ProtocolConfig that are in effect during the given protocol version.
sourcepub fn get_for_version_if_supported(
version: ProtocolVersion,
chain: Chain,
) -> Option<Self>
pub fn get_for_version_if_supported( version: ProtocolVersion, chain: Chain, ) -> Option<Self>
Get the value ProtocolConfig that are in effect during the given protocol version. Or none if the version is not supported.
pub fn poison_get_for_min_version()
sourcepub fn get_for_min_version() -> Self
pub fn get_for_min_version() -> Self
Convenience to get the constants at the current minimum supported version. Mainly used by client code that may not yet be protocol-version aware.
sourcepub fn get_for_max_version_UNSAFE() -> Self
pub fn get_for_max_version_UNSAFE() -> Self
CAREFUL! - You probably want to use get_for_version
instead.
Convenience to get the constants at the current maximum supported version. Mainly used by genesis. Note well that this function uses the max version supported locally by the node, which is not necessarily the current version of the network. ALSO, this function disregards chain specific config (by using Chain::Unknown), thereby potentially returning a protocol config that is incorrect for some feature flags. Definitely safe for testing and for protocol version 11 and prior.
pub fn verifier_config(&self, for_signing: bool) -> VerifierConfig
sourcepub fn meter_config_for_signing(&self) -> MeterConfig
pub fn meter_config_for_signing(&self) -> MeterConfig
MeterConfig for metering packages during signing. It is NOT stable between binaries and cannot used during execution.
sourcepub fn apply_overrides_for_testing(
override_fn: impl Fn(ProtocolVersion, Self) -> Self + Send + Sync + 'static,
) -> OverrideGuard
pub fn apply_overrides_for_testing( override_fn: impl Fn(ProtocolVersion, Self) -> Self + Send + Sync + 'static, ) -> OverrideGuard
Override one or more settings in the config, for testing. This must be called at the beginning of the test, before get_for_(min|max)_version is called, since those functions cache their return value.
source§impl ProtocolConfig
impl ProtocolConfig
pub fn set_zklogin_auth_for_testing(&mut self, val: bool)
pub fn set_enable_jwk_consensus_updates_for_testing(&mut self, val: bool)
pub fn set_accept_zklogin_in_multisig_for_testing(&mut self, val: bool)
pub fn set_per_object_congestion_control_mode_for_testing( &mut self, val: PerObjectCongestionControlMode, )
pub fn set_consensus_choice_for_testing(&mut self, val: ConsensusChoice)
pub fn set_consensus_network_for_testing(&mut self, val: ConsensusNetwork)
pub fn set_zklogin_max_epoch_upper_bound_delta_for_testing( &mut self, val: Option<u64>, )
pub fn set_disable_bridge_for_testing(&mut self)
pub fn set_passkey_auth_for_testing(&mut self, val: bool)
Trait Implementations§
source§impl Clone for ProtocolConfig
impl Clone for ProtocolConfig
source§fn clone(&self) -> ProtocolConfig
fn clone(&self) -> ProtocolConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProtocolConfig
impl Debug for ProtocolConfig
Auto Trait Implementations§
impl Freeze for ProtocolConfig
impl RefUnwindSafe for ProtocolConfig
impl Send for ProtocolConfig
impl Sync for ProtocolConfig
impl Unpin for ProtocolConfig
impl UnwindSafe for ProtocolConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more