Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

studio: When loading a transaction, we want to be able to view the root transaction #317

Open
epost opened this issue Jan 16, 2020 · 0 comments
Labels
transaction Statebox API transaction view-detail view a single element's details

Comments

@epost
Copy link
Member

epost commented Jan 16, 2020

Reproduce:

  1. Load a transaction by entering its hash in the studio.
  2. Wait for its previous transactions to load.
  3. The root transaction should now appear as a 'ghost' (i.e. unloaded) transaction. (Reason: the hash appears in the cache but its body isn't actually loaded, because that is explicitly prevented in the code, I think.)

Because the root transaction is a ghost, clicking on it doesn't show its info.

Update: This may have been due to some local WIP code in my workdir, esp:

getPrevious :: TxSum -> Maybe TxId
-- getPrevious = evalTxSum (const Nothing) (Just <<< _.previous) (Just <<< _.previous) (Just <<< _.previous)
getPrevious = evalTxSum (const Nothing) (const Nothing) (Just <<< _.previous) (Just <<< _.previous)
@epost epost added view-detail view a single element's details transaction Statebox API transaction labels Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
transaction Statebox API transaction view-detail view a single element's details
Projects
None yet
Development

No branches or pull requests

1 participant