Skip to content

StudioNet 61999 deployment regression / invalid_contract with documented py-genlayer runner #50

Description

@Chinny070

We are seeing reproducible contract deployment failures on StudioNet:

Network: StudioNet
Chain ID: 61999
RPC: https://studio.genlayer.com/api
Depends:
py-genlayer:1jb45aa8ynh2a9c9xn3b7qqh8sm5q93hwfp7jqmwsfhh8jpz09h6

We reproduced the problem with two completely different contracts.

  1. FairMod

TX:
0x5eeecca70cdd03c116e3c7394dfd5683204c2abf16694a99680dc478cfda4af1

Source SHA-256:
ec0bf1b067008f3477db33bf6ae8579386814b5df3975a44264fd95a42bbee23

  1. Minimal runtime probe

TX:
0xfb75f814b3418946e96d3ef51bc4f14ca462f3b60520a36638a60c3b3574470e

Source SHA-256:
cb7c51d435c85f389724ea2ed42b87682243a21e312171a0fc3eaf9afa9d5434

The second contract is intentionally minimal: no nondeterminism, web access, LLM calls, complex storage or constructor arguments. It contains only a trivial view method.

Both transactions reach FINALIZED consensus, but GenVM execution reports:

Execution Result: ERROR
Result Code: Contract Error
Error Message: invalid_contract

The minimal probe received 5/5 validator AGREE on the error outcome.

stdout, stderr, and raw_error contain no application-level traceback.

Neither resulting contract address exists afterward: genlayer schema, genlayer code, and contract calls return "Contract not found".

Tooling:
genlayer CLI 0.39.2
genlayer-js 1.1.8
genlayer-test 0.29.2
genvm-linter 0.11.1rc2
Node 24.14.0
Python 3.12.10

The CLI is using its built-in studionet preset; there are no custom RPC/chain overrides.

Could you confirm:

  1. Is py-genlayer:1jb45aa8... currently registered/available to validators on StudioNet 61999?
  2. What condition produces invalid_contract before application code begins executing?
  3. Is there a currently supported Depends hash/runtime we should use for stable StudioNet 61999?
  4. Is this a known StudioNet incident/regression?

We have deliberately not migrated to Studio-dev/61997 or another runner, because we want to identify the compatibility issue before changing the tested contract candidate.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions