PR for reference: #2071
To recompile the contract you can run:
yarn install
yarn neo-one compile --avm --debug
to generate all of the files the toolkit should need.
to quickly see the uncompressed debug file:
yarn neo-one compile --json --debug
The NeoDevTracker automatically detects the .avm
file and successfully deploys it, but the only command that can be invoked successfully is deploy
.
Trying to call neo-express contract invoke -t ./testInvoke.json
fails with FAULT
. I checked the invocation scripts from neo-express and neo-one and they were identical.
I don't think this is a problem with the contract as similar methods work on our testnet contract. The only difference in the deployments between neo-express and neo-one is that neo-one combines the publish and deploy call: see this 'script'