From 8c30a9d694df597cb931d605b1bd313e0bc22da7 Mon Sep 17 00:00:00 2001 From: Jakub Zajkowski Date: Tue, 17 Dec 2024 21:54:41 +0100 Subject: [PATCH] Fixing validation_tests --- types/CHANGELOG.md | 3 +-- utils/validation/tests/fixtures/ABI/key.json | 2 +- utils/validation/tests/fixtures/ABI/stored_value.json | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/types/CHANGELOG.md b/types/CHANGELOG.md index 08e924091f..6e5fc502af 100644 --- a/types/CHANGELOG.md +++ b/types/CHANGELOG.md @@ -228,7 +228,7 @@ All notable changes to this project will be documented in this file. The format - struct ExcessiveSizeError changed name to DeployExcessiveSizeError - struct Transfer changed name to TransferV1 - enum GlobalStateIdentifier -- enum StoredValue has new variants: LegacyTransfer, AddressableEntity, BidKind, Package, ByteCode, MessageTopic, Message, NamedKey,Reservation,EntryPoint, +- enum StoredValue has new variants: Transfer, AddressableEntity, BidKind, Package, ByteCode, MessageTopic, Message, NamedKey,Reservation,EntryPoint, - enum system::SystemContractType changed name to system::SystemEntityType - enum system::handle_payment::Error variant SystemFunctionCalledByUserAccount changed to InvalidCaller - struct EntryPoint has a new field `entry_point_payment` @@ -242,7 +242,6 @@ All notable changes to this project will be documented in this file. The format - type EntryPointsMap - type NamedKeys - methods `groups_mut`, `add_group`, `lookup_contract_hash`, `is_version_enabled`, `is_contract_enabled`, `insert_contract_version`, `disable_contract_version`, `enable_contract_version`, `enabled_versions`, `remove_group`, `next_contract_version_for`, `current_contract_version`, `current_contract_hash` in struct ContractPackage -- in enum StoredValue removed variant Transfer (replaced with LegacyTransfer) ## [Unreleased] (node 1.5.4) diff --git a/utils/validation/tests/fixtures/ABI/key.json b/utils/validation/tests/fixtures/ABI/key.json index ee52ae10d4..2be79ba6d5 100644 --- a/utils/validation/tests/fixtures/ABI/key.json +++ b/utils/validation/tests/fixtures/ABI/key.json @@ -89,7 +89,7 @@ ], "output": "012a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a" }, - "LegacyTransfer": { + "Transfer": { "input": [ { "type": "Key", diff --git a/utils/validation/tests/fixtures/ABI/stored_value.json b/utils/validation/tests/fixtures/ABI/stored_value.json index f3b130749e..169b007ba6 100644 --- a/utils/validation/tests/fixtures/ABI/stored_value.json +++ b/utils/validation/tests/fixtures/ABI/stored_value.json @@ -225,12 +225,12 @@ ], "output": "07020000000001197f6b23e16c8532c6abc838facd5ea789be0c76b2920334039bfa8b3d368d610400ca9a3b01000202bb58b5feca505c74edc000d8282fc556e51a1024fc8e7d7e56c6f887c5c8d5f201197f6b23e16c8532c6abc838facd5ea789be0c76b2920334039bfa8b3d368d610400ca9a3b" }, - "LegacyTransfer": { + "Transfer": { "input": [ { "type": "StoredValue", "value": { - "LegacyTransfer": { + "Transfer": { "deploy_hash": "2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c2c", "from": "account-hash-6464646464646464646464646464646464646464646464646464646464646464", "to": "account-hash-6565656565656565656565656565656565656565656565656565656565656565",