moonstream-to / moonworm

codegen for crypto degens and other ethereum smart contract toolkit for python
Apache License 2.0
36 stars 7 forks source link

--address should be required argument on the CLI #109

Open zomglings opened 1 year ago

zomglings commented 1 year ago

For any contract method which is not deploy.

This has led to a lot of pain and a lot of wasted time.

Reported by GarrettWorlds while using game7ctl:

I was trying to get the tool to work earlier and I was able to stumble across the solution. Turns out I wasnt using the --address argument when using the inventory subcommand. My mistake. Normally it says the following arguments are required: ... but it said contract has not been instantiated when I didnt give it an address. Not sure if this is something you guys would fix but I thought I would let you know.