-
Notifications
You must be signed in to change notification settings - Fork 254
Description
Describe the bug
There's a pending account that never gets fulfilled.
To Reproduce
In a Portfolio, add positions on two new chains, where one fails. The other will not get correctly registered.
Occurrence
I am still unable to open any positions. portfolio9 . ymax0. agoric127w6wer6ehfkf3rt8whu2vkafafl7y047fjpyf
YDS shows makeAccount for Optimism is still pending. It's been over an hour.
Analysis
Ethereum has insufficient funds. The Optimism account was created in the same batch with the Ethereum account. Since the Ethereum account errored, the call to evmAcctInfo throws (it does a deeplyFulfilledObject on the set of accounts provided). This could be confirmed in the logs if you see
traceFlow('provideAccounts', ...acctsToDo);
but not
traceFlow('EVM accounts ready', keys(evmAcctInfo));
The failure in creating the Eth account removed it from accountsPending, but the likey success of Optimism means it didn’t yet get removed The Optimism account won’t be removed from accountsPending until resolveEVMAccount is called because of the returning message. My suspicion is that the message arrive but since the associated flow was daed, it was ignored. Haven’t checked that though.
Screenshots
If applicable, add screenshots to help explain your problem, especially for UI interactions.