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 and field_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

source

pub fn max_tx_size_bytes(&self) -> u64

source

pub fn max_tx_size_bytes_as_option(&self) -> Option<u64>

source

pub fn max_input_objects(&self) -> u64

source

pub fn max_input_objects_as_option(&self) -> Option<u64>

source

pub fn max_size_written_objects(&self) -> u64

source

pub fn max_size_written_objects_as_option(&self) -> Option<u64>

source

pub fn max_size_written_objects_system_tx(&self) -> u64

source

pub fn max_size_written_objects_system_tx_as_option(&self) -> Option<u64>

source

pub fn max_serialized_tx_effects_size_bytes(&self) -> u64

source

pub fn max_serialized_tx_effects_size_bytes_as_option(&self) -> Option<u64>

source

pub fn max_serialized_tx_effects_size_bytes_system_tx(&self) -> u64

source

pub fn max_serialized_tx_effects_size_bytes_system_tx_as_option( &self ) -> Option<u64>

source

pub fn max_gas_payment_objects(&self) -> u32

source

pub fn max_gas_payment_objects_as_option(&self) -> Option<u32>

source

pub fn max_modules_in_publish(&self) -> u32

source

pub fn max_modules_in_publish_as_option(&self) -> Option<u32>

source

pub fn max_package_dependencies(&self) -> u32

source

pub fn max_package_dependencies_as_option(&self) -> Option<u32>

source

pub fn max_arguments(&self) -> u32

source

pub fn max_arguments_as_option(&self) -> Option<u32>

source

pub fn max_type_arguments(&self) -> u32

source

pub fn max_type_arguments_as_option(&self) -> Option<u32>

source

pub fn max_type_argument_depth(&self) -> u32

source

pub fn max_type_argument_depth_as_option(&self) -> Option<u32>

source

pub fn max_pure_argument_size(&self) -> u32

source

pub fn max_pure_argument_size_as_option(&self) -> Option<u32>

source

pub fn max_programmable_tx_commands(&self) -> u32

source

pub fn max_programmable_tx_commands_as_option(&self) -> Option<u32>

source

pub fn move_binary_format_version(&self) -> u32

source

pub fn move_binary_format_version_as_option(&self) -> Option<u32>

source

pub fn binary_module_handles(&self) -> u16

source

pub fn binary_module_handles_as_option(&self) -> Option<u16>

source

pub fn binary_struct_handles(&self) -> u16

source

pub fn binary_struct_handles_as_option(&self) -> Option<u16>

source

pub fn binary_function_handles(&self) -> u16

source

pub fn binary_function_handles_as_option(&self) -> Option<u16>

source

pub fn binary_function_instantiations(&self) -> u16

source

pub fn binary_function_instantiations_as_option(&self) -> Option<u16>

source

pub fn binary_signatures(&self) -> u16

source

pub fn binary_signatures_as_option(&self) -> Option<u16>

source

pub fn binary_constant_pool(&self) -> u16

source

pub fn binary_constant_pool_as_option(&self) -> Option<u16>

source

pub fn binary_identifiers(&self) -> u16

source

pub fn binary_identifiers_as_option(&self) -> Option<u16>

source

pub fn binary_address_identifiers(&self) -> u16

source

pub fn binary_address_identifiers_as_option(&self) -> Option<u16>

source

pub fn binary_struct_defs(&self) -> u16

source

pub fn binary_struct_defs_as_option(&self) -> Option<u16>

source

pub fn binary_struct_def_instantiations(&self) -> u16

source

pub fn binary_struct_def_instantiations_as_option(&self) -> Option<u16>

source

pub fn binary_function_defs(&self) -> u16

source

pub fn binary_function_defs_as_option(&self) -> Option<u16>

source

pub fn binary_field_handles(&self) -> u16

source

pub fn binary_field_handles_as_option(&self) -> Option<u16>

source

pub fn binary_field_instantiations(&self) -> u16

source

pub fn binary_field_instantiations_as_option(&self) -> Option<u16>

source

pub fn binary_friend_decls(&self) -> u16

source

pub fn binary_friend_decls_as_option(&self) -> Option<u16>

source

pub fn max_move_object_size(&self) -> u64

source

pub fn max_move_object_size_as_option(&self) -> Option<u64>

source

pub fn max_move_package_size(&self) -> u64

source

pub fn max_move_package_size_as_option(&self) -> Option<u64>

source

pub fn max_publish_or_upgrade_per_ptb(&self) -> u64

source

pub fn max_publish_or_upgrade_per_ptb_as_option(&self) -> Option<u64>

source

pub fn max_tx_gas(&self) -> u64

source

pub fn max_tx_gas_as_option(&self) -> Option<u64>

source

pub fn max_gas_price(&self) -> u64

source

pub fn max_gas_price_as_option(&self) -> Option<u64>

source

pub fn max_gas_computation_bucket(&self) -> u64

source

pub fn max_gas_computation_bucket_as_option(&self) -> Option<u64>

source

pub fn gas_rounding_step(&self) -> u64

source

pub fn gas_rounding_step_as_option(&self) -> Option<u64>

source

pub fn max_loop_depth(&self) -> u64

source

pub fn max_loop_depth_as_option(&self) -> Option<u64>

source

pub fn max_generic_instantiation_length(&self) -> u64

source

pub fn max_generic_instantiation_length_as_option(&self) -> Option<u64>

source

pub fn max_function_parameters(&self) -> u64

source

pub fn max_function_parameters_as_option(&self) -> Option<u64>

source

pub fn max_basic_blocks(&self) -> u64

source

pub fn max_basic_blocks_as_option(&self) -> Option<u64>

source

pub fn max_value_stack_size(&self) -> u64

source

pub fn max_value_stack_size_as_option(&self) -> Option<u64>

source

pub fn max_type_nodes(&self) -> u64

source

pub fn max_type_nodes_as_option(&self) -> Option<u64>

source

pub fn max_push_size(&self) -> u64

source

pub fn max_push_size_as_option(&self) -> Option<u64>

source

pub fn max_struct_definitions(&self) -> u64

source

pub fn max_struct_definitions_as_option(&self) -> Option<u64>

source

pub fn max_function_definitions(&self) -> u64

source

pub fn max_function_definitions_as_option(&self) -> Option<u64>

source

pub fn max_fields_in_struct(&self) -> u64

source

pub fn max_fields_in_struct_as_option(&self) -> Option<u64>

source

pub fn max_dependency_depth(&self) -> u64

source

pub fn max_dependency_depth_as_option(&self) -> Option<u64>

source

pub fn max_num_event_emit(&self) -> u64

source

pub fn max_num_event_emit_as_option(&self) -> Option<u64>

source

pub fn max_num_new_move_object_ids(&self) -> u64

source

pub fn max_num_new_move_object_ids_as_option(&self) -> Option<u64>

source

pub fn max_num_new_move_object_ids_system_tx(&self) -> u64

source

pub fn max_num_new_move_object_ids_system_tx_as_option(&self) -> Option<u64>

source

pub fn max_num_deleted_move_object_ids(&self) -> u64

source

pub fn max_num_deleted_move_object_ids_as_option(&self) -> Option<u64>

source

pub fn max_num_deleted_move_object_ids_system_tx(&self) -> u64

source

pub fn max_num_deleted_move_object_ids_system_tx_as_option(&self) -> Option<u64>

source

pub fn max_num_transferred_move_object_ids(&self) -> u64

source

pub fn max_num_transferred_move_object_ids_as_option(&self) -> Option<u64>

source

pub fn max_num_transferred_move_object_ids_system_tx(&self) -> u64

source

pub fn max_num_transferred_move_object_ids_system_tx_as_option( &self ) -> Option<u64>

source

pub fn max_event_emit_size(&self) -> u64

source

pub fn max_event_emit_size_as_option(&self) -> Option<u64>

source

pub fn max_event_emit_size_total(&self) -> u64

source

pub fn max_event_emit_size_total_as_option(&self) -> Option<u64>

source

pub fn max_move_vector_len(&self) -> u64

source

pub fn max_move_vector_len_as_option(&self) -> Option<u64>

source

pub fn max_move_identifier_len(&self) -> u64

source

pub fn max_move_identifier_len_as_option(&self) -> Option<u64>

source

pub fn max_move_value_depth(&self) -> u64

source

pub fn max_move_value_depth_as_option(&self) -> Option<u64>

source

pub fn max_back_edges_per_function(&self) -> u64

source

pub fn max_back_edges_per_function_as_option(&self) -> Option<u64>

source

pub fn max_back_edges_per_module(&self) -> u64

source

pub fn max_back_edges_per_module_as_option(&self) -> Option<u64>

source

pub fn max_verifier_meter_ticks_per_function(&self) -> u64

source

pub fn max_verifier_meter_ticks_per_function_as_option(&self) -> Option<u64>

source

pub fn max_meter_ticks_per_module(&self) -> u64

source

pub fn max_meter_ticks_per_module_as_option(&self) -> Option<u64>

source

pub fn max_meter_ticks_per_package(&self) -> u64

source

pub fn max_meter_ticks_per_package_as_option(&self) -> Option<u64>

source

pub fn object_runtime_max_num_cached_objects(&self) -> u64

source

pub fn object_runtime_max_num_cached_objects_as_option(&self) -> Option<u64>

source

pub fn object_runtime_max_num_cached_objects_system_tx(&self) -> u64

source

pub fn object_runtime_max_num_cached_objects_system_tx_as_option( &self ) -> Option<u64>

source

pub fn object_runtime_max_num_store_entries(&self) -> u64

source

pub fn object_runtime_max_num_store_entries_as_option(&self) -> Option<u64>

source

pub fn object_runtime_max_num_store_entries_system_tx(&self) -> u64

source

pub fn object_runtime_max_num_store_entries_system_tx_as_option( &self ) -> Option<u64>

source

pub fn base_tx_cost_fixed(&self) -> u64

source

pub fn base_tx_cost_fixed_as_option(&self) -> Option<u64>

source

pub fn package_publish_cost_fixed(&self) -> u64

source

pub fn package_publish_cost_fixed_as_option(&self) -> Option<u64>

source

pub fn base_tx_cost_per_byte(&self) -> u64

source

pub fn base_tx_cost_per_byte_as_option(&self) -> Option<u64>

source

pub fn package_publish_cost_per_byte(&self) -> u64

source

pub fn package_publish_cost_per_byte_as_option(&self) -> Option<u64>

source

pub fn obj_access_cost_read_per_byte(&self) -> u64

source

pub fn obj_access_cost_read_per_byte_as_option(&self) -> Option<u64>

