Comments (3)
Or perhaps more generally, EVM_PRECOMPILE_ERROR
or EVM_HOSTFUNCTION_ERROR
?
from evmc.
So you returns EVM_INTERNAL_ERROR
from a call to a precompiled contract instead of EVM_FAILURE
?
I'm fine with adding EVM_PRECOMPILE_FAILURE
(following Java naming convention when Error are not recoverable).
Can you make a PR with this?
from evmc.
Keep in mind that on the "real EVM" there is no distinction between these errors, because there is no way to retrieve anything past "success or failure" via CALL
or external transaction.
from evmc.
Related Issues (20)
- Implement Rust evmc-host crate to consume VMs HOT 5
- ci: Add code coverage report
- Add constructor with uint64_t input for evmc::uint256
- using bool from stdbool.h makes FFI author life difficult HOT 4
- CircleCI: Build for macos too
- Migrate Appveyor to CircleCI (Windows) HOT 2
- Go: Bumpversion the module major version number
- Execution tracing HOT 3
- Clean up the Java interface
- Add stdin (or file input) support to evmc run HOT 1
- Merge vmtester into the evmc tool
- Ensure that the core files can be compiled noexcept HOT 2
- The HostContext got by getHostContext may be nil, but there is no nil check. HOT 1
- Add Java configuration for lgtm
- Add Go configuration for lgtm
- Add Python configuration for lgtm
- Implement call method in sample host HOT 1
- (core-geth:EVMCv10) evmone fails GeneralStateTests/stRandom/randomStatetest153.json HOT 1
- Add support for other EVM chains
- In evmc-tool validate EOF code before executing it HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evmc.