massa icon indicating copy to clipboard operation
massa copied to clipboard

Modify AddressInfo format

Open adrien-zinger opened this issue 2 years ago • 3 comments

Format the display of AddressInfo. (align 2 by 2 elements for big vectors)

I just realized how much it would be great to add an option -n when we dump information like AddressInfo to get the n latest blocks, endorsement draws, block draws, etc. I can do it here.

Also, I think the fold is a bit hard to use for just that simple use case.

adrien-zinger avatar Jul 12 '22 12:07 adrien-zinger

It's a temporary solution.

We should think about paging our endpoints.

By default, we should return first 25 entries for example. In our case, I think that a cursor based pagination will fit better.

aoudiamoncef avatar Jul 12 '22 12:07 aoudiamoncef

Is it still relevant with the current format of get address info ?

damip avatar Aug 23 '22 18:08 damip

Is it still relevant with the current format of get address info ?

This will still be an enhancement, but we can wait for the merge of the release 14 and then adapt it. :slightly_smiling_face:

adrien-zinger avatar Aug 26 '22 08:08 adrien-zinger

Not relevant anymore.

AurelienFT avatar Jan 09 '23 12:01 AurelienFT