From 336ecfa58413fde4a73950f5c53fbc3f6bd79b52 Mon Sep 17 00:00:00 2001 From: acheron Date: Thu, 7 Sep 2023 23:31:48 +0200 Subject: [PATCH] Update test IDLs --- tests/idl/idls/build.json | 15 ++++++++++----- tests/idl/idls/parse.json | 18 +++++++++--------- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/tests/idl/idls/build.json b/tests/idl/idls/build.json index 6b024cfdf4..071bb4f011 100644 --- a/tests/idl/idls/build.json +++ b/tests/idl/idls/build.json @@ -6,9 +6,9 @@ ], "constants": [ { - "name": "BAR_CONST", - "type": "u8", - "value": "6" + "name": "BYTES_STR", + "type": "bytes", + "value": "[116, 101, 115, 116]" }, { "name": "BYTE_STR", @@ -16,9 +16,14 @@ "value": "116" }, { - "name": "FOO_CONST", - "type": "u128", + "name": "I128", + "type": "i128", "value": "1000000" + }, + { + "name": "U8", + "type": "u8", + "value": "6" } ], "instructions": [ diff --git a/tests/idl/idls/parse.json b/tests/idl/idls/parse.json index 5ded1e45c1..8ba3f74c26 100644 --- a/tests/idl/idls/parse.json +++ b/tests/idl/idls/parse.json @@ -6,24 +6,24 @@ ], "constants": [ { - "name": "FOO_CONST", - "type": "u128", - "value": "1_000_000" - }, - { - "name": "BAR_CONST", + "name": "U8", "type": "u8", "value": "6" }, { - "name": "BYTES_STR", - "type": "bytes", - "value": "[116, 101, 115, 116]" + "name": "I128", + "type": "i128", + "value": "1_000_000" }, { "name": "BYTE_STR", "type": "u8", "value": "116" + }, + { + "name": "BYTES_STR", + "type": "bytes", + "value": "[116, 101, 115, 116]" } ], "instructions": [