Comments (5)
@lacabra
To reproduce the behavior I need some clarifications:
- Does the valid contract have a constructor. It is better if you point me to the real contract.
- What is this: Fn='not a valid construct()' ? Is this a decrypted callable?
- Please give me the relevant inputs, at least
callable
andarguments
from enigma-core.
I think he meant the opposite, that he passed an invalid constructor and it didn't fail.
from enigma-core.
Correct, I passed an invalid constructor, and it didn't fail.
Take any contract, and pass the following:
Callable='whatever-you-want-here-that-is-not-a-valid-construct-function'
Args=[]
from enigma-core.
In the integration tests, run the following tests in this order:
01_init.spec.js
03_deploy_fail_constructor.spec.js
And the deployment does not fail as expected, but instead it succeeds.
from enigma-core.
This defect is planned to be fixed as part of general improvement of treating wrong inputs for deployment and computation of secret contracts.
from enigma-core.
Related Issues (20)
- Core produces a delta when the function seems to not change the state
- System error if wrong contract address is passed to the secret contract computation
- The principal node returns Error when it's tried too many times HOT 3
- KeyManagement node randomly failed to start HOT 1
- In simulation mode, the quote is returned in ASCII instead of bytes
- KeyManagement: Cannot lock EpochState: WouldBlock HOT 2
- KM node panics if signature is bad length HOT 1
- Align `GetContract` IPC message to P2P HOT 1
- Move code output from verbosity level 2 to 3 HOT 4
- expected value, found struct variant `EnumVariation::Rust` HOT 2
- error: 'rustfmt' is not installed for the toolchain 'nightly-2019-05-20-x86_64-unknown-linux-gnu' HOT 1
- Remove km stack trace from EpochStateTransitionErr HOT 2
- Change the block_number type to u256 number in the KM JSON RPC
- Compilation Error `bytes32` type in Eth Contracts HOT 2
- Undocument Prefix After Decrypting Outputs of a computation
- Possible typo in array initialization in erc20 secret contract example HOT 8
- A couple of issues with crypto_wasm::encrypt
- cargo test -- --ignored failed HOT 2
- how to run enclave test?
- ENG:SCRT swap ratio HOT 2
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 enigma-core.