Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

some error occurs on the chain when add NotificationProvider #26

@viczhangge

Description

@viczhangge

When use the NotificationProvider components, then we call the contract function :

await enterRaffleFee({
                onSuccess: handleSuccess,
                onError: (error) => {
                  console.error(error);
                },

The blockchain occurs the error like this,but it will succeed

Contract call:       Raffle#<unrecognized-selector>
  From:              0xabccd
  To:                  0xabcedeff
 Error: Transaction reverted: function selector was not recognized and there's no fallback function

Is there any conventions to resolve this error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions