Skip to content

feat(cast) Add --timestamp flag to cast call --block to override the timestamp of the block #6062

Open
@wminshew

Description

@wminshew

Component

Cast

Describe the feature you would like

cast call has a --block flag but as best as I can tell it has no way of overriding the timestamp which means trying to simulate swaps in the past to uniswap ~always fail from getting executed past their deadline

relatedly, it would be very nice to be able to get the timestamp given a block and the closest block given a timestamp

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-castCommand: castT-featureType: featureT-post-V1Area: to tackle after V1first issueA good way to start contributing

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions