You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In trying to diagnose #1343, I tried to search for public keys held by Anchor Desktop. However I discovered that when you search for a key only the legacy format will yield results.
I suspect changing the logic as follows would correct the defect, apologies for the lack of testing I can't currently get Anchor to run from source without a code signing cert:
This would also require injection of connection into the components props.
Platform
Desktop (Windows)
Steps To Reproduce
Not Happy Path
Open Anchor Deskop
Navigate to Tools → Manage Keys
Copy a "modern" format key from the list, and paste it into "Search by Public Key"
yields no results
Happy Path
Open Anchor Desktop
Navigate to Tools → Manage Keys
Copy a "lecacy" format key from the list, and paste it into "Search by Public Key"
Should exactly one result
Expected Result
Regardless of the state of "Show Legacy Format" entering either a modern key (i.e. PUB_K1_...) or a legacy key (i.e. EOS...) should show that public key.
Actual Result
Searching for a public key of the modern format or simply "PUB_K1" will yield no results.
Description
In trying to diagnose #1343, I tried to search for public keys held by Anchor Desktop. However I discovered that when you search for a key only the legacy format will yield results.
I believe the issue to be /app/shared/components/Tools/Keys.js#L99:
I suspect changing the logic as follows would correct the defect, apologies for the lack of testing I can't currently get Anchor to run from source without a code signing cert:
This would also require injection of connection into the components props.
Platform
Desktop (Windows)
Steps To Reproduce
Not Happy Path
Happy Path
Expected Result
Regardless of the state of "Show Legacy Format" entering either a modern key (i.e.
PUB_K1_...
) or a legacy key (i.e.EOS...
) should show that public key.Actual Result
Searching for a public key of the modern format or simply "PUB_K1" will yield no results.
Relevant log output
Contact Details
Scetrov on Discord
Anything else?
Chain: WAX Mainnet, EOS Mainnet, WAX Testnet
Anchor: 1.3.11
Windows 11 Pro
The text was updated successfully, but these errors were encountered: