Skip to content

core: fix systemcontracts.GenesisHash when run bsc firstly without init#2132

Merged
buddh0 merged 1 commit intobnb-chain:developfrom
buddh0:systemcontracts_GenesisHash
Jan 4, 2024
Merged

core: fix systemcontracts.GenesisHash when run bsc firstly without init#2132
buddh0 merged 1 commit intobnb-chain:developfrom
buddh0:systemcontracts_GenesisHash

Conversation

@buddh0
Copy link
Copy Markdown
Contributor

@buddh0 buddh0 commented Jan 4, 2024

Description

core: fix systemcontracts.GenesisHash when run bsc firstly without init

Rationale

after #2015 and #2100
bsc mainnet and chapel can run without geth init

but may lead a empty genesis hash when first startup, this PR is to fix it

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

@buddh0 buddh0 changed the title Systemcontracts genesis hash core: set systemcontracts.GenesisHash without geth init Jan 4, 2024
@buddh0 buddh0 changed the base branch from master to develop January 4, 2024 09:01
@buddh0 buddh0 requested review from weiihann and zlacfzy January 4, 2024 09:18
@buddh0 buddh0 changed the title core: set systemcontracts.GenesisHash without geth init core: fix systemcontracts.GenesisHash when run bsc firstly without init Jan 4, 2024
@buddh0 buddh0 merged commit 73d19c0 into bnb-chain:develop Jan 4, 2024
@buddh0 buddh0 deleted the systemcontracts_GenesisHash branch January 19, 2024 03:25
sysvm pushed a commit to sysvm/bsc that referenced this pull request Jan 22, 2024
@zzzckck zzzckck mentioned this pull request Jan 23, 2024
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

Successfully merging this pull request may close these issues.

3 participants