I am just following along the examples:
Used this split.py template from github; version=3
pyteal/split.py at master · algorand/pyteal · GitHub
using the addresses supplied within sandbox docker.
also created clear.teal; version 3 int 0
Ran it, and gave me teal output, save as “sample.teal”
copy the teal code to container in sandbox
./sandbox copyTo “sample.teal”
Restarted my docker. File is updated, ok.
goal app create --creator MOYUWFGVM7FIHTBEPC5FT2N4QZ546RGRM2LECEXBO5VP3X2SA2AKKMMVKQ --approval-prog sample.teal --clear-prog clear.teal --global-byteslices 1 --global-ints 1 --local-byteslices 1 --local-ints 1
TransactionPool.Remember: transaction PP7DHEXACNA3U3VZI5KMXGTHNNBXJDQNTVUKZ4QH7YWEVRBC6BHQ: transaction rejected by ApprovalProgram
Not quite sure what is wrong?
All the examples that didn’t have addresses ran successfully but I do not know what else to provide here?