private static <T> T withNiceErrorMessage(
      final String name, final String value, final Function<String, T> parser) {
    try {
      return parser.apply(value);
    } catch (final IllegalArgumentException e) {
      throw createInvalidBlockConfigException(name, value, e);
    }
  }
Writes the genesis block's world state to the given {@link MutableWorldState}.

@param target WorldView to write genesis state to
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/chain/GenesisState.java