Skip to content

Should we support fallback() in an auto resolve mode contract #15

@syntrust

Description

@syntrust

The following link is supported by the old version of web3url-gateway but not new version web3protocol-go:

https://0x31caefa22959db0581623618d9c554e6436aa4b4.w3q-g.w3link.io/0x6d4a199f603b084a2f1761dc9f322f92e68bfd5e-demo.png

The reason is the contract extends ERC5018 but overrides resolveMode as "auto" for some implementation convenience. In this case, the old gateway calls fallback() of the contract, while the new one reports "invalid method name":

https://github.com/ethstorage/w3music/blob/65f2e8d21c09ad63b0057af011b70164f8eba192/contract/SimpleW3Music.sol#L2094

How should we handle this case, since EIP-4804 seems to have no specific description about it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions