// TODO: restore after IS-1027 will be fixed
restore after IS-1027 will be fixed
restore after IS - 1027 will be fixed
pub fn submit_action_this_hangs_indefinitely() {
        pool::set_protocol_version(PROTOCOL_VERSION as usize).wait().unwrap();
        let wallet = Wallet::new();
        let setup = Setup::new(&wallet, SetupConfig {
            connect_to_pool: false,
            num_trustees: 0,
            num_nodes: 4,
            num_users: 0,
        });
        let pool_handle = pool::open_pool_ledger(&setup.pool_name, None).wait().unwrap();
        let (did, _) = did::create_and_store_my_did(wallet.handle, "{}").wait().unwrap();
        let validator_request = ledger::build_get_validator_info_request(&did).wait().unwrap();
        let signed_request = ledger::sign_request(wallet.handle, &did, &validator_request).wait().unwrap();
        ledger::submit_action(pool_handle, &signed_request, Some("[]"), Some(5)).wait().unwrap_err();
        pool::close_pool_ledger(pool_handle).wait().unwrap();
    }
pub fn submit_action_this_hangs_indefinitely ( ) { pool :: set_protocol_version ( PROTOCOL_VERSION as usize ) . wait ( ) . unwrap ( ) ; let wallet = Wallet :: new ( ) ; let setup = Setup :: new ( & wallet , SetupConfig { connect_to_pool : false , num_trustees : 0 , num_nodes : 4 , num_users : 0 , } ) ; let pool_handle = pool :: open_pool_ledger ( & setup . pool_name , None ) . wait ( ) . unwrap ( ) ; let ( did , _ ) = did :: create_and_store_my_did ( wallet . handle , " " ) . wait ( ) . unwrap ( ) ; let validator_request = ledger :: build_get_validator_info_request ( & did ) . wait ( ) . unwrap ( ) ; let signed_request = ledger :: sign_request ( wallet . handle , & did , & validator_request ) . wait ( ) . unwrap ( ) ; ledger :: submit_action ( pool_handle , & signed_request , Some ( " " ) , Some ( 5 ) ) . wait ( ) . unwrap_err ( ) ; pool :: close_pool_ledger ( pool_handle ) . wait ( ) . unwrap ( ) ; }
TODO: restore after IS-1027 will be fixed
TODO : restore after IS - 1027 will be fixed