K pfp
K
@kijijij
I have deployed smart contract which buys token using 0x Settler. I am seeing an error ```shortMessage: 'contract runner does not support calling'``` Here is the process * call 0x API and get quote for swapping ETH for TokenA * response has `transaction.data` which is passed to below 'swapCallData' . Pass Settler address and TokenA address you will see error ```shortMessage: 'contract runner does not support calling'``` @matchaxyz do you have updated docs ? https://bitbucket.org/blockx20/workspace/snippets/k7b6na
5 replies
0 recast
4 reactions

K pfp
K
@kijijij
The issue still persist with "SWAP_CALL_FAILED" , 'contract runner' issue was from EthersJS not being passed correct abi or contract config.
0 reply
0 recast
0 reaction

K pfp
K
@kijijij
New issue receiving ```Error: Transaction reverted: function selector was not recognized and there's no fallback function``` It seems the fallback function is not called, because I am not using Permit2. I got the function and might have to reverse engineer the params.
0 reply
0 recast
0 reaction

Itsthedoom pfp
Itsthedoom
@itsthedoom
Can you ping me on TG @ itsthedoom
3 replies
0 recast
1 reaction

dekz pfp
dekz
@dekz
“contract runner does not support calling” is an Ethersjs error. Can you provide more code? Check how you’ve constructed your providers and ensure and promises are awaited.
0 reply
0 recast
1 reaction

jon pfp
jon
@jonbray.eth
that error usually means that your contract runner doesn't support sending transactions (ie. you're not using a signer) are you getting the error when interfacing using ethers.js or similar library?
1 reply
0 recast
0 reaction