From 4e51e49fe683aa579895337334498e60fbfae844 Mon Sep 17 00:00:00 2001 From: KtorZ Date: Wed, 15 Feb 2023 17:26:26 +0100 Subject: [PATCH] Align context diagnostics to use similar syntax. --- .../script_context/ctx/basic/tx.diag.template | 4 +++- .../script_context/ctx/deploy/tx.diag.template | 11 +++++++---- .../script_context/ctx/mint/tx.diag.template | 2 ++ .../script_context/ctx/withdrawals/tx.diag.template | 4 +++- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/examples/acceptance_tests/script_context/ctx/basic/tx.diag.template b/examples/acceptance_tests/script_context/ctx/basic/tx.diag.template index 872528af..8f5b82e9 100644 --- a/examples/acceptance_tests/script_context/ctx/basic/tx.diag.template +++ b/examples/acceptance_tests/script_context/ctx/basic/tx.diag.template @@ -24,9 +24,11 @@ { 5: [[0, 0, 121([]), [1000000, 100000000]]] - , 6: [h'VALIDATOR'] + , 6: [h'{{ VALIDATOR }}'] }, + true, + null ] diff --git a/examples/acceptance_tests/script_context/ctx/deploy/tx.diag.template b/examples/acceptance_tests/script_context/ctx/deploy/tx.diag.template index 407c22aa..bf0d1fc0 100644 --- a/examples/acceptance_tests/script_context/ctx/deploy/tx.diag.template +++ b/examples/acceptance_tests/script_context/ctx/deploy/tx.diag.template @@ -6,12 +6,13 @@ , 1: [ { 0: h'6000000000000000000000000000000000000000000000000000000000' , 1: 1000000 - , 2: [ 0, h'fcaa61fb85676101d9e3398a484674e71c45c3fd41b492682f3b0054f4cf3273' ] - , 3: 24(h'8202583D583B0100003232323232323222253330064A22930B180080091129998030010A4C26600A6002600E0046660060066010004002AE695CDAAB9F5742AE89') + , 2: [ 0, h'fcaa61fb85676101d9e3398a484674e71c45c3fd41b492682f3b0054f4cf3273' ] + , 3: 24(h'8202583D583B0100003232323232323222253330064A22930B180080091129998030010A4C26600A6002600E0046660060066010004002AE695CDAAB9F5742AE89') } + , { 0: h'100000000000000000000000000000000000000000000000000000000066666666666666666666666666666666666666666666666666666666' , 1: 1000000 - , 2: [ 1, 24(h'D8799F182AFF') ] + , 2: [ 1, 24(h'D8799F182AFF') ] } ] @@ -22,9 +23,11 @@ , 5: [[0, 0, 121([]), [1000000, 100000000]]] - , 6: [] + , 6: [h'{{ VALIDATOR }}'] }, + true, + null ] diff --git a/examples/acceptance_tests/script_context/ctx/mint/tx.diag.template b/examples/acceptance_tests/script_context/ctx/mint/tx.diag.template index cea0be17..5894a3a6 100644 --- a/examples/acceptance_tests/script_context/ctx/mint/tx.diag.template +++ b/examples/acceptance_tests/script_context/ctx/mint/tx.diag.template @@ -18,6 +18,8 @@ , 6: [h'{{ VALIDATOR }}'] }, + true, + null ] diff --git a/examples/acceptance_tests/script_context/ctx/withdrawals/tx.diag.template b/examples/acceptance_tests/script_context/ctx/withdrawals/tx.diag.template index d81c69b2..133f5d3f 100644 --- a/examples/acceptance_tests/script_context/ctx/withdrawals/tx.diag.template +++ b/examples/acceptance_tests/script_context/ctx/withdrawals/tx.diag.template @@ -32,9 +32,11 @@ , [3, 1, 121([]), [1000000, 100000000]] ] - , 6: [ h'583b010000323232323232322253330054a22930b180080091129998030010a4c26600a6002600e0046660060066010004002ae695cdaab9f5742ae881' ] + , 6: [ {{ VALIDATOR }}, h'583b010000323232323232322253330054a22930b180080091129998030010a4c26600a6002600e0046660060066010004002ae695cdaab9f5742ae881' ] }, + true, + null ]