Of course you should be able to test code with other nodes. The SDK is also using the aeternal.io node and middleware as a standard setting. I’m not sure what causes this problem but I’ve forwarded your question. Thanks for asking!
I am using online IDEs and seems both are having issues with CORS trying to reach remote compiler:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://latest.compiler.aepps.com/decode-call-result. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
The weird thing is that getMapPositive(8) returns 5 as expected, but getMapNegative(8) returns: Unknown error and in the browser console I get:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://latest.compiler.aepps.com/decode-call-result. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
thanks! i will use my local full node in the meantime, just for the community in general i think it is very useful that online IDE works properly, as people can start experimenting with sophia right away ^^
Hey, this nasty issue makes me wanna cry already @dincho.chain
Access to XMLHttpRequest at 'https://compiler.aepps.com/decode-call-result' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.