<commit_before><commit_msg>cold storage acceptance test<commit_after>Feature: Deposit and withdraw to and from addresses using a transaction builder (pretending like it's over an airgap). No offline titan yet. These are rought the steps you would take to go from titan name in and out of cold storage address.


    Background:
        Given I'm Alice
        And I made an account onlineaccount
        And I made an address onlineaddress for onlineaccount
        And account onlineaccount received 1000 XTS from angel
        And I wait for one block
        And I made a wallet offlinewallet
        And I made an account offlineaccount
        And I made an address coldstorage for offlineaccount


    Scenario: Transfer from titan name to cold storate address
        When I switch to wallet default
        And I do transfer 10 XTS from accountname: onlineaccount to address: coldstorage
        And I wait for one block
        Then Balance with owner coldstorage should have 10 XTS

    Scenario: Transfer from address to TITAN public address, in case you only remember the name

        When I switch to wallet default
        And I made an account newaccount
        And I do transfer 10 XTS from accountname: onlineaccount to address: onlineaddress
        And I wait for one block
        Then Balance with owner onlineaddress should have 10 XTS

        When I do transfer 9 XTS from address: onlineaddress to public account for: newaccount
        And I wait for one block
        Then Balance with public accountname: newaccount should have 9 XTS

    Scenario: Transfer from cold storage to another address with an airgap. It fails until I switch to offline wallet!
        When I switch to wallet default
        And I do transfer 10 XTS from accountname: onlineaccount to address: coldstorage

        And I wait for one block
        Then Balance with owner coldstorage should have 10 XTS

        When I do offline transfer 9 XTS from address: coldstorage to address: onlineaddress as builder
        And I add signature and broadcast builder
        And I wait for one block
        Then Balance with owner coldstorage should have 10 XTS 

        When I switch to wallet offlinewallet
        And I add signature and broadcast builder
        And I wait for one block
        Then Balance with owner onlineaddress should have 9 XTS



        And I'm a happy shareholder!



{'fraction_non_alphanumeric': 0.014178482068390326, 'fraction_numerical': 0.009174311926605505, 'mean_word_length': 2.7078825347758886, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6536074', 'n_tokens_mistral': 579, 'n_tokens_neox': 520, 'n_words': 345}