Skip to content

Don't present non-ethereum error as an ethereum-style #6213

@LesnyRumcajs

Description

@LesnyRumcajs

Summary

I believe we need to port filecoin-project/lotus#13406; I got a similar error when trying to deploy a contract via https://github.com/filecoin-project/fevm-foundry-kit with Forest

❯ forge create --rpc-url http://localhost:2345/rpc/v1 --private-key $PRIVATE_KEY --broadcast src/basic-deal-client/DealClient.sol:DealClient
[⠊] Compiling...
No files changed, compilation skipped
Error: server returned an error response: error code 11: message execution failed (exit=[ErrIllegalArgument(16)], revert reason=[message failed with backtrace:
00: f010 (method 4) -- method expects arguments (16)
 (RetCode=16)], vm error=[ERROR: revert reason is not cbor encoded bytes])

The fact that it fails is a different matter. :)

Completion Criteria

  • Port the linked fix to Forest

Additional Links & Resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: TaskDiscrete task to implement

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions