In transfer list of a sender account with an alias, the sender is called with the name of the canonical account while the address is the alias address, even though the alias is in the address book. For the receiver address, the name is the name of the alias of the receiver account and its address.
In transfer list of a receiver account with an alias, the receiver is called with the name of the canonical account while the address is the alias address, even though the alias is in the address book. For the sender address, the name is the name of the alias of the sender account and its address.
e.g.
Simple transfer from A to alias of B:
In transfer list of A
-- from name: A
-- from address: A
-- to name: alias of B
-- to address: alias of B
In transfer list of B
-- from name: A
-- from address: A
-- to name: B
-- to address: alias of B
Simple transfer from alias of A to alias of B:
In transfer list of A
-- from name: A
-- from address: alias of A
-- to name: alias of B
-- to address: alias of B
In transfer list of B
-- from name: alias of A
-- from address: alias of A
-- to name: B
-- to address: alias of B
Steps to Reproduce
create accounts with aliases (concordium-client)
send from alias account (concordium-client)
send to alias account (after adding alias address to address book)
inspect transfer list of sender and receiver account
Expected Result
Name and address of account alias match.
Actual Result
Name and address of account alias do not match in all cases.
Bug Description
e.g.
In transfer list of A -- from name: A -- from address: A -- to name: alias of B -- to address: alias of B
In transfer list of B -- from name: A -- from address: A -- to name: B -- to address: alias of B
In transfer list of A -- from name: A -- from address: alias of A -- to name: alias of B -- to address: alias of B
In transfer list of B -- from name: alias of A -- from address: alias of A -- to name: B -- to address: alias of B
Steps to Reproduce
Expected Result Name and address of account alias match.
Actual Result Name and address of account alias do not match in all cases.
Versions