Skip to content

fix(genvm): wire named fee accounting - #1750

Merged
kp2pml30 merged 1 commit into
v0.123-devfrom
genvm/fee-fix
Sep 15, 2026
Merged

kp2pml30 merged 1 commit into
v0.123-devfrom
genvm/fee-fix

Conversation

@kp2pml30

@kp2pml30 kp2pml30 commented Sep 2, 2026

Copy link
Copy Markdown
Member

Delivery Context

Depends-On: genlayerlabs/genvm-manager#31

Outcome

  • Wire the GenVM named fee-bucket protocol through execution, settlement, Studio configuration, and fee reporting
  • Preserve legacy unmetered-message and leader-public-data compatibility
  • Pin the matching GenVM revision from the dependency PR

Validation

I had to fix a bunch of unrelated bugs

@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: b8b39799-5c0a-4c06-9046-9656af0aaa84

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kp2pml30 kp2pml30 self-assigned this Sep 3, 2026
@kp2pml30 kp2pml30 changed the title WIP: do NOT review yet — wire GenVM named fee accounting fix(genvm): wire named fee accounting Sep 3, 2026
@kp2pml30
kp2pml30 marked this pull request as ready for review September 4, 2026 07:08
@kp2pml30
kp2pml30 force-pushed the genvm/fee-fix branch 4 times, most recently from cbbc8cc to a55e4d3 Compare September 10, 2026 09:17
Integrate the GenVM named fee-bucket protocol across execution, settlement,
Studio configuration, and fee reporting. GenVM now reports consumption as a
name-keyed map instead of a positional list and gains a submitted-message
count bucket; the reporting path accepts both shapes so legacy receipts keep
decoding. Preserve compatibility for legacy unmetered messages and leader
public data while pinning the matching GenVM revision.

The v0.6 economics on main supersede the fee model this change was authored
against, so it keeps main's pricing, overlay and phase-bound rules and maps
the GenVM gas-data keys onto them.

Repin GenVM to v0.6.0-rc5, whose v0.2 executor surfaces emitted envelopes
under the canonical empty entry key, so v0.2 -> v0.3 messages are delivered
instead of rejected. The gasless estimate helper wrote the method name under
the legacy "method" key, which GenVM's closed entry key set rejects as
malformed_entry; it now uses the same key as the SDK and the rest of the
suite.

Claude-Session: https://claude.ai/code/session_01U8TZ2YgVcjVV714P45m59i
@kp2pml30
kp2pml30 merged commit 0737a52 into v0.123-dev Sep 15, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant