Cors origin & Error: Latest block should be set by now
saravana87 opened this issue · 0 comments
saravana87 commented
After reading the manual. I build the repo from source (https://github.com/Alethio/ethereum-lite-explorer#building-from-source)
I managed to build and run the application without the error.
I used npm run build-dev to check the app in the 3000 port.
Errors
- Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:8545/. (Reason: CORS request did not succeed).
- Error: Latest block should be set by now
I added cors code in the dev/index.ts also. I added cors params in Geth and parity server.