Skip to content

JSONRPCError conversion error with Lotus Gateway #6530

@LesnyRumcajs

Description

@LesnyRumcajs

Describe the bug

As reported by ChainLove

We've started using Forest in out public fleet accompanied by Lotus Gateway, and we're seeing the following log in the gateway:
2026-02-03T09:44:15.454Z ERROR rpc go-jsonrpc@v0.8.0/response.go:71 Error converting JSONRPCError to custom error type '*api.ErrExecutionReverted' (code 11): %!w(*xerrors.errorString=&{invalid execution reverted error {[24112852 24112817 5183156]}})

This might be a bug in either Forest or Lotus Gateway; best to investigate carefully before submitting any changes.

Environment (please complete the following information):

containers:
  - args:
    - --chain
    - mainnet
    - --rpc
    - "true"
    - --rpc-address
    - 0.0.0.0:1234
    - --healthcheck-address
    - 0.0.0.0:2347
    - --metrics-address
    - 0.0.0.0:6116
    - --encrypt-keystore
    - "false"
    - --no-gc
    command:
    - forest
    env:
    - name: FOREST_CHAIN_INDEXER_ENABLED
      value: "true"
    - name: FOREST_JWT_DISABLE_EXP_VALIDATION
      value: "true"
    - name: FOREST_RPC_BACKFILL_FULL_TIPSET_FROM_NETWORK
      value: "true"
    image: ghcr.io/chainsafe/forest:v0.31.1

Other information and links

Metadata

Metadata

Assignees

Labels

Type: BugSomething isn't working

Type

No type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions