pub(crate) fn upgrade_system_contracts_major_version(
        &self,
        correlation_id: CorrelationId,
        mint_hash: &ContractHash,
        auction_hash: &ContractHash,
        handle_payment_hash: &ContractHash,
        standard_payment_hash: &ContractHash,
    ) -> Result<(), ProtocolUpgradeError> {
        self.store_contract(correlation_id, *mint_hash, MINT, mint::mint_entry_points())?;
        self.store_contract(
            correlation_id,
            *auction_hash,
            AUCTION,
            auction::auction_entry_points(),
        )?;
        self.store_contract(
            correlation_id,
            *handle_payment_hash,
            HANDLE_PAYMENT,
            handle_payment::handle_payment_entry_points(),
        )?;
        self.store_contract(
            correlation_id,
            *standard_payment_hash,
            STANDARD_PAYMENT,
            standard_payment::standard_payment_entry_points(),
        )?;

        Ok(())
    }
/// Bump major version for system contracts.
Bump major version for system contracts.
Bump major version for system contracts .
pub(crate) fn upgrade_system_contracts_major_version(
        &self,
        correlation_id: CorrelationId,
        mint_hash: &ContractHash,
        auction_hash: &ContractHash,
        handle_payment_hash: &ContractHash,
        standard_payment_hash: &ContractHash,
    ) -> Result<(), ProtocolUpgradeError> {
        self.store_contract(correlation_id, *mint_hash, MINT, mint::mint_entry_points())?;
        self.store_contract(
            correlation_id,
            *auction_hash,
            AUCTION,
            auction::auction_entry_points(),
        )?;
        self.store_contract(
            correlation_id,
            *handle_payment_hash,
            HANDLE_PAYMENT,
            handle_payment::handle_payment_entry_points(),
        )?;
        self.store_contract(
            correlation_id,
            *standard_payment_hash,
            STANDARD_PAYMENT,
            standard_payment::standard_payment_entry_points(),
        )?;
        Ok(())
    }
pub ( crate ) fn upgrade_system_contracts_major_version ( & self , correlation_id : CorrelationId , mint_hash : & ContractHash , auction_hash : & ContractHash , handle_payment_hash : & ContractHash , standard_payment_hash : & ContractHash , ) -> Result < ( ) , ProtocolUpgradeError > { self . store_contract ( correlation_id , * mint_hash , MINT , mint :: mint_entry_points ( ) ) ? ; self . store_contract ( correlation_id , * auction_hash , AUCTION , auction :: auction_entry_points ( ) , ) ? ; self . store_contract ( correlation_id , * handle_payment_hash , HANDLE_PAYMENT , handle_payment :: handle_payment_entry_points ( ) , ) ? ; self . store_contract ( correlation_id , * standard_payment_hash , STANDARD_PAYMENT , standard_payment :: standard_payment_entry_points ( ) , ) ? ; Ok ( ( ) ) }
Bump major version for system contracts.
Bump major version for system contracts .
&self
correlation_id
CorrelationId
mint_hash
&ContractHash
auction_hash
&ContractHash
handle_payment_hash
&ContractHash
standard_payment_hash
&ContractHash
&self
correlation_id
CorrelationId
mint_hash
&ContractHash
auction_hash
&ContractHash
handle_payment_hash
&ContractHash
standard_payment_hash
&ContractHash