Skip to content

Transactions are sometimes slow #340

@n13

Description

@n13

Issue:
Transactions are sometimes slow.

Sometimes it looks like it's not working.

Expected behavior:
Transactions are fast

Pending that, at least give more feedback as to what's happening - for example slow block times.

All I see now is it is the variable block times causing this

Still there's a chance I am wrong and it's something else. I can add some heuristics with which we can figure out and maybe make a better UX display.

We could say "expected block inclusion 1 block" for example, and then show the current block number.

We could show avg and current block times like the website.

I think there could be a good design that shows the details in the detail of the tx view
Come to think of it, I want that
I want to know what's going on
We send message to chain
-> it contains the current block height
-> processed at the next block
-> Finished at the end of next block - so we get a current block + next block time delay

If we can show all this in the UX we ourselves could make more sense of it, we have all the data, we know the current chain block height, and we know the block height we submitted at.
I was also thinking for the quick polls, maybe we can poll the chain directly instead of subsquid
Subsquid seems to have no delay, but it only gets information when a block has been processed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions