trufflesuite / ganache-cli-archive

Fast Ethereum RPC client for testing and development. See https://github.com/trufflesuite/ganache for current development.
https://www.trufflesuite.com/ganache
MIT License
3.36k stars 695 forks source link

sendTransaction to account address with data #507

Closed zatsepinvl closed 5 years ago

zatsepinvl commented 6 years ago

I try to send transaction with data to external account (user address) using MetaMask and ganache-cli (ganache-core v2.1.0) : web3.eth.sendTransaction({"from":"0x...","to":"0x..","value":1,"data":"0x..."}, (err,result) => {}); and get the error: image

But if I use previous version testrpc (ganache-core v2.0.2) transaction is passed successfully - the same with Ropsten net.

Was it prohibited in the new version intentionally? And why?

newship commented 6 years ago

I have the same problem.. (ganache-core: 2.1.5)

mikeseese commented 6 years ago

We're also tracking this in https://github.com/trufflesuite/ganache-core/issues/117