@ParameterizedTest
  @ArgumentsSource(GenesisStateTestArguments.class)
  public void createFromJsonWithAllocs(final DataStorageConfiguration dataStorageConfiguration) {
    final GenesisState genesisState =
        GenesisState.fromJsonSource(
            dataStorageConfiguration,
            GenesisStateTest.class.getResource("genesis1.json"),
            ProtocolScheduleFixture.MAINNET);
    final BlockHeader header = genesisState.getBlock().getHeader();
    assertThat(header.getStateRoot())
        .isEqualTo(
            Hash.fromHexString(
                "0x92683e6af0f8a932e5fe08c870f2ae9d287e39d4518ec544b0be451f1035fd39"));
    assertThat(header.getTransactionsRoot()).isEqualTo(Hash.EMPTY_TRIE_HASH);
    assertThat(header.getReceiptsRoot()).isEqualTo(Hash.EMPTY_TRIE_HASH);
    assertThat(header.getOmmersHash()).isEqualTo(Hash.EMPTY_LIST_HASH);
    assertThat(header.getExtraData()).isEqualTo(Bytes.EMPTY);
    assertThat(header.getParentHash()).isEqualTo(Hash.ZERO);
    final MutableWorldState worldState = InMemoryKeyValueStorageProvider.createInMemoryWorldState();
    genesisState.writeStateTo(worldState);
    final Account first =
        worldState.get(Address.fromHexString("0x0000000000000000000000000000000000000001"));
    final Account second =
        worldState.get(Address.fromHexString("0x0000000000000000000000000000000000000002"));
    assertThat(first).isNotNull();
    assertThat(first.getBalance().toLong()).isEqualTo(111111111);
    assertThat(second).isNotNull();
    assertThat(second.getBalance().toLong()).isEqualTo(222222222);
  }
Known Hash of the Olympic Genesis Block.
ethereum/core/src/test/java/org/hyperledger/besu/ethereum/chain/GenesisStateTest.java