source

pub fn obj_access_cost_mutate_per_byte(&self) -> u64

source

pub fn obj_access_cost_mutate_per_byte_as_option(&self) -> Option<u64>

source

pub fn obj_access_cost_delete_per_byte(&self) -> u64

source

pub fn obj_access_cost_delete_per_byte_as_option(&self) -> Option<u64>

source

pub fn obj_access_cost_verify_per_byte(&self) -> u64

source

pub fn obj_access_cost_verify_per_byte_as_option(&self) -> Option<u64>

source

pub fn gas_model_version(&self) -> u64

source

pub fn gas_model_version_as_option(&self) -> Option<u64>

source

pub fn obj_data_cost_refundable(&self) -> u64

source

pub fn obj_data_cost_refundable_as_option(&self) -> Option<u64>

source

pub fn obj_metadata_cost_non_refundable(&self) -> u64

source

pub fn obj_metadata_cost_non_refundable_as_option(&self) -> Option<u64>

source

pub fn storage_rebate_rate(&self) -> u64

source

pub fn storage_rebate_rate_as_option(&self) -> Option<u64>

source

pub fn storage_fund_reinvest_rate(&self) -> u64

source

pub fn storage_fund_reinvest_rate_as_option(&self) -> Option<u64>

source

pub fn reward_slashing_rate(&self) -> u64

source

pub fn reward_slashing_rate_as_option(&self) -> Option<u64>

source

pub fn storage_gas_price(&self) -> u64

source

pub fn storage_gas_price_as_option(&self) -> Option<u64>

source

pub fn max_transactions_per_checkpoint(&self) -> u64

source

pub fn max_transactions_per_checkpoint_as_option(&self) -> Option<u64>

source

pub fn max_checkpoint_size_bytes(&self) -> u64

source

pub fn max_checkpoint_size_bytes_as_option(&self) -> Option<u64>

source

pub fn buffer_stake_for_protocol_upgrade_bps(&self) -> u64

source

pub fn buffer_stake_for_protocol_upgrade_bps_as_option(&self) -> Option<u64>

source

pub fn address_from_bytes_cost_base(&self) -> u64

source

pub fn address_from_bytes_cost_base_as_option(&self) -> Option<u64>

source

pub fn address_to_u256_cost_base(&self) -> u64

source

pub fn address_to_u256_cost_base_as_option(&self) -> Option<u64>

source

pub fn address_from_u256_cost_base(&self) -> u64

source

pub fn address_from_u256_cost_base_as_option(&self) -> Option<u64>

source

pub fn dynamic_field_hash_type_and_key_cost_base(&self) -> u64

source

pub fn dynamic_field_hash_type_and_key_cost_base_as_option(&self) -> Option<u64>

source

pub fn dynamic_field_hash_type_and_key_type_cost_per_byte(&self) -> u64

source

pub fn dynamic_field_hash_type_and_key_type_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn dynamic_field_hash_type_and_key_value_cost_per_byte(&self) -> u64

source

pub fn dynamic_field_hash_type_and_key_value_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn dynamic_field_hash_type_and_key_type_tag_cost_per_byte(&self) -> u64

source

pub fn dynamic_field_hash_type_and_key_type_tag_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn dynamic_field_add_child_object_cost_base(&self) -> u64

source

pub fn dynamic_field_add_child_object_cost_base_as_option(&self) -> Option<u64>

source

pub fn dynamic_field_add_child_object_type_cost_per_byte(&self) -> u64

source

pub fn dynamic_field_add_child_object_type_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn dynamic_field_add_child_object_value_cost_per_byte(&self) -> u64

source

pub fn dynamic_field_add_child_object_value_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn dynamic_field_add_child_object_struct_tag_cost_per_byte(&self) -> u64

source

pub fn dynamic_field_add_child_object_struct_tag_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn dynamic_field_borrow_child_object_cost_base(&self) -> u64

source

pub fn dynamic_field_borrow_child_object_cost_base_as_option( &self ) -> Option<u64>

source

pub fn dynamic_field_borrow_child_object_child_ref_cost_per_byte(&self) -> u64

source

pub fn dynamic_field_borrow_child_object_child_ref_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn dynamic_field_borrow_child_object_type_cost_per_byte(&self) -> u64

source

pub fn dynamic_field_borrow_child_object_type_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn dynamic_field_remove_child_object_cost_base(&self) -> u64

source

pub fn dynamic_field_remove_child_object_cost_base_as_option( &self ) -> Option<u64>

source

pub fn dynamic_field_remove_child_object_child_cost_per_byte(&self) -> u64

source

pub fn dynamic_field_remove_child_object_child_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn dynamic_field_remove_child_object_type_cost_per_byte(&self) -> u64

source

pub fn dynamic_field_remove_child_object_type_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn dynamic_field_has_child_object_cost_base(&self) -> u64

source

pub fn dynamic_field_has_child_object_cost_base_as_option(&self) -> Option<u64>

source

pub fn dynamic_field_has_child_object_with_ty_cost_base(&self) -> u64

source

pub fn dynamic_field_has_child_object_with_ty_cost_base_as_option( &self ) -> Option<u64>

source

pub fn dynamic_field_has_child_object_with_ty_type_cost_per_byte(&self) -> u64

source

pub fn dynamic_field_has_child_object_with_ty_type_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn dynamic_field_has_child_object_with_ty_type_tag_cost_per_byte( &self ) -> u64

source

pub fn dynamic_field_has_child_object_with_ty_type_tag_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn event_emit_cost_base(&self) -> u64

source

pub fn event_emit_cost_base_as_option(&self) -> Option<u64>

source

pub fn event_emit_value_size_derivation_cost_per_byte(&self) -> u64

source

pub fn event_emit_value_size_derivation_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn event_emit_tag_size_derivation_cost_per_byte(&self) -> u64

source

pub fn event_emit_tag_size_derivation_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn event_emit_output_cost_per_byte(&self) -> u64

source

pub fn event_emit_output_cost_per_byte_as_option(&self) -> Option<u64>

source

pub fn object_borrow_uid_cost_base(&self) -> u64

source

pub fn object_borrow_uid_cost_base_as_option(&self) -> Option<u64>

source

pub fn object_delete_impl_cost_base(&self) -> u64

source

pub fn object_delete_impl_cost_base_as_option(&self) -> Option<u64>

source

pub fn object_record_new_uid_cost_base(&self) -> u64

source

pub fn object_record_new_uid_cost_base_as_option(&self) -> Option<u64>

source

pub fn transfer_transfer_internal_cost_base(&self) -> u64

source

pub fn transfer_transfer_internal_cost_base_as_option(&self) -> Option<u64>

source

pub fn transfer_freeze_object_cost_base(&self) -> u64

source

pub fn transfer_freeze_object_cost_base_as_option(&self) -> Option<u64>

source

pub fn transfer_share_object_cost_base(&self) -> u64

source

pub fn transfer_share_object_cost_base_as_option(&self) -> Option<u64>

source

pub fn transfer_receive_object_cost_base(&self) -> u64

source

pub fn transfer_receive_object_cost_base_as_option(&self) -> Option<u64>

source

pub fn tx_context_derive_id_cost_base(&self) -> u64

source

pub fn tx_context_derive_id_cost_base_as_option(&self) -> Option<u64>

source

pub fn types_is_one_time_witness_cost_base(&self) -> u64

source

pub fn types_is_one_time_witness_cost_base_as_option(&self) -> Option<u64>

source

pub fn types_is_one_time_witness_type_tag_cost_per_byte(&self) -> u64

source

pub fn types_is_one_time_witness_type_tag_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn types_is_one_time_witness_type_cost_per_byte(&self) -> u64

source

pub fn types_is_one_time_witness_type_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn validator_validate_metadata_cost_base(&self) -> u64

source

pub fn validator_validate_metadata_cost_base_as_option(&self) -> Option<u64>

source

pub fn validator_validate_metadata_data_cost_per_byte(&self) -> u64

source

pub fn validator_validate_metadata_data_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn crypto_invalid_arguments_cost(&self) -> u64

source

pub fn crypto_invalid_arguments_cost_as_option(&self) -> Option<u64>

source

pub fn bls12381_bls12381_min_sig_verify_cost_base(&self) -> u64

source

pub fn bls12381_bls12381_min_sig_verify_cost_base_as_option( &self ) -> Option<u64>

source

pub fn bls12381_bls12381_min_sig_verify_msg_cost_per_byte(&self) -> u64

source

pub fn bls12381_bls12381_min_sig_verify_msg_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn bls12381_bls12381_min_sig_verify_msg_cost_per_block(&self) -> u64

source

pub fn bls12381_bls12381_min_sig_verify_msg_cost_per_block_as_option( &self ) -> Option<u64>

source

pub fn bls12381_bls12381_min_pk_verify_cost_base(&self) -> u64

source

pub fn bls12381_bls12381_min_pk_verify_cost_base_as_option(&self) -> Option<u64>

source

pub fn bls12381_bls12381_min_pk_verify_msg_cost_per_byte(&self) -> u64

source

pub fn bls12381_bls12381_min_pk_verify_msg_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn bls12381_bls12381_min_pk_verify_msg_cost_per_block(&self) -> u64

source

pub fn bls12381_bls12381_min_pk_verify_msg_cost_per_block_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_k1_ecrecover_keccak256_cost_base(&self) -> u64

source

pub fn ecdsa_k1_ecrecover_keccak256_cost_base_as_option(&self) -> Option<u64>

source

pub fn ecdsa_k1_ecrecover_keccak256_msg_cost_per_byte(&self) -> u64

source

pub fn ecdsa_k1_ecrecover_keccak256_msg_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_k1_ecrecover_keccak256_msg_cost_per_block(&self) -> u64

source

pub fn ecdsa_k1_ecrecover_keccak256_msg_cost_per_block_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_k1_ecrecover_sha256_cost_base(&self) -> u64

source

pub fn ecdsa_k1_ecrecover_sha256_cost_base_as_option(&self) -> Option<u64>

source

pub fn ecdsa_k1_ecrecover_sha256_msg_cost_per_byte(&self) -> u64

source

pub fn ecdsa_k1_ecrecover_sha256_msg_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_k1_ecrecover_sha256_msg_cost_per_block(&self) -> u64

source

pub fn ecdsa_k1_ecrecover_sha256_msg_cost_per_block_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_k1_decompress_pubkey_cost_base(&self) -> u64

source

pub fn ecdsa_k1_decompress_pubkey_cost_base_as_option(&self) -> Option<u64>

source

pub fn ecdsa_k1_secp256k1_verify_keccak256_cost_base(&self) -> u64

source

pub fn ecdsa_k1_secp256k1_verify_keccak256_cost_base_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_byte(&self) -> u64

source

pub fn ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_block(&self) -> u64

source

pub fn ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_block_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_k1_secp256k1_verify_sha256_cost_base(&self) -> u64

source

pub fn ecdsa_k1_secp256k1_verify_sha256_cost_base_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_byte(&self) -> u64

source

pub fn ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_block(&self) -> u64

source

pub fn ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_block_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_r1_ecrecover_keccak256_cost_base(&self) -> u64

source

pub fn ecdsa_r1_ecrecover_keccak256_cost_base_as_option(&self) -> Option<u64>

source

pub fn ecdsa_r1_ecrecover_keccak256_msg_cost_per_byte(&self) -> u64

source

pub fn ecdsa_r1_ecrecover_keccak256_msg_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_r1_ecrecover_keccak256_msg_cost_per_block(&self) -> u64

source

pub fn ecdsa_r1_ecrecover_keccak256_msg_cost_per_block_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_r1_ecrecover_sha256_cost_base(&self) -> u64

source

pub fn ecdsa_r1_ecrecover_sha256_cost_base_as_option(&self) -> Option<u64>

source

pub fn ecdsa_r1_ecrecover_sha256_msg_cost_per_byte(&self) -> u64

source

pub fn ecdsa_r1_ecrecover_sha256_msg_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_r1_ecrecover_sha256_msg_cost_per_block(&self) -> u64

source

pub fn ecdsa_r1_ecrecover_sha256_msg_cost_per_block_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_r1_secp256r1_verify_keccak256_cost_base(&self) -> u64

source

pub fn ecdsa_r1_secp256r1_verify_keccak256_cost_base_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_byte(&self) -> u64

source

pub fn ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_block(&self) -> u64

source

pub fn ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_block_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_r1_secp256r1_verify_sha256_cost_base(&self) -> u64

source

pub fn ecdsa_r1_secp256r1_verify_sha256_cost_base_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_byte(&self) -> u64

source

pub fn ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_block(&self) -> u64

source

pub fn ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_block_as_option( &self ) -> Option<u64>

source

pub fn ecvrf_ecvrf_verify_cost_base(&self) -> u64

source

pub fn ecvrf_ecvrf_verify_cost_base_as_option(&self) -> Option<u64>

source

pub fn ecvrf_ecvrf_verify_alpha_string_cost_per_byte(&self) -> u64

source

pub fn ecvrf_ecvrf_verify_alpha_string_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn ecvrf_ecvrf_verify_alpha_string_cost_per_block(&self) -> u64

source

pub fn ecvrf_ecvrf_verify_alpha_string_cost_per_block_as_option( &self ) -> Option<u64>

source

pub fn ed25519_ed25519_verify_cost_base(&self) -> u64

source

pub fn ed25519_ed25519_verify_cost_base_as_option(&self) -> Option<u64>

source

pub fn ed25519_ed25519_verify_msg_cost_per_byte(&self) -> u64

source

pub fn ed25519_ed25519_verify_msg_cost_per_byte_as_option(&self) -> Option<u64>

source

pub fn ed25519_ed25519_verify_msg_cost_per_block(&self) -> u64

source

pub fn ed25519_ed25519_verify_msg_cost_per_block_as_option(&self) -> Option<u64>

source

pub fn groth16_prepare_verifying_key_bls12381_cost_base(&self) -> u64

source

pub fn groth16_prepare_verifying_key_bls12381_cost_base_as_option( &self ) -> Option<u64>

source

pub fn groth16_prepare_verifying_key_bn254_cost_base(&self) -> u64

source

pub fn groth16_prepare_verifying_key_bn254_cost_base_as_option( &self ) -> Option<u64>

source

pub fn groth16_verify_groth16_proof_internal_bls12381_cost_base(&self) -> u64

source

pub fn groth16_verify_groth16_proof_internal_bls12381_cost_base_as_option( &self ) -> Option<u64>

source

pub fn groth16_verify_groth16_proof_internal_bls12381_cost_per_public_input( &self ) -> u64

source

pub fn groth16_verify_groth16_proof_internal_bls12381_cost_per_public_input_as_option( &self ) -> Option<u64>

source

pub fn groth16_verify_groth16_proof_internal_bn254_cost_base(&self) -> u64

source

pub fn groth16_verify_groth16_proof_internal_bn254_cost_base_as_option( &self ) -> Option<u64>

source

pub fn groth16_verify_groth16_proof_internal_bn254_cost_per_public_input( &self ) -> u64

source

pub fn groth16_verify_groth16_proof_internal_bn254_cost_per_public_input_as_option( &self ) -> Option<u64>

source

pub fn groth16_verify_groth16_proof_internal_public_input_cost_per_byte( &self ) -> u64

source

pub fn groth16_verify_groth16_proof_internal_public_input_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn hash_blake2b256_cost_base(&self) -> u64

source

pub fn hash_blake2b256_cost_base_as_option(&self) -> Option<u64>

source

pub fn hash_blake2b256_data_cost_per_byte(&self) -> u64

source

pub fn hash_blake2b256_data_cost_per_byte_as_option(&self) -> Option<u64>

source

pub fn hash_blake2b256_data_cost_per_block(&self) -> u64

source

pub fn hash_blake2b256_data_cost_per_block_as_option(&self) -> Option<u64>

source

pub fn hash_keccak256_cost_base(&self) -> u64

source

pub fn hash_keccak256_cost_base_as_option(&self) -> Option<u64>

source

pub fn hash_keccak256_data_cost_per_byte(&self) -> u64

source

pub fn hash_keccak256_data_cost_per_byte_as_option(&self) -> Option<u64>

source

pub fn hash_keccak256_data_cost_per_block(&self) -> u64

source

pub fn hash_keccak256_data_cost_per_block_as_option(&self) -> Option<u64>

source

pub fn poseidon_bn254_cost_base(&self) -> u64

source

pub fn poseidon_bn254_cost_base_as_option(&self) -> Option<u64>

source

pub fn poseidon_bn254_cost_per_block(&self) -> u64

source

pub fn poseidon_bn254_cost_per_block_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_decode_scalar_cost(&self) -> u64

source

pub fn group_ops_bls12381_decode_scalar_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_decode_g1_cost(&self) -> u64

source

pub fn group_ops_bls12381_decode_g1_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_decode_g2_cost(&self) -> u64

source

pub fn group_ops_bls12381_decode_g2_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_decode_gt_cost(&self) -> u64

source

pub fn group_ops_bls12381_decode_gt_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_scalar_add_cost(&self) -> u64

source

pub fn group_ops_bls12381_scalar_add_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_g1_add_cost(&self) -> u64

source

pub fn group_ops_bls12381_g1_add_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_g2_add_cost(&self) -> u64

source

pub fn group_ops_bls12381_g2_add_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_gt_add_cost(&self) -> u64

source

pub fn group_ops_bls12381_gt_add_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_scalar_sub_cost(&self) -> u64

source

pub fn group_ops_bls12381_scalar_sub_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_g1_sub_cost(&self) -> u64

source

pub fn group_ops_bls12381_g1_sub_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_g2_sub_cost(&self) -> u64

source

pub fn group_ops_bls12381_g2_sub_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_gt_sub_cost(&self) -> u64

source

pub fn group_ops_bls12381_gt_sub_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_scalar_mul_cost(&self) -> u64

source

pub fn group_ops_bls12381_scalar_mul_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_g1_mul_cost(&self) -> u64

source

pub fn group_ops_bls12381_g1_mul_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_g2_mul_cost(&self) -> u64

source

pub fn group_ops_bls12381_g2_mul_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_gt_mul_cost(&self) -> u64

source

pub fn group_ops_bls12381_gt_mul_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_scalar_div_cost(&self) -> u64

source

pub fn group_ops_bls12381_scalar_div_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_g1_div_cost(&self) -> u64

source

pub fn group_ops_bls12381_g1_div_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_g2_div_cost(&self) -> u64

source

pub fn group_ops_bls12381_g2_div_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_gt_div_cost(&self) -> u64

source

pub fn group_ops_bls12381_gt_div_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_g1_hash_to_base_cost(&self) -> u64

source

pub fn group_ops_bls12381_g1_hash_to_base_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_g2_hash_to_base_cost(&self) -> u64

source

pub fn group_ops_bls12381_g2_hash_to_base_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_g1_hash_to_cost_per_byte(&self) -> u64

source

pub fn group_ops_bls12381_g1_hash_to_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn group_ops_bls12381_g2_hash_to_cost_per_byte(&self) -> u64

source

pub fn group_ops_bls12381_g2_hash_to_cost_per_byte_as_option( &self ) -> Option<u64>

source

pub fn group_ops_bls12381_g1_msm_base_cost(&self) -> u64

source

pub fn group_ops_bls12381_g1_msm_base_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_g2_msm_base_cost(&self) -> u64

source

pub fn group_ops_bls12381_g2_msm_base_cost_as_option(&self) -> Option<u64>

source

pub fn group_ops_bls12381_g1_msm_base_cost_per_input(&self) -> u64

source

pub fn group_ops_bls12381_g1_msm_base_cost_per_input_as_option( &self ) -> Option<u64>

source

pub fn group_ops_bls12381_g2_msm_base_cost_per_input(&self) -> u64

source

pub fn group_ops_bls12381_g2_msm_base_cost_per_input_as_option( &self ) -> Option<u64>

source

pub fn group_ops_bls12381_msm_max_len(&self) -> u32

source

pub fn group_ops_bls12381_msm_max_len_as_option(&self) -> Option<u32>

source

pub fn group_ops_bls12381_pairing_cost(&self) -> u64

source

pub fn group_ops_bls12381_pairing_cost_as_option(&self) -> Option<u64>

source

pub fn hmac_hmac_sha3_256_cost_base(&self) -> u64

source

pub fn hmac_hmac_sha3_256_cost_base_as_option(&self) -> Option<u64>

source

pub fn hmac_hmac_sha3_256_input_cost_per_byte(&self) -> u64

source

pub fn hmac_hmac_sha3_256_input_cost_per_byte_as_option(&self) -> Option<u64>

source

pub fn hmac_hmac_sha3_256_input_cost_per_block(&self) -> u64

source

pub fn hmac_hmac_sha3_256_input_cost_per_block_as_option(&self) -> Option<u64>

source

pub fn check_zklogin_id_cost_base(&self) -> u64

source

