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

Decide "genesis hash" based on configuration #424

Open
3 tasks
SebastienGllmt opened this issue Aug 23, 2024 · 0 comments
Open
3 tasks

Decide "genesis hash" based on configuration #424

SebastienGllmt opened this issue Aug 23, 2024 · 0 comments

Comments

@SebastienGllmt
Copy link
Contributor

Right now there is no concept of a "genesis hash" in Paima (prevBlockHash is just null)

The only similar concept we have is to hash the configuration, but that requires:

  • unify the configuration file systems into one (right now we have 3 which overcomplicates things)
  • have a way to properly define fields that affect determinism (see Prevent changes to the funnel configuration that can break determinism #398)
  • figure out how updating the configs (or game updates in general) affect the block hash (ex: every new update is kind of like a new genesis block for the new era. This is similar to other chains like Cardano where every hardfork is considered a new genesis block)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant