feat(core/stellar): show start/end timestamps in human readable format

pull/1879/head
matejcik 3 years ago committed by matejcik
parent f7c340f333
commit 0e6669bd10

@ -56,8 +56,14 @@ async def require_confirm_timebounds(ctx: Context, start: int, end: int) -> None
"confirm_timebounds",
title="Confirm timebounds",
props=(
("Valid from (UTC)", str(start) if start > 0 else "[no restriction]"),
("Valid to (UTC)", str(end) if end > 0 else "[no restriction]"),
(
"Valid from (UTC)",
strings.format_timestamp(start) if start > 0 else "[no restriction]",
),
(
"Valid to (UTC)",
strings.format_timestamp(end) if end > 0 else "[no restriction]",
),
),
)

@ -831,32 +831,32 @@
"test_stellar.py::test_get_address[parameters7-result7]": "d2e7e6add4b6862679b30033d36305bcbbda051cb1afa56f2e7ec8063266de0d",
"test_stellar.py::test_get_address[parameters8-result8]": "e8019f5d02f2145c643b7cdf626bd9409f9fb25780f4ea2cb0c2b5e562454e90",
"test_stellar.py::test_get_address[parameters9-result9]": "d040d9688c49c2bebe1bc74d5cc47a2d447b4de60acc8a63f6f032be22dbee04",
"test_stellar.py::test_sign_tx[StellarAccountMergeOp]": "91d1c7982ce491803e2e81bfd110893418467210187fb2c54e86e8da30b033ad",
"test_stellar.py::test_sign_tx[StellarAllowTrustOp-allow]": "58fa7d3979b95348d48142f87a120ff4dbdd1929b6e8835f7251a11079787cc3",
"test_stellar.py::test_sign_tx[StellarAllowTrustOp-revoke]": "73a5213df2fe880ff3e3b4f393f38b2a26d1b9a25b9ab9492342033fb1a3b71e",
"test_stellar.py::test_sign_tx[StellarBumpSequenceOp]": "583475eacf030cf9618c14b165eab2703582fa6373996e100697080432bc33f9",
"test_stellar.py::test_sign_tx[StellarChangeTrustOp-add]": "81c1208f684fdc542d46ce813d2884184c96509d9d024b438290af3fec85f1b6",
"test_stellar.py::test_sign_tx[StellarChangeTrustOp-delete]": "65514b813e3dcb247c27e1a26251aa63c0a3573e5f31bce73ae1a93489faa005",
"test_stellar.py::test_sign_tx[StellarCreateAccountOp]": "b2ee244c289471b94c7dda1d836a3065799c47abbe568d16d1f8633568a1d1bd",
"test_stellar.py::test_sign_tx[StellarCreatePassiveOfferOp]": "14d06af87462c7ea490339be030ecd647365568a173b5adda3c37473a3c42298",
"test_stellar.py::test_sign_tx[StellarManageDataOp]": "b462a3234199b29bf4f4cc636750b3a983e85b492f4caed480846869e389b900",
"test_stellar.py::test_sign_tx[StellarManageOfferOp]": "e5c002214d48acb9282845cbf6a0a3482a144c3ffb32ea91a4b0df5a7dfff0fc",
"test_stellar.py::test_sign_tx[StellarPathPaymentOp]": "a688b4865171437e49e0a421ea966c24c376e8e5514a276ab3ed8cd323105e6f",
"test_stellar.py::test_sign_tx[StellarPaymentOp-asset12]": "fb4db9a82787f42eb536d9d52d082c0e93e98658dd451c697665c64b2bbd7cb4",
"test_stellar.py::test_sign_tx[StellarPaymentOp-asset4]": "dd0996484008d30eb469d047b8036653bf9e26a86472281caa0af082f65f6241",
"test_stellar.py::test_sign_tx[StellarPaymentOp-native_asset]": "3d03a327623f1936097c613a63e1257f62a3ac7d49e1b91e27c9bff53668e6e3",
"test_stellar.py::test_sign_tx[StellarSetOptionsOp-all]": "bc7456b0182c102db93738408c8d837543908fa667e47e104619d376e6177c43",
"test_stellar.py::test_sign_tx[StellarSetOptionsOp-one]": "658c5c78672979691739992246c446ed9b6fa3c8dc500d474d1b7849bd3e5642",
"test_stellar.py::test_sign_tx[StellarSetOptionsOp-some]": "642f76c0cc11308dc68ee0e6899bb48b88fa4b65404dbfb696ada8155bf53989",
"test_stellar.py::test_sign_tx[memo_hash]": "c4e7db69acfacdfc42a2426829660799a64f15ab6f2238290110d614607871c8",
"test_stellar.py::test_sign_tx[memo_id]": "adf7a42534e0b2d6b321a195b3678f147bbe9244a3119040b9b24d2a43db5e4c",
"test_stellar.py::test_sign_tx[memo_return]": "b714d5cbecda1f420569d4891e9c42f3a782f69b9d7679648d5ef19c839ddb0a",
"test_stellar.py::test_sign_tx[memo_text]": "ee67b7b1c3a588c2d0a44af1e3c431e2d6c89f22441f933832de6384a4a8d110",
"test_stellar.py::test_sign_tx[multiple_operations]": "0a4af0d29399470ef5a6c411cf33ff4be2b2372bc583e1820a0e048cef942a59",
"test_stellar.py::test_sign_tx[source_account]": "eec21adf68ce037bf1f54026c1d6e102f2873e41462f784cb73b866ab1ffc07c",
"test_stellar.py::test_sign_tx[StellarAccountMergeOp]": "3e6f17c29f6c7fe5b53ff87ce1e6bca38ba2df0c8345abb09d1bdf7c0345399c",
"test_stellar.py::test_sign_tx[StellarAllowTrustOp-allow]": "bf2a88e10ba988f2d81ec8ae898b61fc60f286bcd5b24856930185f9b8172dd7",
"test_stellar.py::test_sign_tx[StellarAllowTrustOp-revoke]": "e61f5f83d48f5a763af65465c666aaa1e724c6b8a369ffe6f3d935340dc20fae",
"test_stellar.py::test_sign_tx[StellarBumpSequenceOp]": "bcde0d724c568ee4de0b5cc37d60e78b49a54df5ff3feb92002fef80d9ae4cf8",
"test_stellar.py::test_sign_tx[StellarChangeTrustOp-add]": "7a8d420121a13e34f6ca7ad224e01a3b189ceb8e8d104cf9ec9b329222670936",
"test_stellar.py::test_sign_tx[StellarChangeTrustOp-delete]": "ec26e6883ba9405412674431e0ec07504b3f25682ce7d76ebd445b809194198a",
"test_stellar.py::test_sign_tx[StellarCreateAccountOp]": "2582717c25974d2b3ee156624b00375148ff7fd12eeea73625a7c367fa610373",
"test_stellar.py::test_sign_tx[StellarCreatePassiveOfferOp]": "6b0f0d2b746f98e2c85006ea7e2d5c49cd9277662e47f223138ff418066791e3",
"test_stellar.py::test_sign_tx[StellarManageDataOp]": "8fbec6547a8f9d1f002181db0cbe57fe86abef8d365b1c06fd14292cd0b068a7",
"test_stellar.py::test_sign_tx[StellarManageOfferOp]": "6ed84765b2ed46711be0ed1219d91c27e927119d352f37b2baf8c6501186bbce",
"test_stellar.py::test_sign_tx[StellarPathPaymentOp]": "58f3bfaece0706bc172d6e6564b728ec0b7f8e2629d8c64dc60672786586076d",
"test_stellar.py::test_sign_tx[StellarPaymentOp-asset12]": "1d8e9d5d65420a259f7e2deef1efaf0ce5be966a0f1e5b8e95b832f176f00de2",
"test_stellar.py::test_sign_tx[StellarPaymentOp-asset4]": "0de0b815dad5d348a3b9d06e37da94800363e5de8e6ca9cd0f84e5070f7e1b22",
"test_stellar.py::test_sign_tx[StellarPaymentOp-native_asset]": "b2015b9e0f9ff60e2ea4fca2942e97b70a320386c2043fb36acde4a830272098",
"test_stellar.py::test_sign_tx[StellarSetOptionsOp-all]": "37c48c5f7d2e0e17994cba650d920c598b3dfa44e207388232215668db04e709",
"test_stellar.py::test_sign_tx[StellarSetOptionsOp-one]": "3cb7389679ca95bee4a447c076bc80575398261d517702d19d935b96d38459a5",
"test_stellar.py::test_sign_tx[StellarSetOptionsOp-some]": "de73316134be735be778a51f817f6aa8c2d718c295234ac0fa3d72cfdc60a1d2",
"test_stellar.py::test_sign_tx[memo_hash]": "77a1d2ce7930f912932d2a5e26fd2971f8a5515df39afb03884250ad5079d941",
"test_stellar.py::test_sign_tx[memo_id]": "8408e3dc4a7267bb319d14e70dcbd32a33e9b5e510b4c015a0efc930e82ff9cd",
"test_stellar.py::test_sign_tx[memo_return]": "c920b00f0b7bd33b76d6fa8e0bf6119ad5ed8839587421b5b3ae6e25120dd8bd",
"test_stellar.py::test_sign_tx[memo_text]": "0da6f28000c3d4c8fa3cb84a5b5fe9baedbc7e558ba6bb081341bacbf0cc450a",
"test_stellar.py::test_sign_tx[multiple_operations]": "e8eb4fb6486d8ffad096386c9acc2dc286d438b2eae32a43b226b3dd55f2b000",
"test_stellar.py::test_sign_tx[source_account]": "6e48f0725380a838f9bc961194ce29c680b9974c3432b07e654068fb8dab4e27",
"test_stellar.py::test_sign_tx[timebounds-0-0]": "99925099c044838aedbe1885aaac01ee4b118e148e89e7d1607c62bbc5c14eca",
"test_stellar.py::test_sign_tx[timebounds-0-1575234180]": "4e097ef73dda5f0be6550666a550d2acc2714364d51d76dc6834882a59ab883f",
"test_stellar.py::test_sign_tx[timebounds-461535181-0]": "64288f5ca66c618d267035b795d84e3aaa2fbd48fa4501e77851a7284e8eaa20",
"test_stellar.py::test_sign_tx[timebounds-461535181-1575234180]": "3d03a327623f1936097c613a63e1257f62a3ac7d49e1b91e27c9bff53668e6e3",
"test_stellar.py::test_sign_tx[timebounds-0-1575234180]": "5a2e48e82752f1b2b9e45518151e035821c281a88994f389c6feb54665042e43",
"test_stellar.py::test_sign_tx[timebounds-461535181-0]": "09c6860d1d2c8ad9de827da1e8006026bb37816122da461a8d31f8c400ba91de",
"test_stellar.py::test_sign_tx[timebounds-461535181-1575234180]": "b2015b9e0f9ff60e2ea4fca2942e97b70a320386c2043fb36acde4a830272098",
"test_u2f_counter.py::test_u2f_counter": "19f77e2d284431da5fadac938f5822c1a6b17c07ee6c801085efd84974f3163f"
}

Loading…
Cancel
Save