NO_DYNAMIC_EXECUTION was set, cannot eval - ccall/cwrap are not functional
See original GitHub issueHi. I’m using solcjs
to compile solidity project and it was working fine with all the ^0.4.0 versions. Now I want to try solidity 0.5.0 versions and I’m getting this error message:
NO_DYNAMIC_EXECUTION was set, cannot eval - ccall/cwrap are not functional
I’ve looked through the issues but wasn’t able to figure it out. Do you have any idea how to fix it? Seems emscripten related.
NO_DYNAMIC_EXECUTION was set, cannot eval - ccall/cwrap are not functional
abort("NO_DYNAMIC_EXECUTION was set, cannot eval - ccall/cwrap are not functional") at Error
at jsStackTrace (/Users/leonidlogvinov/Dev/0x/0x-monorepo/packages/sol-compiler/solc_bin/soljson-v0.5.0+commit.1d4f565a.js:1:19656)
at stackTrace (/Users/leonidlogvinov/Dev/0x/0x-monorepo/packages/sol-compiler/solc_bin/soljson-v0.5.0+commit.1d4f565a.js:1:19839)
at abort (/Users/leonidlogvinov/Dev/0x/0x-monorepo/packages/sol-compiler/solc_bin/soljson-v0.5.0+commit.1d4f565a.js:20:13296)
at getCFunc (/Users/leonidlogvinov/Dev/0x/0x-monorepo/packages/sol-compiler/solc_bin/soljson-v0.5.0+commit.1d4f565a.js:1:7278)
at ccallFunc (/Users/leonidlogvinov/Dev/0x/0x-monorepo/packages/sol-compiler/solc_bin/soljson-v0.5.0+commit.1d4f565a.js:1:8028)
at /Users/leonidlogvinov/Dev/0x/0x-monorepo/packages/sol-compiler/solc_bin/soljson-v0.5.0+commit.1d4f565a.js:1:8564
at Object.compile (/Users/leonidlogvinov/Dev/0x/0x-monorepo/packages/sol-compiler/node_modules/solc/wrapper.js:77:16)
at Compiler._compile (/Users/leonidlogvinov/Dev/0x/0x-monorepo/packages/sol-compiler/src/compiler.ts:423:26)
at Compiler.<anonymous> (/Users/leonidlogvinov/Dev/0x/0x-monorepo/packages/sol-compiler/src/compiler.ts:250:41)
at step (/Users/leonidlogvinov/Dev/0x/0x-monorepo/packages/sol-compiler/lib/src/compiler.js:43:23)
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:8 (3 by maintainers)
Top Results From Across the Web
How to dynamically execute/eval JavaScript code that ...
In order to do so, I need to dynamically execute the source code. There seem to be two main options for dynamically executing...
Read more >Using Dynamic Evaluation and Execution
Dynamic execution The Eval function only allows for expression evaluation. If you need to execute a statement—such as an assignment statement, a variable ......
Read more >See No Eval: Runtime Dynamic Code Execution in ...
A problem for this method is that it won't do anything when the target property is nil . There is no way for...
Read more >Dynamic code execution should not be vulnerable to ...
I/O function calls should not be vulnerable to path injection attacks. Vulnerability ... A new session should be created during user authentication.
Read more >Dynamic Execution
This page describes how to enable, tune, and debug dynamic execution. If you have both local and remote execution set up and are...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed I was using the new solidity binaries with the old
solc
version.^0.4.24
.Thanks a lot @LogvinovLeon Updating the
package.json
file fixed my issue as well 👍