Open michalinacienciala opened 1 year ago
Found a bit worse scenario. I was able to see transactions from one account, being logged on another account.
Let's consider two accounts that I have in my MetaMask:
Acc1: 0xC31D206f48EC365bc786563dE7cFb67fDb7e74e4
with following tBTC mints:
Acc2: 0x58C6A45AcFCc1fD0E5A103Cab2caE00b0B188EC5
with following tBTC mints:
Steps:
Acc2
selectedConnect Wallet
-> MetaMask
-> View Dashboard
. I can see correct transactions:
Acc1
configured -> Connect. I can see in the dApp that the Acc1
wallet got connected, but I can see transactions from Acc2
in the TX HISTORY
:
Also found a scenario in which I'm logged on an account, but can't see any of it's transactions in the history:
Acc1
selectedConnect Wallet
-> MetaMask
-> View Dashboard
. I can see correct transactions:
Connected
next to account name and then I choose Switch to this account
under Acc2
. I can still see ETH address of Acc1
(which is not correct and was raised in #407 ), transactions are displayed correctly:
Acct1
. Now I don't see any transactions, despite I'm logged with Acct1
which should have 4 txs.
Change priority to MEDIUM (up for debate), because I've got a feeling that this may be also somehow related to the problems that @sashatanase saw on her account, where she had multiple same transactions displayed in her TX HISTORY
.
I have observed similar behavior after opening two deposits:
https://goerli.etherscan.io/tx/0x4b952fa926f8826a5c5808e728677477026aeabcd9320b1c0883b82f2dcce9fd https://goerli.etherscan.io/tx/0x4b952fa926f8826a5c5808e728677477026aeabcd9320b1c0883b82f2dcce9fd
This is how the history is displayed when revealing the second deposit:
And this is what is displayed after refreshing the page (and what I'd expect to see):
It looks like the same reveal event is displayed twice sometimes - see the TX hash for the history.
Worth noting, I was not switching accounts and I do not have another account in MetaMask from where I mint tBTC.
Looks very similar to Sasha's issue... Unfortunately I can't help with reproduction steps, as I never hit this issue myself...
It is happening randomly on Chrome for me. There is no clear path for reproducing I am afraid.
Probably fixed in #360 and #409.
I've tested the switching between different accounts now that we've got fixes for those two issues. I never got the wrong operators' transactions in TX HISTORY, but sometimes I got no TX HISTORY data after switching. In such cases I could see the following error in the Browser's Console:
listenerMiddleware/error Error: Could not load staking
instrument.ts:124 listenerMiddleware/error Error: Could not load staking provider's operator info: Error: resolver or addr is not configured for ENS name (argument="name", value="", code=INVALID_ARGUMENT, version=contracts/5.6.2)
at effects.ts:62:11
at c (regeneratorRuntime.js:86:17)
at Generator._invoke (regeneratorRuntime.js:66:24)
at Generator.throw (regeneratorRuntime.js:117:21)
at r (asyncToGenerator.js:3:20)
at u (asyncToGenerator.js:29:9) {raisedBy: 'effect'}
@pdyraga or @sashatanase - I can't verify if problem with the duplicated transactions got resolved by fixes https://github.com/threshold-network/token-dashboard/pull/360 and https://github.com/threshold-network/token-dashboard/pull/409, as it was never occurring on my side. Could you Guys check on your environments?
After disconnecting a wallet which has some transactions in
TX HISTORY
, those transactions are still visible.My steps:
Logged to https://dashboard.test.threshold.network/tBTC
Connected with an account that has some deposit transactions already made. I can see those transactions in the![Image](https://user-images.githubusercontent.com/78352137/215292085-e412c6e7-c82d-4c52-8a9b-f4d8581a009b.png)
TX HISTORY
panel.Disconnected the wallet. I can still see the same transactions in the![Image](https://user-images.githubusercontent.com/78352137/215292071-9f75413e-105f-47f4-bdbb-c1c1ca73e1c8.png)
TX HISTORY
panel (even if I switch between tabs in dApp). I shouldn't.Refreshed the website. Now the transactions are gone.