ChainSafe / ChainSafe/gossamer

Chore(dot/parachain): Use `BlockNumber` type instead of `uint32` to store block number

Open
#3,970 3 comments 0 reactions 0 assignees View on GitHub
C-simple good first issue P-low T-enhancement
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Note
Need to merge in `feat/parachain` branch
## Issue summary
- in some structs, we have a uint32 type field to store block numbers. We need to change them to use the `BlockNumber` type

- some known types to modify
- `ValidationParameters` struct in `dot/parachain/runtime/instance.go`.
- `PersistedValidationData` struct in `dot/parachain/types/types.go.`
- We also have a redundant type in `dot/parachain/available_data_fetching.go`. Remove it.

## Other information and links

-

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.