pub fn run_auction(
        &mut self,
        era_end_timestamp_millis: u64,
        evicted_validators: Vec<PublicKey>,
    ) -> &mut Self {
        let auction = self.get_auction_contract_hash();
        let run_request = ExecuteRequestBuilder::contract_call_by_hash(
            *SYSTEM_ADDR,
            auction,
            METHOD_RUN_AUCTION,
            runtime_args! {
                ARG_ERA_END_TIMESTAMP_MILLIS => era_end_timestamp_millis,
                ARG_EVICTED_VALIDATORS => evicted_validators,
            },
        )
        .build();
        self.exec(run_request).commit().expect_success()
    }
/// Executes a request to call the system auction contract.
Executes a request to call the system auction contract.
Executes a request to call the system auction contract .
pub fn run_auction(
        &mut self,
        era_end_timestamp_millis: u64,
        evicted_validators: Vec<PublicKey>,
    ) -> &mut Self {
        let auction = self.get_auction_contract_hash();
        let run_request = ExecuteRequestBuilder::contract_call_by_hash(
            *SYSTEM_ADDR,
            auction,
            METHOD_RUN_AUCTION,
            runtime_args! {
                ARG_ERA_END_TIMESTAMP_MILLIS => era_end_timestamp_millis,
                ARG_EVICTED_VALIDATORS => evicted_validators,
            },
        )
        .build();
        self.exec(run_request).commit().expect_success()
    }
pub fn run_auction ( & mut self , era_end_timestamp_millis : u64 , evicted_validators : Vec < PublicKey > , ) -> & mut Self { let auction = self . get_auction_contract_hash ( ) ; let run_request = ExecuteRequestBuilder :: contract_call_by_hash ( * SYSTEM_ADDR , auction , METHOD_RUN_AUCTION , runtime_args ! { ARG_ERA_END_TIMESTAMP_MILLIS era_end_timestamp_millis ARG_EVICTED_VALIDATORS evicted_validators } , ) . build ( ) ; self . exec ( run_request ) . commit ( ) . expect_success ( ) }
Executes a request to call the system auction contract.
Executes a request to call the system auction contract .
&mut self
era_end_timestamp_millis
u64
evicted_validators
Vec<PublicKey>
&mut self
era_end_timestamp_millis
u64
evicted_validators
Vec<PublicKey>