pub fn check_zklogin_id_cost_base_as_option(&self) -> Option<u64>

source

pub fn check_zklogin_issuer_cost_base(&self) -> u64

source

pub fn check_zklogin_issuer_cost_base_as_option(&self) -> Option<u64>

source

pub fn scoring_decision_mad_divisor(&self) -> f64

source

pub fn scoring_decision_mad_divisor_as_option(&self) -> Option<f64>

source

pub fn scoring_decision_cutoff_value(&self) -> f64

source

pub fn scoring_decision_cutoff_value_as_option(&self) -> Option<f64>

source

pub fn execution_version(&self) -> u64

source

pub fn execution_version_as_option(&self) -> Option<u64>

source

pub fn consensus_bad_nodes_stake_threshold(&self) -> u64

source

pub fn consensus_bad_nodes_stake_threshold_as_option(&self) -> Option<u64>

source

pub fn max_jwk_votes_per_validator_per_epoch(&self) -> u64

source

pub fn max_jwk_votes_per_validator_per_epoch_as_option(&self) -> Option<u64>

source

pub fn max_age_of_jwk_in_epochs(&self) -> u64

source

pub fn max_age_of_jwk_in_epochs_as_option(&self) -> Option<u64>

source

pub fn random_beacon_reduction_allowed_delta(&self) -> u16

source

pub fn random_beacon_reduction_allowed_delta_as_option(&self) -> Option<u16>

source

pub fn random_beacon_reduction_lower_bound(&self) -> u32

source

pub fn random_beacon_reduction_lower_bound_as_option(&self) -> Option<u32>

source

pub fn random_beacon_dkg_timeout_round(&self) -> u32

source

pub fn random_beacon_dkg_timeout_round_as_option(&self) -> Option<u32>

source

pub fn random_beacon_min_round_interval_ms(&self) -> u64

source

pub fn random_beacon_min_round_interval_ms_as_option(&self) -> Option<u64>

source

pub fn consensus_max_transaction_size_bytes(&self) -> u64

source

pub fn consensus_max_transaction_size_bytes_as_option(&self) -> Option<u64>

source

pub fn consensus_max_transactions_in_block_bytes(&self) -> u64

source

pub fn consensus_max_transactions_in_block_bytes_as_option(&self) -> Option<u64>

source

pub fn max_accumulated_txn_cost_per_object_in_checkpoint(&self) -> u64

source

pub fn max_accumulated_txn_cost_per_object_in_checkpoint_as_option( &self ) -> Option<u64>

source

pub fn lookup_attr(&self, value: String) -> Option<ProtocolConfigValue>

Lookup a config attribute by its string representation

source

pub fn attr_map(&self) -> BTreeMap<String, Option<ProtocolConfigValue>>

Get a map of all config attribute from string representations

source

pub fn lookup_feature(&self, value: String) -> Option<bool>

Get the feature flags

source

pub fn feature_map(&self) -> BTreeMap<String, bool>

source§

impl ProtocolConfig

source

pub fn set_max_tx_size_bytes_for_testing(&mut self, val: u64)

source

pub fn set_max_tx_size_bytes_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_tx_size_bytes_for_testing(&mut self)

source

pub fn set_max_input_objects_for_testing(&mut self, val: u64)

source

pub fn set_max_input_objects_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_input_objects_for_testing(&mut self)

source

pub fn set_max_size_written_objects_for_testing(&mut self, val: u64)

source

pub fn set_max_size_written_objects_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_size_written_objects_for_testing(&mut self)

source

pub fn set_max_size_written_objects_system_tx_for_testing(&mut self, val: u64)

source

pub fn set_max_size_written_objects_system_tx_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_size_written_objects_system_tx_for_testing(&mut self)

source

pub fn set_max_serialized_tx_effects_size_bytes_for_testing(&mut self, val: u64)

source

pub fn set_max_serialized_tx_effects_size_bytes_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_serialized_tx_effects_size_bytes_for_testing(&mut self)

source

pub fn set_max_serialized_tx_effects_size_bytes_system_tx_for_testing( &mut self, val: u64 )

source

pub fn set_max_serialized_tx_effects_size_bytes_system_tx_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_serialized_tx_effects_size_bytes_system_tx_for_testing( &mut self )

source

pub fn set_max_gas_payment_objects_for_testing(&mut self, val: u32)

source

pub fn set_max_gas_payment_objects_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_gas_payment_objects_for_testing(&mut self)

source

pub fn set_max_modules_in_publish_for_testing(&mut self, val: u32)

source

pub fn set_max_modules_in_publish_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_modules_in_publish_for_testing(&mut self)

source

pub fn set_max_package_dependencies_for_testing(&mut self, val: u32)

source

pub fn set_max_package_dependencies_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_package_dependencies_for_testing(&mut self)

source

pub fn set_max_arguments_for_testing(&mut self, val: u32)

source

pub fn set_max_arguments_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_arguments_for_testing(&mut self)

source

pub fn set_max_type_arguments_for_testing(&mut self, val: u32)

source

pub fn set_max_type_arguments_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_type_arguments_for_testing(&mut self)

source

pub fn set_max_type_argument_depth_for_testing(&mut self, val: u32)

source

pub fn set_max_type_argument_depth_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_type_argument_depth_for_testing(&mut self)

source

pub fn set_max_pure_argument_size_for_testing(&mut self, val: u32)

source

pub fn set_max_pure_argument_size_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_pure_argument_size_for_testing(&mut self)

source

pub fn set_max_programmable_tx_commands_for_testing(&mut self, val: u32)

source

pub fn set_max_programmable_tx_commands_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_programmable_tx_commands_for_testing(&mut self)

source

pub fn set_move_binary_format_version_for_testing(&mut self, val: u32)

source

pub fn set_move_binary_format_version_from_str_for_testing( &mut self, val: String )

source

pub fn disable_move_binary_format_version_for_testing(&mut self)

source

pub fn set_binary_module_handles_for_testing(&mut self, val: u16)

source

pub fn set_binary_module_handles_from_str_for_testing(&mut self, val: String)

source

pub fn disable_binary_module_handles_for_testing(&mut self)

source

pub fn set_binary_struct_handles_for_testing(&mut self, val: u16)

source

pub fn set_binary_struct_handles_from_str_for_testing(&mut self, val: String)

source

pub fn disable_binary_struct_handles_for_testing(&mut self)

source

pub fn set_binary_function_handles_for_testing(&mut self, val: u16)

source

pub fn set_binary_function_handles_from_str_for_testing(&mut self, val: String)

source

pub fn disable_binary_function_handles_for_testing(&mut self)

source

pub fn set_binary_function_instantiations_for_testing(&mut self, val: u16)

source

pub fn set_binary_function_instantiations_from_str_for_testing( &mut self, val: String )

source

pub fn disable_binary_function_instantiations_for_testing(&mut self)

source

pub fn set_binary_signatures_for_testing(&mut self, val: u16)

source

pub fn set_binary_signatures_from_str_for_testing(&mut self, val: String)

source

pub fn disable_binary_signatures_for_testing(&mut self)

source

pub fn set_binary_constant_pool_for_testing(&mut self, val: u16)

source

pub fn set_binary_constant_pool_from_str_for_testing(&mut self, val: String)

source

pub fn disable_binary_constant_pool_for_testing(&mut self)

source

pub fn set_binary_identifiers_for_testing(&mut self, val: u16)

source

pub fn set_binary_identifiers_from_str_for_testing(&mut self, val: String)

source

pub fn disable_binary_identifiers_for_testing(&mut self)

source

pub fn set_binary_address_identifiers_for_testing(&mut self, val: u16)

source

pub fn set_binary_address_identifiers_from_str_for_testing( &mut self, val: String )

source

pub fn disable_binary_address_identifiers_for_testing(&mut self)

source

pub fn set_binary_struct_defs_for_testing(&mut self, val: u16)

source

pub fn set_binary_struct_defs_from_str_for_testing(&mut self, val: String)

source

pub fn disable_binary_struct_defs_for_testing(&mut self)

source

pub fn set_binary_struct_def_instantiations_for_testing(&mut self, val: u16)

source

pub fn set_binary_struct_def_instantiations_from_str_for_testing( &mut self, val: String )

source

pub fn disable_binary_struct_def_instantiations_for_testing(&mut self)

source

pub fn set_binary_function_defs_for_testing(&mut self, val: u16)

source

pub fn set_binary_function_defs_from_str_for_testing(&mut self, val: String)

source

pub fn disable_binary_function_defs_for_testing(&mut self)

source

pub fn set_binary_field_handles_for_testing(&mut self, val: u16)

source

pub fn set_binary_field_handles_from_str_for_testing(&mut self, val: String)

source

pub fn disable_binary_field_handles_for_testing(&mut self)

source

pub fn set_binary_field_instantiations_for_testing(&mut self, val: u16)

source

pub fn set_binary_field_instantiations_from_str_for_testing( &mut self, val: String )

source

pub fn disable_binary_field_instantiations_for_testing(&mut self)

source

pub fn set_binary_friend_decls_for_testing(&mut self, val: u16)

source

pub fn set_binary_friend_decls_from_str_for_testing(&mut self, val: String)

source

pub fn disable_binary_friend_decls_for_testing(&mut self)

source

pub fn set_max_move_object_size_for_testing(&mut self, val: u64)

source

pub fn set_max_move_object_size_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_move_object_size_for_testing(&mut self)

source

pub fn set_max_move_package_size_for_testing(&mut self, val: u64)

source

pub fn set_max_move_package_size_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_move_package_size_for_testing(&mut self)

source

pub fn set_max_publish_or_upgrade_per_ptb_for_testing(&mut self, val: u64)

source

pub fn set_max_publish_or_upgrade_per_ptb_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_publish_or_upgrade_per_ptb_for_testing(&mut self)

source

pub fn set_max_tx_gas_for_testing(&mut self, val: u64)

source

pub fn set_max_tx_gas_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_tx_gas_for_testing(&mut self)

source

pub fn set_max_gas_price_for_testing(&mut self, val: u64)

source

pub fn set_max_gas_price_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_gas_price_for_testing(&mut self)

source

pub fn set_max_gas_computation_bucket_for_testing(&mut self, val: u64)

source

pub fn set_max_gas_computation_bucket_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_gas_computation_bucket_for_testing(&mut self)

source

pub fn set_gas_rounding_step_for_testing(&mut self, val: u64)

source

pub fn set_gas_rounding_step_from_str_for_testing(&mut self, val: String)

source

pub fn disable_gas_rounding_step_for_testing(&mut self)

source

pub fn set_max_loop_depth_for_testing(&mut self, val: u64)

source

pub fn set_max_loop_depth_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_loop_depth_for_testing(&mut self)

source

pub fn set_max_generic_instantiation_length_for_testing(&mut self, val: u64)

source

pub fn set_max_generic_instantiation_length_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_generic_instantiation_length_for_testing(&mut self)

source

pub fn set_max_function_parameters_for_testing(&mut self, val: u64)

source

pub fn set_max_function_parameters_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_function_parameters_for_testing(&mut self)

source

pub fn set_max_basic_blocks_for_testing(&mut self, val: u64)

source

pub fn set_max_basic_blocks_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_basic_blocks_for_testing(&mut self)

source

pub fn set_max_value_stack_size_for_testing(&mut self, val: u64)

source

pub fn set_max_value_stack_size_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_value_stack_size_for_testing(&mut self)

source

pub fn set_max_type_nodes_for_testing(&mut self, val: u64)

source

pub fn set_max_type_nodes_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_type_nodes_for_testing(&mut self)

source

pub fn set_max_push_size_for_testing(&mut self, val: u64)

source

pub fn set_max_push_size_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_push_size_for_testing(&mut self)

source

pub fn set_max_struct_definitions_for_testing(&mut self, val: u64)

source

pub fn set_max_struct_definitions_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_struct_definitions_for_testing(&mut self)

source

pub fn set_max_function_definitions_for_testing(&mut self, val: u64)

source

pub fn set_max_function_definitions_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_function_definitions_for_testing(&mut self)

source

pub fn set_max_fields_in_struct_for_testing(&mut self, val: u64)

source

pub fn set_max_fields_in_struct_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_fields_in_struct_for_testing(&mut self)

source

pub fn set_max_dependency_depth_for_testing(&mut self, val: u64)

source

pub fn set_max_dependency_depth_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_dependency_depth_for_testing(&mut self)

source

pub fn set_max_num_event_emit_for_testing(&mut self, val: u64)

source

pub fn set_max_num_event_emit_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_num_event_emit_for_testing(&mut self)

source

pub fn set_max_num_new_move_object_ids_for_testing(&mut self, val: u64)

source

pub fn set_max_num_new_move_object_ids_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_num_new_move_object_ids_for_testing(&mut self)

source

pub fn set_max_num_new_move_object_ids_system_tx_for_testing( &mut self, val: u64 )

source

pub fn set_max_num_new_move_object_ids_system_tx_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_num_new_move_object_ids_system_tx_for_testing(&mut self)

source

pub fn set_max_num_deleted_move_object_ids_for_testing(&mut self, val: u64)

source

pub fn set_max_num_deleted_move_object_ids_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_num_deleted_move_object_ids_for_testing(&mut self)

source

pub fn set_max_num_deleted_move_object_ids_system_tx_for_testing( &mut self, val: u64 )

source

pub fn set_max_num_deleted_move_object_ids_system_tx_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_num_deleted_move_object_ids_system_tx_for_testing(&mut self)

source

pub fn set_max_num_transferred_move_object_ids_for_testing(&mut self, val: u64)

source

pub fn set_max_num_transferred_move_object_ids_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_num_transferred_move_object_ids_for_testing(&mut self)

source

pub fn set_max_num_transferred_move_object_ids_system_tx_for_testing( &mut self, val: u64 )

source

pub fn set_max_num_transferred_move_object_ids_system_tx_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_num_transferred_move_object_ids_system_tx_for_testing( &mut self )

source

pub fn set_max_event_emit_size_for_testing(&mut self, val: u64)

source

pub fn set_max_event_emit_size_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_event_emit_size_for_testing(&mut self)

source

pub fn set_max_event_emit_size_total_for_testing(&mut self, val: u64)

source

pub fn set_max_event_emit_size_total_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_event_emit_size_total_for_testing(&mut self)

source

pub fn set_max_move_vector_len_for_testing(&mut self, val: u64)

source

pub fn set_max_move_vector_len_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_move_vector_len_for_testing(&mut self)

source

pub fn set_max_move_identifier_len_for_testing(&mut self, val: u64)

source

pub fn set_max_move_identifier_len_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_move_identifier_len_for_testing(&mut self)

source

pub fn set_max_move_value_depth_for_testing(&mut self, val: u64)

source

pub fn set_max_move_value_depth_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_move_value_depth_for_testing(&mut self)

source

pub fn set_max_back_edges_per_function_for_testing(&mut self, val: u64)

source

pub fn set_max_back_edges_per_function_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_back_edges_per_function_for_testing(&mut self)

source

pub fn set_max_back_edges_per_module_for_testing(&mut self, val: u64)

source

pub fn set_max_back_edges_per_module_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_back_edges_per_module_for_testing(&mut self)

source

pub fn set_max_verifier_meter_ticks_per_function_for_testing( &mut self, val: u64 )

source

pub fn set_max_verifier_meter_ticks_per_function_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_verifier_meter_ticks_per_function_for_testing(&mut self)

source

pub fn set_max_meter_ticks_per_module_for_testing(&mut self, val: u64)

source

pub fn set_max_meter_ticks_per_module_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_meter_ticks_per_module_for_testing(&mut self)

source

pub fn set_max_meter_ticks_per_package_for_testing(&mut self, val: u64)

source

pub fn set_max_meter_ticks_per_package_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_meter_ticks_per_package_for_testing(&mut self)

source

pub fn set_object_runtime_max_num_cached_objects_for_testing( &mut self, val: u64 )

source

pub fn set_object_runtime_max_num_cached_objects_from_str_for_testing( &mut self, val: String )

source

pub fn disable_object_runtime_max_num_cached_objects_for_testing(&mut self)

source

pub fn set_object_runtime_max_num_cached_objects_system_tx_for_testing( &mut self, val: u64 )

source

pub fn set_object_runtime_max_num_cached_objects_system_tx_from_str_for_testing( &mut self, val: String )

source

pub fn disable_object_runtime_max_num_cached_objects_system_tx_for_testing( &mut self )

source

pub fn set_object_runtime_max_num_store_entries_for_testing(&mut self, val: u64)

source

pub fn set_object_runtime_max_num_store_entries_from_str_for_testing( &mut self, val: String )

source

pub fn disable_object_runtime_max_num_store_entries_for_testing(&mut self)

source

pub fn set_object_runtime_max_num_store_entries_system_tx_for_testing( &mut self, val: u64 )

source

pub fn set_object_runtime_max_num_store_entries_system_tx_from_str_for_testing( &mut self, val: String )

source

pub fn disable_object_runtime_max_num_store_entries_system_tx_for_testing( &mut self )

source

pub fn set_base_tx_cost_fixed_for_testing(&mut self, val: u64)

source

pub fn set_base_tx_cost_fixed_from_str_for_testing(&mut self, val: String)

source

pub fn disable_base_tx_cost_fixed_for_testing(&mut self)

source

pub fn set_package_publish_cost_fixed_for_testing(&mut self, val: u64)

source

pub fn set_package_publish_cost_fixed_from_str_for_testing( &mut self, val: String )

source

pub fn disable_package_publish_cost_fixed_for_testing(&mut self)

source

pub fn set_base_tx_cost_per_byte_for_testing(&mut self, val: u64)

source

pub fn set_base_tx_cost_per_byte_from_str_for_testing(&mut self, val: String)

source

pub fn disable_base_tx_cost_per_byte_for_testing(&mut self)

source

pub fn set_package_publish_cost_per_byte_for_testing(&mut self, val: u64)

source

pub fn set_package_publish_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_package_publish_cost_per_byte_for_testing(&mut self)

source

pub fn set_obj_access_cost_read_per_byte_for_testing(&mut self, val: u64)

source

pub fn set_obj_access_cost_read_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_obj_access_cost_read_per_byte_for_testing(&mut self)

source

pub fn set_obj_access_cost_mutate_per_byte_for_testing(&mut self, val: u64)

source

pub fn set_obj_access_cost_mutate_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_obj_access_cost_mutate_per_byte_for_testing(&mut self)

source

pub fn set_obj_access_cost_delete_per_byte_for_testing(&mut self, val: u64)

source

pub fn set_obj_access_cost_delete_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_obj_access_cost_delete_per_byte_for_testing(&mut self)

source

pub fn set_obj_access_cost_verify_per_byte_for_testing(&mut self, val: u64)

source

pub fn set_obj_access_cost_verify_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_obj_access_cost_verify_per_byte_for_testing(&mut self)

source

pub fn set_gas_model_version_for_testing(&mut self, val: u64)

source

pub fn set_gas_model_version_from_str_for_testing(&mut self, val: String)

source

pub fn disable_gas_model_version_for_testing(&mut self)

source

pub fn set_obj_data_cost_refundable_for_testing(&mut self, val: u64)

source

pub fn set_obj_data_cost_refundable_from_str_for_testing(&mut self, val: String)

source

pub fn disable_obj_data_cost_refundable_for_testing(&mut self)

source

pub fn set_obj_metadata_cost_non_refundable_for_testing(&mut self, val: u64)

source

pub fn set_obj_metadata_cost_non_refundable_from_str_for_testing( &mut self, val: String )

source

pub fn disable_obj_metadata_cost_non_refundable_for_testing(&mut self)

source

pub fn set_storage_rebate_rate_for_testing(&mut self, val: u64)

source

pub fn set_storage_rebate_rate_from_str_for_testing(&mut self, val: String)

source

pub fn disable_storage_rebate_rate_for_testing(&mut self)

source

pub fn set_storage_fund_reinvest_rate_for_testing(&mut self, val: u64)

source

pub fn set_storage_fund_reinvest_rate_from_str_for_testing( &mut self, val: String )

source

pub fn disable_storage_fund_reinvest_rate_for_testing(&mut self)

source

pub fn set_reward_slashing_rate_for_testing(&mut self, val: u64)

source

pub fn set_reward_slashing_rate_from_str_for_testing(&mut self, val: String)

source

pub fn disable_reward_slashing_rate_for_testing(&mut self)

source

pub fn set_storage_gas_price_for_testing(&mut self, val: u64)

source

pub fn set_storage_gas_price_from_str_for_testing(&mut self, val: String)

source

pub fn disable_storage_gas_price_for_testing(&mut self)

source

pub fn set_max_transactions_per_checkpoint_for_testing(&mut self, val: u64)

source

pub fn set_max_transactions_per_checkpoint_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_transactions_per_checkpoint_for_testing(&mut self)

source

pub fn set_max_checkpoint_size_bytes_for_testing(&mut self, val: u64)

source

