diff --git a/demo/data/chain1/genesis.json b/demo/data/chain1/genesis.json index d50161a5aad8..240d591430c1 100644 --- a/demo/data/chain1/genesis.json +++ b/demo/data/chain1/genesis.json @@ -6,10 +6,10 @@ { "amount": 10, "name": "", - "pub_key": [ - 1, - "D6EBB92440CF375054AA59BCF0C99D596DEEDFFB2543CAE1BA1908B72CF9676A" - ] + "pub_key": { + "type": "ed25519", + "data": "D6EBB92440CF375054AA59BCF0C99D596DEEDFFB2543CAE1BA1908B72CF9676A" + } } ], "app_options": { diff --git a/demo/data/chain1/priv_validator.json b/demo/data/chain1/priv_validator.json index 1ea10c12da4c..2f5d7a12fe8b 100644 --- a/demo/data/chain1/priv_validator.json +++ b/demo/data/chain1/priv_validator.json @@ -5,12 +5,12 @@ "last_signature": null, "last_signbytes": "", "last_step": 0, - "priv_key": [ - 1, - "5FFDC1EA5FA2CA4A0A5503C86D2D348C5B401AD80FAA1899508F1ED00D8982E8D6EBB92440CF375054AA59BCF0C99D596DEEDFFB2543CAE1BA1908B72CF9676A" - ], - "pub_key": [ - 1, - "D6EBB92440CF375054AA59BCF0C99D596DEEDFFB2543CAE1BA1908B72CF9676A" - ] -} \ No newline at end of file + "priv_key": { + "type": "ed25519", + "data": "5FFDC1EA5FA2CA4A0A5503C86D2D348C5B401AD80FAA1899508F1ED00D8982E8D6EBB92440CF375054AA59BCF0C99D596DEEDFFB2543CAE1BA1908B72CF9676A" + }, + "pub_key": { + "type": "ed25519", + "data": "D6EBB92440CF375054AA59BCF0C99D596DEEDFFB2543CAE1BA1908B72CF9676A" + } +} diff --git a/demo/data/chain2/genesis.json b/demo/data/chain2/genesis.json index c53461756202..87019719c34e 100644 --- a/demo/data/chain2/genesis.json +++ b/demo/data/chain2/genesis.json @@ -6,10 +6,10 @@ { "amount": 10, "name": "", - "pub_key": [ - 1, - "9A76DDE4CA4EE660C073D288DBE4F8A128F23857881A95F18167682D47E7058F" - ] + "pub_key": { + "type": "ed25519", + "data": "9A76DDE4CA4EE660C073D288DBE4F8A128F23857881A95F18167682D47E7058F" + } } ], "app_options": { diff --git a/demo/data/chain2/priv_validator.json b/demo/data/chain2/priv_validator.json index 8b3eb7e348e6..0f9b5f95def1 100644 --- a/demo/data/chain2/priv_validator.json +++ b/demo/data/chain2/priv_validator.json @@ -5,12 +5,12 @@ "last_signature": null, "last_signbytes": "", "last_step": 0, - "priv_key": [ - 1, - "6353FAF4ADEB03EA496A9EAE5BE56C4C6A851CB705401788184FDC9198413C2C9A76DDE4CA4EE660C073D288DBE4F8A128F23857881A95F18167682D47E7058F" - ], - "pub_key": [ - 1, - "9A76DDE4CA4EE660C073D288DBE4F8A128F23857881A95F18167682D47E7058F" - ] -} \ No newline at end of file + "priv_key": { + "type": "ed25519", + "data": "6353FAF4ADEB03EA496A9EAE5BE56C4C6A851CB705401788184FDC9198413C2C9A76DDE4CA4EE660C073D288DBE4F8A128F23857881A95F18167682D47E7058F" + }, + "pub_key": { + "type": "ed25519", + "data": "9A76DDE4CA4EE660C073D288DBE4F8A128F23857881A95F18167682D47E7058F" + } +}