Is there any reason to believe Cloudflare workers is blocking RPC network requests to Ethereum?

When I run my /function endpoint code using node function/myfunction.js I have no issue making goerli RPC calls and getting data back. However, when I run it using wrangler pages dev . then hit the endpoint I get the ever unhelpful RPC error
POST /myfunction.js: Error: missing revert data in call exception; Transaction reverted without a reason string
POST /myfunction.js: Error: missing revert data in call exception; Transaction reverted without a reason string
Any reason to believe the same code would behave differently in wrangler vs. in a straight up node environment?
1 Reply
kian
kian13mo ago
Workers aren't Node If your library depends on Node built-ins or APIs, that'd be an issue. If it tries to fetch IPs rather than hostnames, that'd be an issue.