pub fn set_max_checkpoint_size_bytes_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_checkpoint_size_bytes_for_testing(&mut self)

source

pub fn set_buffer_stake_for_protocol_upgrade_bps_for_testing( &mut self, val: u64 )

source

pub fn set_buffer_stake_for_protocol_upgrade_bps_from_str_for_testing( &mut self, val: String )

source

pub fn disable_buffer_stake_for_protocol_upgrade_bps_for_testing(&mut self)

source

pub fn set_address_from_bytes_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_address_from_bytes_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_address_from_bytes_cost_base_for_testing(&mut self)

source

pub fn set_address_to_u256_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_address_to_u256_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_address_to_u256_cost_base_for_testing(&mut self)

source

pub fn set_address_from_u256_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_address_from_u256_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_address_from_u256_cost_base_for_testing(&mut self)

source

pub fn set_dynamic_field_hash_type_and_key_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_hash_type_and_key_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_hash_type_and_key_cost_base_for_testing(&mut self)

source

pub fn set_dynamic_field_hash_type_and_key_type_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_hash_type_and_key_type_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_hash_type_and_key_type_cost_per_byte_for_testing( &mut self )

source

pub fn set_dynamic_field_hash_type_and_key_value_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_hash_type_and_key_value_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_hash_type_and_key_value_cost_per_byte_for_testing( &mut self )

source

pub fn set_dynamic_field_hash_type_and_key_type_tag_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_hash_type_and_key_type_tag_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_hash_type_and_key_type_tag_cost_per_byte_for_testing( &mut self )

source

pub fn set_dynamic_field_add_child_object_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_add_child_object_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_add_child_object_cost_base_for_testing(&mut self)

source

pub fn set_dynamic_field_add_child_object_type_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_add_child_object_type_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_add_child_object_type_cost_per_byte_for_testing( &mut self )

source

pub fn set_dynamic_field_add_child_object_value_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_add_child_object_value_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_add_child_object_value_cost_per_byte_for_testing( &mut self )

source

pub fn set_dynamic_field_add_child_object_struct_tag_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_add_child_object_struct_tag_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_add_child_object_struct_tag_cost_per_byte_for_testing( &mut self )

source

pub fn set_dynamic_field_borrow_child_object_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_borrow_child_object_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_borrow_child_object_cost_base_for_testing( &mut self )

source

pub fn set_dynamic_field_borrow_child_object_child_ref_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_borrow_child_object_child_ref_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_borrow_child_object_child_ref_cost_per_byte_for_testing( &mut self )

source

pub fn set_dynamic_field_borrow_child_object_type_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_borrow_child_object_type_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_borrow_child_object_type_cost_per_byte_for_testing( &mut self )

source

pub fn set_dynamic_field_remove_child_object_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_remove_child_object_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_remove_child_object_cost_base_for_testing( &mut self )

source

pub fn set_dynamic_field_remove_child_object_child_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_remove_child_object_child_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_remove_child_object_child_cost_per_byte_for_testing( &mut self )

source

pub fn set_dynamic_field_remove_child_object_type_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_remove_child_object_type_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_remove_child_object_type_cost_per_byte_for_testing( &mut self )

source

pub fn set_dynamic_field_has_child_object_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_has_child_object_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_has_child_object_cost_base_for_testing(&mut self)

source

pub fn set_dynamic_field_has_child_object_with_ty_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_has_child_object_with_ty_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_has_child_object_with_ty_cost_base_for_testing( &mut self )

source

pub fn set_dynamic_field_has_child_object_with_ty_type_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_has_child_object_with_ty_type_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_has_child_object_with_ty_type_cost_per_byte_for_testing( &mut self )

source

pub fn set_dynamic_field_has_child_object_with_ty_type_tag_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_dynamic_field_has_child_object_with_ty_type_tag_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_dynamic_field_has_child_object_with_ty_type_tag_cost_per_byte_for_testing( &mut self )

source

pub fn set_event_emit_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_event_emit_cost_base_from_str_for_testing(&mut self, val: String)

source

pub fn disable_event_emit_cost_base_for_testing(&mut self)

source

pub fn set_event_emit_value_size_derivation_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_event_emit_value_size_derivation_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_event_emit_value_size_derivation_cost_per_byte_for_testing( &mut self )

source

pub fn set_event_emit_tag_size_derivation_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_event_emit_tag_size_derivation_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_event_emit_tag_size_derivation_cost_per_byte_for_testing( &mut self )

source

pub fn set_event_emit_output_cost_per_byte_for_testing(&mut self, val: u64)

source

pub fn set_event_emit_output_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_event_emit_output_cost_per_byte_for_testing(&mut self)

source

pub fn set_object_borrow_uid_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_object_borrow_uid_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_object_borrow_uid_cost_base_for_testing(&mut self)

source

pub fn set_object_delete_impl_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_object_delete_impl_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_object_delete_impl_cost_base_for_testing(&mut self)

source

pub fn set_object_record_new_uid_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_object_record_new_uid_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_object_record_new_uid_cost_base_for_testing(&mut self)

source

pub fn set_transfer_transfer_internal_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_transfer_transfer_internal_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_transfer_transfer_internal_cost_base_for_testing(&mut self)

source

pub fn set_transfer_freeze_object_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_transfer_freeze_object_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_transfer_freeze_object_cost_base_for_testing(&mut self)

source

pub fn set_transfer_share_object_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_transfer_share_object_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_transfer_share_object_cost_base_for_testing(&mut self)

source

pub fn set_transfer_receive_object_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_transfer_receive_object_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_transfer_receive_object_cost_base_for_testing(&mut self)

source

pub fn set_tx_context_derive_id_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_tx_context_derive_id_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_tx_context_derive_id_cost_base_for_testing(&mut self)

source

pub fn set_types_is_one_time_witness_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_types_is_one_time_witness_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_types_is_one_time_witness_cost_base_for_testing(&mut self)

source

pub fn set_types_is_one_time_witness_type_tag_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_types_is_one_time_witness_type_tag_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_types_is_one_time_witness_type_tag_cost_per_byte_for_testing( &mut self )

source

pub fn set_types_is_one_time_witness_type_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_types_is_one_time_witness_type_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_types_is_one_time_witness_type_cost_per_byte_for_testing( &mut self )

source

pub fn set_validator_validate_metadata_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_validator_validate_metadata_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_validator_validate_metadata_cost_base_for_testing(&mut self)

source

pub fn set_validator_validate_metadata_data_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_validator_validate_metadata_data_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_validator_validate_metadata_data_cost_per_byte_for_testing( &mut self )

source

pub fn set_crypto_invalid_arguments_cost_for_testing(&mut self, val: u64)

source

pub fn set_crypto_invalid_arguments_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_crypto_invalid_arguments_cost_for_testing(&mut self)

source

pub fn set_bls12381_bls12381_min_sig_verify_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_bls12381_bls12381_min_sig_verify_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_bls12381_bls12381_min_sig_verify_cost_base_for_testing(&mut self)

source

pub fn set_bls12381_bls12381_min_sig_verify_msg_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_bls12381_bls12381_min_sig_verify_msg_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_bls12381_bls12381_min_sig_verify_msg_cost_per_byte_for_testing( &mut self )

source

pub fn set_bls12381_bls12381_min_sig_verify_msg_cost_per_block_for_testing( &mut self, val: u64 )

source

pub fn set_bls12381_bls12381_min_sig_verify_msg_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_bls12381_bls12381_min_sig_verify_msg_cost_per_block_for_testing( &mut self )

source

pub fn set_bls12381_bls12381_min_pk_verify_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_bls12381_bls12381_min_pk_verify_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_bls12381_bls12381_min_pk_verify_cost_base_for_testing(&mut self)

source

pub fn set_bls12381_bls12381_min_pk_verify_msg_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_bls12381_bls12381_min_pk_verify_msg_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_bls12381_bls12381_min_pk_verify_msg_cost_per_byte_for_testing( &mut self )

source

pub fn set_bls12381_bls12381_min_pk_verify_msg_cost_per_block_for_testing( &mut self, val: u64 )

source

pub fn set_bls12381_bls12381_min_pk_verify_msg_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_bls12381_bls12381_min_pk_verify_msg_cost_per_block_for_testing( &mut self )

source

pub fn set_ecdsa_k1_ecrecover_keccak256_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_k1_ecrecover_keccak256_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_k1_ecrecover_keccak256_cost_base_for_testing(&mut self)

source

pub fn set_ecdsa_k1_ecrecover_keccak256_msg_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_k1_ecrecover_keccak256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_k1_ecrecover_keccak256_msg_cost_per_byte_for_testing( &mut self )

source

pub fn set_ecdsa_k1_ecrecover_keccak256_msg_cost_per_block_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_k1_ecrecover_keccak256_msg_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_k1_ecrecover_keccak256_msg_cost_per_block_for_testing( &mut self )

source

pub fn set_ecdsa_k1_ecrecover_sha256_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_ecdsa_k1_ecrecover_sha256_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_k1_ecrecover_sha256_cost_base_for_testing(&mut self)

source

pub fn set_ecdsa_k1_ecrecover_sha256_msg_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_k1_ecrecover_sha256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_k1_ecrecover_sha256_msg_cost_per_byte_for_testing( &mut self )

source

pub fn set_ecdsa_k1_ecrecover_sha256_msg_cost_per_block_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_k1_ecrecover_sha256_msg_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_k1_ecrecover_sha256_msg_cost_per_block_for_testing( &mut self )

source

pub fn set_ecdsa_k1_decompress_pubkey_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_ecdsa_k1_decompress_pubkey_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_k1_decompress_pubkey_cost_base_for_testing(&mut self)

source

pub fn set_ecdsa_k1_secp256k1_verify_keccak256_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_k1_secp256k1_verify_keccak256_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_k1_secp256k1_verify_keccak256_cost_base_for_testing( &mut self )

source

pub fn set_ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_byte_for_testing( &mut self )

source

pub fn set_ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_block_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_block_for_testing( &mut self )

source

pub fn set_ecdsa_k1_secp256k1_verify_sha256_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_k1_secp256k1_verify_sha256_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_k1_secp256k1_verify_sha256_cost_base_for_testing(&mut self)

source

pub fn set_ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_byte_for_testing( &mut self )

source

pub fn set_ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_block_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_block_for_testing( &mut self )

source

pub fn set_ecdsa_r1_ecrecover_keccak256_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_r1_ecrecover_keccak256_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_r1_ecrecover_keccak256_cost_base_for_testing(&mut self)

source

pub fn set_ecdsa_r1_ecrecover_keccak256_msg_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_r1_ecrecover_keccak256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_r1_ecrecover_keccak256_msg_cost_per_byte_for_testing( &mut self )

source

pub fn set_ecdsa_r1_ecrecover_keccak256_msg_cost_per_block_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_r1_ecrecover_keccak256_msg_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_r1_ecrecover_keccak256_msg_cost_per_block_for_testing( &mut self )

source

pub fn set_ecdsa_r1_ecrecover_sha256_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_ecdsa_r1_ecrecover_sha256_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_r1_ecrecover_sha256_cost_base_for_testing(&mut self)

source

pub fn set_ecdsa_r1_ecrecover_sha256_msg_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_r1_ecrecover_sha256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_r1_ecrecover_sha256_msg_cost_per_byte_for_testing( &mut self )

source

pub fn set_ecdsa_r1_ecrecover_sha256_msg_cost_per_block_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_r1_ecrecover_sha256_msg_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_r1_ecrecover_sha256_msg_cost_per_block_for_testing( &mut self )

source

pub fn set_ecdsa_r1_secp256r1_verify_keccak256_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_r1_secp256r1_verify_keccak256_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_r1_secp256r1_verify_keccak256_cost_base_for_testing( &mut self )

source

pub fn set_ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_byte_for_testing( &mut self )

source

pub fn set_ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_block_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_block_for_testing( &mut self )

source

pub fn set_ecdsa_r1_secp256r1_verify_sha256_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_r1_secp256r1_verify_sha256_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_r1_secp256r1_verify_sha256_cost_base_for_testing(&mut self)

source

pub fn set_ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_byte_for_testing( &mut self )

source

pub fn set_ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_block_for_testing( &mut self, val: u64 )

source

pub fn set_ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_block_for_testing( &mut self )

source

pub fn set_ecvrf_ecvrf_verify_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_ecvrf_ecvrf_verify_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecvrf_ecvrf_verify_cost_base_for_testing(&mut self)

source

pub fn set_ecvrf_ecvrf_verify_alpha_string_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_ecvrf_ecvrf_verify_alpha_string_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecvrf_ecvrf_verify_alpha_string_cost_per_byte_for_testing( &mut self )

source

pub fn set_ecvrf_ecvrf_verify_alpha_string_cost_per_block_for_testing( &mut self, val: u64 )

source

pub fn set_ecvrf_ecvrf_verify_alpha_string_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ecvrf_ecvrf_verify_alpha_string_cost_per_block_for_testing( &mut self )

source

pub fn set_ed25519_ed25519_verify_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_ed25519_ed25519_verify_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ed25519_ed25519_verify_cost_base_for_testing(&mut self)

source

pub fn set_ed25519_ed25519_verify_msg_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_ed25519_ed25519_verify_msg_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ed25519_ed25519_verify_msg_cost_per_byte_for_testing(&mut self)

source

pub fn set_ed25519_ed25519_verify_msg_cost_per_block_for_testing( &mut self, val: u64 )

source

pub fn set_ed25519_ed25519_verify_msg_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_ed25519_ed25519_verify_msg_cost_per_block_for_testing(&mut self)

source

pub fn set_groth16_prepare_verifying_key_bls12381_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_groth16_prepare_verifying_key_bls12381_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_groth16_prepare_verifying_key_bls12381_cost_base_for_testing( &mut self )

source

pub fn set_groth16_prepare_verifying_key_bn254_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_groth16_prepare_verifying_key_bn254_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_groth16_prepare_verifying_key_bn254_cost_base_for_testing( &mut self )

source

pub fn set_groth16_verify_groth16_proof_internal_bls12381_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_groth16_verify_groth16_proof_internal_bls12381_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_groth16_verify_groth16_proof_internal_bls12381_cost_base_for_testing( &mut self )

source

pub fn set_groth16_verify_groth16_proof_internal_bls12381_cost_per_public_input_for_testing( &mut self, val: u64 )

source

pub fn set_groth16_verify_groth16_proof_internal_bls12381_cost_per_public_input_from_str_for_testing( &mut self, val: String )

source

pub fn disable_groth16_verify_groth16_proof_internal_bls12381_cost_per_public_input_for_testing( &mut self )

source

pub fn set_groth16_verify_groth16_proof_internal_bn254_cost_base_for_testing( &mut self, val: u64 )

source

pub fn set_groth16_verify_groth16_proof_internal_bn254_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_groth16_verify_groth16_proof_internal_bn254_cost_base_for_testing( &mut self )

source

pub fn set_groth16_verify_groth16_proof_internal_bn254_cost_per_public_input_for_testing( &mut self, val: u64 )

source

pub fn set_groth16_verify_groth16_proof_internal_bn254_cost_per_public_input_from_str_for_testing( &mut self, val: String )

source

pub fn disable_groth16_verify_groth16_proof_internal_bn254_cost_per_public_input_for_testing( &mut self )

source

pub fn set_groth16_verify_groth16_proof_internal_public_input_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_groth16_verify_groth16_proof_internal_public_input_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_groth16_verify_groth16_proof_internal_public_input_cost_per_byte_for_testing( &mut self )

source

pub fn set_hash_blake2b256_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_hash_blake2b256_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_hash_blake2b256_cost_base_for_testing(&mut self)

source

pub fn set_hash_blake2b256_data_cost_per_byte_for_testing(&mut self, val: u64)

source

pub fn set_hash_blake2b256_data_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_hash_blake2b256_data_cost_per_byte_for_testing(&mut self)

source

pub fn set_hash_blake2b256_data_cost_per_block_for_testing(&mut self, val: u64)

source

pub fn set_hash_blake2b256_data_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_hash_blake2b256_data_cost_per_block_for_testing(&mut self)

source

pub fn set_hash_keccak256_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_hash_keccak256_cost_base_from_str_for_testing(&mut self, val: String)

source

pub fn disable_hash_keccak256_cost_base_for_testing(&mut self)

source

pub fn set_hash_keccak256_data_cost_per_byte_for_testing(&mut self, val: u64)

source

pub fn set_hash_keccak256_data_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_hash_keccak256_data_cost_per_byte_for_testing(&mut self)

source

pub fn set_hash_keccak256_data_cost_per_block_for_testing(&mut self, val: u64)

source

pub fn set_hash_keccak256_data_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_hash_keccak256_data_cost_per_block_for_testing(&mut self)

source

pub fn set_poseidon_bn254_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_poseidon_bn254_cost_base_from_str_for_testing(&mut self, val: String)

source

pub fn disable_poseidon_bn254_cost_base_for_testing(&mut self)

source

pub fn set_poseidon_bn254_cost_per_block_for_testing(&mut self, val: u64)

source

pub fn set_poseidon_bn254_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_poseidon_bn254_cost_per_block_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_decode_scalar_cost_for_testing( &mut self, val: u64 )

source

pub fn set_group_ops_bls12381_decode_scalar_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_decode_scalar_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_decode_g1_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_decode_g1_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_decode_g1_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_decode_g2_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_decode_g2_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_decode_g2_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_decode_gt_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_decode_gt_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_decode_gt_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_scalar_add_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_scalar_add_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_scalar_add_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_g1_add_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_g1_add_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g1_add_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_g2_add_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_g2_add_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g2_add_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_gt_add_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_gt_add_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_gt_add_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_scalar_sub_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_scalar_sub_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_scalar_sub_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_g1_sub_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_g1_sub_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g1_sub_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_g2_sub_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_g2_sub_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g2_sub_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_gt_sub_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_gt_sub_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_gt_sub_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_scalar_mul_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_scalar_mul_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_scalar_mul_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_g1_mul_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_g1_mul_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g1_mul_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_g2_mul_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_g2_mul_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g2_mul_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_gt_mul_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_gt_mul_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_gt_mul_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_scalar_div_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_scalar_div_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_scalar_div_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_g1_div_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_g1_div_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g1_div_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_g2_div_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_g2_div_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g2_div_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_gt_div_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_gt_div_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_gt_div_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_g1_hash_to_base_cost_for_testing( &mut self, val: u64 )

source

pub fn set_group_ops_bls12381_g1_hash_to_base_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g1_hash_to_base_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_g2_hash_to_base_cost_for_testing( &mut self, val: u64 )

source

pub fn set_group_ops_bls12381_g2_hash_to_base_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g2_hash_to_base_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_g1_hash_to_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_group_ops_bls12381_g1_hash_to_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g1_hash_to_cost_per_byte_for_testing( &mut self )

source

pub fn set_group_ops_bls12381_g2_hash_to_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_group_ops_bls12381_g2_hash_to_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g2_hash_to_cost_per_byte_for_testing( &mut self )

source

pub fn set_group_ops_bls12381_g1_msm_base_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_g1_msm_base_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g1_msm_base_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_g2_msm_base_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_g2_msm_base_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g2_msm_base_cost_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_g1_msm_base_cost_per_input_for_testing( &mut self, val: u64 )

source

pub fn set_group_ops_bls12381_g1_msm_base_cost_per_input_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g1_msm_base_cost_per_input_for_testing( &mut self )

source

pub fn set_group_ops_bls12381_g2_msm_base_cost_per_input_for_testing( &mut self, val: u64 )

source

pub fn set_group_ops_bls12381_g2_msm_base_cost_per_input_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_g2_msm_base_cost_per_input_for_testing( &mut self )

source

pub fn set_group_ops_bls12381_msm_max_len_for_testing(&mut self, val: u32)

source

pub fn set_group_ops_bls12381_msm_max_len_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_msm_max_len_for_testing(&mut self)

source

pub fn set_group_ops_bls12381_pairing_cost_for_testing(&mut self, val: u64)

source

pub fn set_group_ops_bls12381_pairing_cost_from_str_for_testing( &mut self, val: String )

source

pub fn disable_group_ops_bls12381_pairing_cost_for_testing(&mut self)

source

pub fn set_hmac_hmac_sha3_256_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_hmac_hmac_sha3_256_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_hmac_hmac_sha3_256_cost_base_for_testing(&mut self)

source

pub fn set_hmac_hmac_sha3_256_input_cost_per_byte_for_testing( &mut self, val: u64 )

source

pub fn set_hmac_hmac_sha3_256_input_cost_per_byte_from_str_for_testing( &mut self, val: String )

source

pub fn disable_hmac_hmac_sha3_256_input_cost_per_byte_for_testing(&mut self)

source

pub fn set_hmac_hmac_sha3_256_input_cost_per_block_for_testing( &mut self, val: u64 )

source

pub fn set_hmac_hmac_sha3_256_input_cost_per_block_from_str_for_testing( &mut self, val: String )

source

pub fn disable_hmac_hmac_sha3_256_input_cost_per_block_for_testing(&mut self)

source

pub fn set_check_zklogin_id_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_check_zklogin_id_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_check_zklogin_id_cost_base_for_testing(&mut self)

source

pub fn set_check_zklogin_issuer_cost_base_for_testing(&mut self, val: u64)

source

pub fn set_check_zklogin_issuer_cost_base_from_str_for_testing( &mut self, val: String )

source

pub fn disable_check_zklogin_issuer_cost_base_for_testing(&mut self)

source

pub fn set_scoring_decision_mad_divisor_for_testing(&mut self, val: f64)

source

pub fn set_scoring_decision_mad_divisor_from_str_for_testing( &mut self, val: String )

source

pub fn disable_scoring_decision_mad_divisor_for_testing(&mut self)

source

pub fn set_scoring_decision_cutoff_value_for_testing(&mut self, val: f64)

source

pub fn set_scoring_decision_cutoff_value_from_str_for_testing( &mut self, val: String )

source

pub fn disable_scoring_decision_cutoff_value_for_testing(&mut self)

source

pub fn set_execution_version_for_testing(&mut self, val: u64)

source

pub fn set_execution_version_from_str_for_testing(&mut self, val: String)

source

pub fn disable_execution_version_for_testing(&mut self)

source

pub fn set_consensus_bad_nodes_stake_threshold_for_testing(&mut self, val: u64)

source

pub fn set_consensus_bad_nodes_stake_threshold_from_str_for_testing( &mut self, val: String )

source

pub fn disable_consensus_bad_nodes_stake_threshold_for_testing(&mut self)

source

pub fn set_max_jwk_votes_per_validator_per_epoch_for_testing( &mut self, val: u64 )

source

pub fn set_max_jwk_votes_per_validator_per_epoch_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_jwk_votes_per_validator_per_epoch_for_testing(&mut self)

source

pub fn set_max_age_of_jwk_in_epochs_for_testing(&mut self, val: u64)

source

pub fn set_max_age_of_jwk_in_epochs_from_str_for_testing(&mut self, val: String)

source

pub fn disable_max_age_of_jwk_in_epochs_for_testing(&mut self)

source

pub fn set_random_beacon_reduction_allowed_delta_for_testing( &mut self, val: u16 )

source

pub fn set_random_beacon_reduction_allowed_delta_from_str_for_testing( &mut self, val: String )

source

pub fn disable_random_beacon_reduction_allowed_delta_for_testing(&mut self)

source

pub fn set_random_beacon_reduction_lower_bound_for_testing(&mut self, val: u32)

source

pub fn set_random_beacon_reduction_lower_bound_from_str_for_testing( &mut self, val: String )

source

pub fn disable_random_beacon_reduction_lower_bound_for_testing(&mut self)

source

pub fn set_random_beacon_dkg_timeout_round_for_testing(&mut self, val: u32)

source

pub fn set_random_beacon_dkg_timeout_round_from_str_for_testing( &mut self, val: String )

source

pub fn disable_random_beacon_dkg_timeout_round_for_testing(&mut self)

source

pub fn set_random_beacon_min_round_interval_ms_for_testing(&mut self, val: u64)

source

pub fn set_random_beacon_min_round_interval_ms_from_str_for_testing( &mut self, val: String )

source

pub fn disable_random_beacon_min_round_interval_ms_for_testing(&mut self)

source

pub fn set_consensus_max_transaction_size_bytes_for_testing(&mut self, val: u64)

source

pub fn set_consensus_max_transaction_size_bytes_from_str_for_testing( &mut self, val: String )

source

pub fn disable_consensus_max_transaction_size_bytes_for_testing(&mut self)

source

pub fn set_consensus_max_transactions_in_block_bytes_for_testing( &mut self, val: u64 )

source

pub fn set_consensus_max_transactions_in_block_bytes_from_str_for_testing( &mut self, val: String )

source

pub fn disable_consensus_max_transactions_in_block_bytes_for_testing(&mut self)

source

pub fn set_max_accumulated_txn_cost_per_object_in_checkpoint_for_testing( &mut self, val: u64 )

source

pub fn set_max_accumulated_txn_cost_per_object_in_checkpoint_from_str_for_testing( &mut self, val: String )

source

pub fn disable_max_accumulated_txn_cost_per_object_in_checkpoint_for_testing( &mut self )

source

pub fn set_attr_for_testing(&mut self, attr: String, val: String)

source§

impl ProtocolConfig

source

pub fn check_package_upgrades_supported(&self) -> Result<(), Error>

source

pub fn allow_receiving_object_id(&self) -> bool

source

pub fn receiving_objects_supported(&self) -> bool

source

pub fn package_upgrades_supported(&self) -> bool

source

pub fn check_commit_root_state_digest_supported(&self) -> bool

source

pub fn get_advance_epoch_start_time_in_safe_mode(&self) -> bool

source

pub fn loaded_child_objects_fixed(&self) -> bool

source

pub fn missing_type_is_compatibility_error(&self) -> bool

source

pub fn scoring_decision_with_validity_cutoff(&self) -> bool

source

pub fn narwhal_versioned_metadata(&self) -> bool

source

pub fn consensus_order_end_of_epoch_last(&self) -> bool

source

pub fn disallow_adding_abilities_on_upgrade(&self) -> bool

source

pub fn disable_invariant_violation_check_in_swap_loc(&self) -> bool

source

pub fn advance_to_highest_supported_protocol_version(&self) -> bool

source

pub fn ban_entry_init(&self) -> bool

source

pub fn package_digest_hash_module(&self) -> bool

source

pub fn disallow_change_struct_type_params_on_upgrade(&self) -> bool

source

pub fn no_extraneous_module_bytes(&self) -> bool

source

pub fn zklogin_auth(&self) -> bool

source

pub fn zklogin_supported_providers(&self) -> &BTreeSet<String>

source

pub fn consensus_transaction_ordering(&self) -> ConsensusTransactionOrdering

source

pub fn simplified_unwrap_then_delete(&self) -> bool

source

pub fn supports_upgraded_multisig(&self) -> bool

source

pub fn txn_base_cost_as_multiplier(&self) -> bool

source

pub fn shared_object_deletion(&self) -> bool

source

pub fn narwhal_new_leader_election_schedule(&self) -> bool

source

pub fn loaded_child_object_format(&self) -> bool

source

pub fn enable_jwk_consensus_updates(&self) -> bool

source

pub fn simple_conservation_checks(&self) -> bool

source

pub fn loaded_child_object_format_type(&self) -> bool

source

pub fn end_of_epoch_transaction_supported(&self) -> bool

source

pub fn recompute_has_public_transfer_in_execution(&self) -> bool

source

pub fn create_authenticator_state_in_genesis(&self) -> bool

source

pub fn random_beacon(&self) -> bool

source

pub fn enable_effects_v2(&self) -> bool

source

pub fn narwhal_certificate_v2(&self) -> bool

source

pub fn verify_legacy_zklogin_address(&self) -> bool

source

pub fn accept_zklogin_in_multisig(&self) -> bool

source

pub fn zklogin_max_epoch_upper_bound_delta(&self) -> Option<u64>

source

pub fn throughput_aware_consensus_submission(&self) -> bool

source

pub fn include_consensus_digest_in_prologue(&self) -> bool

source

pub fn hardened_otw_check(&self) -> bool

source

pub fn enable_poseidon(&self) -> bool

source

pub fn enable_coin_deny_list(&self) -> bool

source

pub fn enable_group_ops_native_functions(&self) -> bool

source

pub fn enable_group_ops_native_function_msm(&self) -> bool

source

pub fn reject_mutable_random_on_entry_functions(&self) -> bool

source

pub fn per_object_congestion_control_mode( &self ) -> PerObjectCongestionControlMode

source

pub fn consensus_choice(&self) -> ConsensusChoice

source

pub fn consensus_network(&self) -> ConsensusNetwork

source§

impl ProtocolConfig

source

pub fn get_for_version(version: ProtocolVersion, chain: Chain) -> Self

Get the value ProtocolConfig that are in effect during the given protocol version.

source

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.

source

pub fn poison_get_for_min_version()

source

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.

source

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.

source

pub fn verifier_config(&self, for_signing: bool) -> VerifierConfig

source

pub fn meter_config(&self) -> MeterConfig

source

pub fn apply_overrides_for_testing( override_fn: impl Fn(ProtocolVersion, Self) -> Self + Send + '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

source

pub fn set_package_upgrades_for_testing(&mut self, val: bool)

source

pub fn set_advance_to_highest_supported_protocol_version_for_testing( &mut self, val: bool )

source

pub fn set_commit_root_state_digest_supported(&mut self, val: bool)

source

pub fn set_zklogin_auth_for_testing(&mut self, val: bool)

source

pub fn set_enable_jwk_consensus_updates_for_testing(&mut self, val: bool)

source

pub fn set_random_beacon_for_testing(&mut self, val: bool)

source

pub fn set_upgraded_multisig_for_testing(&mut self, val: bool)

source

pub fn set_accept_zklogin_in_multisig_for_testing(&mut self, val: bool)

source

pub fn set_shared_object_deletion(&mut self, val: bool)

source

pub fn set_narwhal_new_leader_election_schedule(&mut self, val: bool)

source

pub fn set_consensus_bad_nodes_stake_threshold(&mut self, val: u64)

source

pub fn set_receive_object_for_testing(&mut self, val: bool)

source

pub fn set_narwhal_certificate_v2(&mut self, val: bool)

source

pub fn set_verify_legacy_zklogin_address(&mut self, val: bool)

source

pub fn set_enable_effects_v2(&mut self, val: bool)

source

pub fn set_consensus_max_transaction_size_bytes(&mut self, val: u64)

source

pub fn set_consensus_max_transactions_in_block_bytes(&mut self, val: u64)

source

pub fn set_per_object_congestion_control_mode( &mut self, val: PerObjectCongestionControlMode )

source

pub fn set_consensus_choice(&mut self, val: ConsensusChoice)

source

pub fn set_consensus_network(&mut self, val: ConsensusNetwork)

source

pub fn set_max_accumulated_txn_cost_per_object_in_checkpoint( &mut self, val: u64 )

source

pub fn set_zklogin_max_epoch_upper_bound_delta(&mut self, val: Option<u64>)

Trait Implementations§

source§

impl Clone for ProtocolConfig

source§

fn clone(&self) -> ProtocolConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProtocolConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for ProtocolConfig

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for T
where T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more