juno icon indicating copy to clipboard operation
juno copied to clipboard

Change BlockIdentifier and BlockStatus types in the `starknet` pkg

Open thiagodeev opened this issue 5 months ago • 2 comments

  • make BlockStatus e an enum instead of string
  • make blockIdentifier (in the PreConfirmed types) a uint64 (make sure in the sequencer code that it is really within the 64bit range)
  • find other related improvements

thiagodeev avatar Jun 26 '26 11:06 thiagodeev

I would like to work on this issue and have made some progress for the same. I would appreciate if you can assign it to me.

0xsamalt avatar Jun 29 '26 19:06 0xsamalt

Hey @thiagodeev, quick update... opened two PRs against this issue: #3775 (BlockIdentifier to typed uint64) and #3779 (BlockStatus to typed enum). Both ready for review whenever you get a chance. Happy to make any changes needed!

0xsamalt avatar Jul 01 '26 16:07 0xsamalt