optimism-java / hildr

Hildr is an OP Stack rollup client written in latest Java.
https://optimism-java.github.io/hildr-docs
MIT License
39 stars 13 forks source link

Unable to decode a number on path #197

Closed barnabasbusa closed 1 day ago

barnabasbusa commented 1 week ago

Latest hildr bug reproducable with kurtosis - optimism-package

kurtosis run github.com/ethpandaops/optimism-package@feat/op-deployer-support --args-file https://raw.githubusercontent.com/ethpandaops/optimism-package/075ff6f1641753b3debaeb00cdf4970599964f98/.github/tests/hildr.yaml --image-download always

11:19:57.205 [main] DEBUG i.m.c.u.i.l.InternalLoggerFactory trace_id= span_id= trace_flags= Using SLF4J as the default logging framework
io.optimism.config.ConfigLoadException: org.github.gestalt.config.exceptions.GestaltException: Failed getting config path: config, for class: io.optimism.config.Config
 - level: ERROR, message: Unable to decode a number on path: config.chainConfig.systemConfig.l1FeeScalar, from node: LeafNode{value='452312848583266388373324160190187140051835877600158453279134670530344387928'} attempting to decode BigInteger
 - level: MISSING_VALUE, message: Unable to find node matching path: config.chainConfig.systemConfig.l1FeeScalar, for class: SystemConfig, during record decoding
    at io.optimism.config.Config.create(Config.java:134)
    at io.optimism.cli.Cli.toConfig(Cli.java:206)
    at io.optimism.cli.Cli.run(Cli.java:168)
    at picocli.CommandLine.executeUserObject(CommandLine.java:2026)
    at picocli.CommandLine.access$1500(CommandLine.java:148)
    at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
    at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
    at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
    at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
    at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
    at picocli.CommandLine.execute(CommandLine.java:2170)
    at io.optimism.Hildr.main(Hildr.java:32)
GrapeBaBa commented 1 week ago

@barnabasbusa What is origin of the value 452312848583266388373324160190187140051835877600158453279134670530344387928, it seems there is a space character at last.

GrapeBaBa commented 1 week ago

@barnabasbusa should be fixed by #199

barnabasbusa commented 1 week ago

Do you auto build docker images to "latest"? I still seem to have the same problem

GrapeBaBa commented 1 week ago

Do you auto build docker images to "latest"? I still seem to have the same problem

We haven't build a new latest docker image yet. We are testing Granite hardfork, will release a new version once finished. It should be very soon.

GrapeBaBa commented 1 week ago

@barnabasbusa Released. Can you try again?