DEV Community

Discussion on: The Complete Guide to Full Stack Solana Development with React, Anchor, Rust, and Phantom

Collapse
 
franciscogmm profile image
Francisco Mendoza

I keep on getting this for the hello world app. I'm a bit stuck tbh.

1) mysolanaapp
Creates a counter):
Error: 101: Fallback functions are not supported
at Function.parse (node_modules/@project-serum/anchor/dist/cjs/error.js:40:20)
at Object.rpc as create
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Context. (tests/mysolanaapp.js:13:5)

Collapse
 
franciscogmm profile image
Francisco Mendoza

nvm! i tried turning off the test validator and it succeeded :)

Collapse
 
yushoo profile image
kique

This is because anchor test runs the local ledger as well right? Just ran into this issue lol.

Collapse
 
fred227 profile image
Frédéric Lesage

hi, CAPITAL letters are not supported for function name in your rust on-chain program.
I get the same error when I use some.

Collapse
 
youngmahesh profile image
Mahesh

For me it was a combination of underscore and number, function name exchange1 is valid but exchange_1 is giving Fallback functions are not supported error