|
22 | 22 | StakePoolVerificationKey, |
23 | 23 | ) |
24 | 24 |
|
25 | | -SK = PaymentSigningKey.from_json( |
26 | | - """{ |
| 25 | +SK = PaymentSigningKey.from_json("""{ |
27 | 26 | "type": "GenesisUTxOSigningKey_ed25519", |
28 | 27 | "description": "Genesis Initial UTxO Signing Key", |
29 | 28 | "cborHex": "5820093be5cd3987d0c9fd8854ef908f7746b69e2d73320db6dc0f780d81585b84c2" |
30 | | - }""" |
31 | | -) |
| 29 | + }""") |
32 | 30 |
|
33 | | -VK = PaymentVerificationKey.from_json( |
34 | | - """{ |
| 31 | +VK = PaymentVerificationKey.from_json("""{ |
35 | 32 | "type": "GenesisUTxOVerificationKey_ed25519", |
36 | 33 | "description": "Genesis Initial UTxO Verification Key", |
37 | 34 | "cborHex": "58208be8339e9f3addfa6810d59e2f072f85e64d4c024c087e0d24f8317c6544f62f" |
38 | | - }""" |
39 | | -) |
| 35 | + }""") |
40 | 36 |
|
41 | | -SPSK = StakePoolSigningKey.from_json( |
42 | | - """{ |
| 37 | +SPSK = StakePoolSigningKey.from_json("""{ |
43 | 38 | "type": "StakePoolSigningKey_ed25519", |
44 | 39 | "description": "StakePoolSigningKey_ed25519", |
45 | 40 | "cborHex": "582044181bd0e6be21cea5b0751b8c6d4f88a5cb2d5dfec31a271add617f7ce559a9" |
46 | | - }""" |
47 | | -) |
| 41 | + }""") |
48 | 42 |
|
49 | | -SPVK = StakePoolVerificationKey.from_json( |
50 | | - """{ |
| 43 | +SPVK = StakePoolVerificationKey.from_json("""{ |
51 | 44 | "type": "StakePoolVerificationKey_ed25519", |
52 | 45 | "description": "StakePoolVerificationKey_ed25519", |
53 | 46 | "cborHex": "5820354ce32da92e7116f6c70e9be99a3a601d33137d0685ab5b7e2ff5b656989299" |
54 | | - }""" |
55 | | -) |
| 47 | + }""") |
56 | 48 |
|
57 | | -EXTENDED_SK = ExtendedSigningKey.from_json( |
58 | | - """{ |
| 49 | +EXTENDED_SK = ExtendedSigningKey.from_json("""{ |
59 | 50 | "type": "PaymentExtendedSigningKeyShelley_ed25519_bip32", |
60 | 51 | "description": "Payment Signing Key", |
61 | 52 | "cborHex": "5880e8428867ab9cc9304379a3ce0c238a592bd6d2349d2ebaf8a6ed2c6d2974a15ad59c74b6d8fa3edd032c6261a73998b7deafe983b6eeaff8b6fb3fab06bdf8019b693a62bce7a3cad1b9c02d22125767201c65db27484bb67d3cee7df7288d62c099ac0ce4a215355b149fd3114a2a7ef0438f01f8872c4487a61b469e26aae4" |
62 | | - }""" |
63 | | -) |
| 53 | + }""") |
64 | 54 |
|
65 | | -EXTENDED_VK = ExtendedVerificationKey.from_json( |
66 | | - """{ |
| 55 | +EXTENDED_VK = ExtendedVerificationKey.from_json("""{ |
67 | 56 | "type": "PaymentExtendedVerificationKeyShelley_ed25519_bip32", |
68 | 57 | "description": "Payment Verification Key", |
69 | 58 | "cborHex": "58409b693a62bce7a3cad1b9c02d22125767201c65db27484bb67d3cee7df7288d62c099ac0ce4a215355b149fd3114a2a7ef0438f01f8872c4487a61b469e26aae4" |
70 | | - }""" |
71 | | -) |
| 59 | + }""") |
72 | 60 |
|
73 | 61 |
|
74 | 62 | def test_invalid_key_type(): |
|
0 commit comments