Skip to content

A failure to make one of a set of EVM accounts wedges #12148

@dtribble

Description

@dtribble

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.

Image

Screenshots

If applicable, add screenshots to help explain your problem, especially for UI interactions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions