Skip to content

Display more tx metadata in script output #12739

@mattsse

Description

@mattsse

Component

Forge

Describe the feature you would like

we currently display:

chainid

✅ [Success] Hash: <>
Block: ...
Paid: 0.001080630...

for script results

it would be great if we can also add

  • function if we have it (we should because we write it to the report)
  • contract name if we have it

displayed here:

/// Prints parts of the receipt to stdout
pub fn format_receipt(chain: Chain, receipt: &AnyTransactionReceipt) -> String {

but we should have access to the ScriptSequence here

Additional context

No response

Metadata

Metadata

Assignees

Labels

T-featureType: featureT-needs-triageType: this issue needs to be labelled

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions