Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node contact error #68

Closed
Bhaney44 opened this issue Jun 18, 2021 · 2 comments
Closed

Node contact error #68

Bhaney44 opened this issue Jun 18, 2021 · 2 comments

Comments

@Bhaney44
Copy link

I am implementing a stateless swap using PyTeal. I created a repository for the code I am developing. I am running the following from the command line, in the directory with the stateless_swap.teal file:

goal clerk compile stateless_swap.teal

However, I am getting the following error:

Cannot contact Algorand node: open /Users/brianhaney/node/data/algod.net: no such file or directory

I checked the/Users/brianhaney/node/data directory and there is no file algod.net. I am not sure whether this is something I need to download, or if there is another work around. I'd appreciate any advice or suggestions - thanks!

@Bhaney44
Copy link
Author

Update: I ran stateless_swap.teal in the sandbox and my machine returned the same error.

@Bhaney44
Copy link
Author

The fix for this Issue is to run the following in sandbox.

./sandbox goal clerk compile stateless_swap.teal

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant