diff --git a/frontend/CHANGELOG.md b/frontend/CHANGELOG.md
index 9cb627318..d94f8f5aa 100644
--- a/frontend/CHANGELOG.md
+++ b/frontend/CHANGELOG.md
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
## [Unreleased]
- Move query `useBlockSpecialEventsQuery` to new API.
+- Rename `ContractUpgraded.from` and `ContractUpgraded.to` in query `useTransactionQuery` to avoid error of fields which cannot be merged, as these were clashing with `Transferred.from` and `Transferred.to`.
## [1.6.2] - 2025-01-19
diff --git a/frontend/src/components/TransactionEventList/Events/ContractUpgraded.vue b/frontend/src/components/TransactionEventList/Events/ContractUpgraded.vue
index ddc2cca15..88d6be2e8 100644
--- a/frontend/src/components/TransactionEventList/Events/ContractUpgraded.vue
+++ b/frontend/src/components/TransactionEventList/Events/ContractUpgraded.vue
@@ -6,8 +6,10 @@
:contract-address-index="event.contractAddress.index"
:contract-address-sub-index="event.contractAddress.subIndex"
/>
- upgraded module from to module
- .
+
+ upgraded module from to
+
+ module .
diff --git a/frontend/src/queries/useTransactionQuery.ts b/frontend/src/queries/useTransactionQuery.ts
index 2577e1154..00e99fb7b 100644
--- a/frontend/src/queries/useTransactionQuery.ts
+++ b/frontend/src/queries/useTransactionQuery.ts
@@ -101,8 +101,8 @@ __typename
index
subIndex
}
- from
- to
+ fromModule: from # Renamed to avoid errors due to clashing with 'Transferred.from'.
+ toModule: to # Renamed to avoid errors due to clashing with 'Transferred.to'.
}
... on CredentialKeysUpdated {
credId