Skip to content

Instantly share code, notes, and snippets.

View athei's full-sized avatar

Alexander Theißen athei

View GitHub Profile
@athei
athei / proof.rs
Created October 6, 2021 11:28
API proposal for custom proofs in substrate
mod sp_io {
/// Determines in which exection mode we are.
enum Mode {
/// Standalone chain that does not have to deal with PoV at all.
Standalone,
/// Running on a parachain node (block building).
Parachain,
/// Running on a relay chain validator (block verification).
Pvf,
}
2017-10-17 16:25:02,797 - ERROR - Error while handling server response
Traceback (most recent call last):
File "/home/atheissen/.vim/plugged/YouCompleteMe/autoload/../python/ycm/client/base_request.py", line 214, in HandleServerException
yield
File "/home/atheissen/.vim/plugged/YouCompleteMe/autoload/../python/ycm/client/completion_request.py", line 53, in RawResponse
self._response = JsonFromFuture( self._response_future )
File "/home/atheissen/.vim/plugged/YouCompleteMe/autoload/../python/ycm/client/base_request.py", line 183, in JsonFromFuture
raise MakeServerException( response.json() )
ycmd.responses.ServerError: RuntimeError: No completions found; errors in the file?
2017-10-17 16:25:03,063 - ERROR - Error while handling server response
Printing YouCompleteMe debug information...
-- Client logfile: /tmp/ycm_2a4v4uxd.log
-- Server Python interpreter: /usr/bin/python
-- Server Python version: 2.7.12
-- Server has Clang support compiled in: True