Lesson 8 #5782
Replies: 4 comments 2 replies
-
@MahzyarSaadat It says you didn't send enough. Make sure you are sending according to current rate and also make sure the condition in your contract. |
Beta Was this translation helpful? Give feedback.
-
As @alymurtazamemon said you are not sending enough ETH in some part of your code. Calling what exact script/function/test are you getting this error? |
Beta Was this translation helpful? Give feedback.
-
I have a similar error, have you been able to solve it? Contract call: FundMe#<unrecognized-selector>
From: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
To: 0xe7f1725e7734ce288f8367e1bb143e90bb3f0512
Error: Transaction reverted: function selector was not recognized and there's no fallback function
at FundMe.<unrecognized-selector> (contracts/FundMe.sol:14)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at HardhatNode.runCall (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/node.ts:665:20)
at EthModule._callAction (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/modules/eth.ts:356:9)
at HardhatNetworkProvider._sendWithLogging (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:144:22)
at HardhatNetworkProvider.request (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:121:18)
at JsonRpcHandler._handleRequest (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/jsonrpc/handler.ts:191:20)
at JsonRpcHandler._handleSingleRequest (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/jsonrpc/handler.ts:152:17)
eth_call
Contract call: FundMe#<unrecognized-selector>
From: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
To: 0xe7f1725e7734ce288f8367e1bb143e90bb3f0512
Error: Transaction reverted: function selector was not recognized and there's no fallback function
at FundMe.<unrecognized-selector> (contracts/FundMe.sol:14)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at HardhatNode.runCall (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/node.ts:665:20)
at EthModule._callAction (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/modules/eth.ts:356:9)
at HardhatNetworkProvider._sendWithLogging (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:144:22)
at HardhatNetworkProvider.request (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:121:18)
at JsonRpcHandler._handleRequest (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/jsonrpc/handler.ts:191:20)
at JsonRpcHandler._handleSingleRequest (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/jsonrpc/handler.ts:152:17)
eth_call
Contract call: FundMe#<unrecognized-selector>
From: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
To: 0xe7f1725e7734ce288f8367e1bb143e90bb3f0512
Error: Transaction reverted: function selector was not recognized and there's no fallback function
at FundMe.<unrecognized-selector> (contracts/FundMe.sol:14)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at HardhatNode.runCall (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/node.ts:665:20)
at EthModule._callAction (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/modules/eth.ts:356:9)
at HardhatNetworkProvider._sendWithLogging (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:144:22)
at HardhatNetworkProvider.request (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:121:18)
at JsonRpcHandler._handleRequest (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/jsonrpc/handler.ts:191:20)
at JsonRpcHandler._handleSingleRequest (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/jsonrpc/handler.ts:152:17)
eth_call
Contract call: FundMe#<unrecognized-selector>
From: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
To: 0xe7f1725e7734ce288f8367e1bb143e90bb3f0512
Error: Transaction reverted: function selector was not recognized and there's no fallback function
at FundMe.<unrecognized-selector> (contracts/FundMe.sol:14)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at HardhatNode.runCall (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/node.ts:665:20)
at EthModule._callAction (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/modules/eth.ts:356:9)
at HardhatNetworkProvider._sendWithLogging (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:144:22)
at HardhatNetworkProvider.request (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:121:18)
at JsonRpcHandler._handleRequest (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/jsonrpc/handler.ts:191:20)
at JsonRpcHandler._handleSingleRequest (/home/joan/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/hardhat-network/jsonrpc/handler.ts:152:17) |
Beta Was this translation helpful? Give feedback.
-
I am getting the same Error.
Currently sending 77ETH so i am thinking i am sending enough. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
hello ,
my tx confirm and the eth_amount funded correctly , but i see this error in my terminal ,
what's happened?
Beta Was this translation helpful? Give feedback.
All reactions