pub fn exec_with_args_and_keys(
        &mut self,
        address: [u8; 32],
        wasm_file: &str,
        block_time: u64,
        deploy_hash: [u8; 32],
        args: impl contract_ffi::contract_api::argsparser::ArgsParser,
        authorized_keys: Vec<contract_ffi::value::account::PublicKey>,
    ) -> &mut WasmTestBuilder {
        let exec_request = create_exec_request(
            address,
            &wasm_file,
            self.post_state_hash
                .as_ref()
                .expect("Should have post state hash"),
            block_time,
            deploy_hash,
            args,
            authorized_keys,
        );
        self.exec_with_exec_request(exec_request)
    }
/// Runs a contract and after that runs actual WASM contract and expects
/// transformations to happen at the end of execution.
Runs a contract and after that runs actual WASM contract and expects
transformations to happen at the end of execution.
Runs a contract and after that runs actual WASM contract and expects transformations to happen at the end of execution .
pub fn exec_with_args_and_keys(
        &mut self,
        address: [u8; 32],
        wasm_file: &str,
        block_time: u64,
        deploy_hash: [u8; 32],
        args: impl contract_ffi::contract_api::argsparser::ArgsParser,
        authorized_keys: Vec<contract_ffi::value::account::PublicKey>,
    ) -> &mut WasmTestBuilder {
        let exec_request = create_exec_request(
            address,
            &wasm_file,
            self.post_state_hash
                .as_ref()
                .expect("Should have post state hash"),
            block_time,
            deploy_hash,
            args,
            authorized_keys,
        );
        self.exec_with_exec_request(exec_request)
    }
pub fn exec_with_args_and_keys ( & mut self , address : [ u8 ; 32 ] , wasm_file : & str , block_time : u64 , deploy_hash : [ u8 ; 32 ] , args : impl contract_ffi :: contract_api :: argsparser :: ArgsParser , authorized_keys : Vec < contract_ffi :: value :: account :: PublicKey > , ) -> & mut WasmTestBuilder { let exec_request = create_exec_request ( address , & wasm_file , self . post_state_hash . as_ref ( ) . expect ( " " ) , block_time , deploy_hash , args , authorized_keys , ) ; self . exec_with_exec_request ( exec_request ) }
Runs a contract and after that runs actual WASM contract and expects
transformations to happen at the end of execution.
Runs a contract and after that runs actual WASM contract and expects transformations to happen at the end of execution .
&mut self
address
[u8; 32]
wasm_file
&str
block_time
u64
deploy_hash
[u8; 32]
args
impl contract_ffi::contract_api::argsparser::ArgsParser
authorized_keys
Vec<contract_ffi::value::account::PublicKey>
&mut self
address
[u8; 32]
wasm_file
&str
block_time
u64
deploy_hash
[u8; 32]
args
impl contract_ffi::contract_api::argsparser::ArgsParser
authorized_keys
Vec<contract_ffi::value::account::PublicKey>