Skip to content

CLI fix: create command missing creationFee as msg.value #660

@realproject7

Description

@realproject7

From E2E test #644 / agent-os #327

Bug

`plotlink create` reverts with `MCV2_Bond__InvalidCreationFee` on mainnet because the CLI doesn't read or pass `creationFee()` from MCV2_Bond as `msg.value` in the `createStoryline` transaction.

Fix

In `packages/cli/src/create.ts` (or the SDK client if still used internally):

  1. Read `creationFee()` from the MCV2_Bond contract before calling `createStoryline`
  2. Pass it as `value` in the `simulateContract` / `writeContract` call

Branch

`task/660-cli-creation-fee`

Self-Verification (T3)

  • Run `plotlink create` on Base mainnet with donor wallet — succeeds without revert
  • Verify storyline appears on plotlink.xyz after indexing
  • Hide test storyline after verification
  • `npm run build` passes

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/T3Assigned to T3 builder agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions