Skip to content

lotus evm deploy: output the messageCidΒ #13241

@wjmelements

Description

@wjmelements

Checklist

  • This is not brainstorming ideas. If you have an idea you'd like to discuss, please open a new discussion on the lotus forum and select the category as Ideas.
  • I have a specific, actionable, and well motivated feature request to propose.

Lotus component

  • lotus daemon - chain sync
  • lotus fvm/fevm - Lotus FVM and FEVM interactions
  • lotus miner/worker - sealing
  • lotus miner - proving(WindowPoSt/WinningPoSt)
  • lotus JSON-RPC API
  • lotus message management (mpool)
  • Other

What is the motivation behind this feature request? Is your feature request related to a problem? Please describe.

I want to measure GasUsed for contract deployment. The best ways I know how to get this are wait-msg and search-msg, which both take a messageCid parameter. I am using lotus evm deploy to deploy FEVM smart contracts, but this doesn't provide the messageCid.

Describe the solution you'd like

lotus evm deploy should report the messageCid.

Describe alternatives you've considered

Alternatively, more information could be provided in the final result reported at the end of lotus evm deploy. This would need to contain all of the information from wait-msg:

  • tip set
  • exit code
  • gas used
  • return value

I don't propose this approach because I would prefer for evm deploy to behave more like send.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    πŸ“Œ Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions