I have a simple hello world contract, compiled with Vyper. I use Web3j CLI to make a Java wrapper class from the contract's abi and bin files. When I deploy it, I get a stack underflow
error.
- I know the Vyper contract works, because I successfully deployed it with Truffle.
- I know my Web3j project is okay, because it can successfully deploy a Solidity hello world contract.
QUESTION: Why can'twon't Web3j deploy a simple Vyper contract?
The Ganache Error:
{"error":"stack underflow","program_counter":1,"return":"0x"}
Vyper compile commands:
vyper -f abi -o hello.abi hello.vy
vyper -f bytecode -o hello.bin hello.vy
Versions:
- Ganache CLI v6.12.2 (ganache-core: 2.13.2)
- Web3j 4.9.6
- Vyper 0.3.7
Let me know if you want any other details. Thanks