Comments (5)
Did you redo the PTT with the new address?
Core needs to get the key for the contract.
from enigma-core.
- Did you redo the PTT with the new address?
I don't control the PTT from the client side. In the integration tests I'm only dealing with the functionality that the Enigma.JS provides, and it's not part of the library to trigger or manage the PTT. The network should handle it automatically.
As far as I understand, the P2P subscribes to epoch changes, and that's the only time when it triggers PTT requests to/from core
. @lenak25 and @fredfortier can confirm.
Shouldn't it be core
's responsibility to request keys if it realizes it's missing them for a deploy/compute request it receives? Because these requests come already validated by P2P that are indeed directed to that instance of core
, so if at that point core
is missing some state keys, shouldn't it do something about it?
cc:@moria
from enigma-core.
No. If there's a new contract in the middle of the epoch it should be the p2p responsibility to initiate a new PTT.
core has no sense of epochs etc.
from enigma-core.
Well, then I would like @lenak25 and @Isan-Rivkin to comment on this.
from enigma-core.
Similar to #113, I had misidentified this issue as well, and the underlying issue is in the P2P repo as reported here: GetStateKeys before deploying a contract
So closing this issue in favor of the issue reported in P2P.
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.