- Jan 29, 2018
-
-
Gav authored
-
- Jan 28, 2018
-
-
Gav authored
-
- Jan 25, 2018
-
-
Gav authored
-
- Jan 23, 2018
-
-
asynchronous rob authored
-
asynchronous rob authored
-
Gav authored
- Kill Externalities Error type requirement.
-
* Introduce basic skeleton for Polkador runtime. * Clean up the runtime skeleton. * Make initial runtime skeleton compile. * Compile polkadot-runtime both for Wasm ad native, allowing for testing and direct usage. * More fleshing out on runtime. * Update native support. * Fix warning. * Update gitignore * Update path. * Fix path. * Remove accidentally committed files. * Add wasm binaries. * Fix test. * Native storage support API. * Add environmental module * Add native environment to make native source-code compatible with wasm. Also tests. * Finish up & polish environment stuff. * Avoid using reentrancy issues. * Add some docs and a test. * Remove unneeded function. * Documentation * Tweak docs * Remove TODOs. * Balance transfers + util methods. * Rejig tests and ensure authorities are addressed consistently. * Add marshaller for xfer function * Transaction dispatch test....
-
- Jan 19, 2018
-
-
Gav authored
- Blake2 for secure hashing - XX for fast hashing
-
- Jan 18, 2018
-
-
Gav authored
-
- Jan 17, 2018
- Jan 10, 2018
-
-
asynchronous rob authored
-
Gav authored
Also tests.
-
- Jan 09, 2018
- Jan 08, 2018
-
-
* Introduce first groundwork for Wasm executor. * Remove old Rust-runtime code. * Avoid commiting compled files. * Add runtime precompile. * Rename so module makes more sense. * Further renaming. * Ensure tests work. * Allow bringing in of externalities. - Add util functions/macros. - Add uncompacted runtime. - Add some external crates from pwasm-std for managing allocs/memory stuff. * Nice macros for imports. * Allow passing in of data through allocators. Make memcpy and malloc work. Basic allocator. * Can now pass in bytes to WasmExecutor. * Additional cleanup. * Switch usages of `OutData` to `u64` No need to be able to return bytes anymore. * convert to safe but extremely verbose type conversion. @rphmeier any more concise way of doing this? * Remove StaticExternalities distinction. * Remove another unused use. * Refactor wasm utils out * Remove extraneous copies that weren't really testing anything. * Try to use wasm 0.15 * Make it work! * Call-time externalities working. * Add basic externalities. * Fix grumbles and note unwraps to be sorted. * Test storage externality. Unforunately had to change signatures of externalities to avoid immutable function returning a reference. Not sure what to do about this... * Fix nits. * Compile collation logic. * Move back to refs. Yey. * Remove "object" id for storage access. * Fix test. * Fix up rest of tests. * remove unwrap. * Expose set/get code in externalities Also improve tests and add nice wrappers in rust-wasm. * Add validator set. * Introduce validator set into externalities and test. * Add another external function. * Remove code and validators; use storage for everything. * Introduce validators function. * Tests (and a fix) for the validators getter. * Allow calls into runtime to return data. * Remove unneeded trace. * Make runtime printing a bit nicer. * Create separate runtimes for testing and polkadot. * Remove commented code. * Use new path. * Refactor into shared support module. * Fix warning. * Remove unwraps. * Make macro a little less unhygenic. * Add wasm files.
-
- Jan 03, 2018
-
-
asynchronous rob authored
-
asynchronous rob authored
* candidate statement importing * import votes on validity * import availability votes * candidate receipt type * make table mod public * test context for table * add harness for tests * some tests for misbehavior * produce proposal from table * count candidate issuance as implicit vote * keep track of messages known by validators * fix primitives compilation * simple BFT agreement * kill unused macro_use annotation * tests for BFT agreement * test for not concluding on different prepares * return summary upon statement import * accept bft agreement on proposal not locally submitted * check justification set for BFT * BFT rewrite: vote accumulator with tests * squash some warnings * a few more tests for the accumulator * add sender to table's signed statement * implement honest node strategy for BFT * inex -> index * import and broadcast lock proofs * poll repeatedly when state changes * ...
-
- Dec 29, 2017
-
-
asynchronous rob authored
-
- Dec 13, 2017
-
-
asynchronous rob authored
* collator crate skeleton and description * parachain primitives: proof -> witness and egress format * collation of ingress queues through trait * add ingress collation test * structure for collated ingress * add collated ingress to proposal * witness -> proof * ingress collation and candidate creation + code cleanup * update collator lib to new definitions * address formatting grumble
-
- Dec 12, 2017
-
-
asynchronous rob authored
-
- Nov 15, 2017
-
-
* Initial version of http server. * Refactor the structure. * add unassigned ports info. * Rename servers to match conventions. * Add client crate and some proper RPC implementations. * Style & docs.
-
- Nov 13, 2017
-
-
asynchronous rob authored
* initial primitives * add block primitives * state machine: backend * in-memory backend * tests for overlayed storage * blanked impl for state machine error * abstract call execution * squash warnings temporarily * fix contracts crate * address grumbles * remove redundant state-machine dependency
-
- Nov 12, 2017
-
-
* Executor. * Rust contracts implementation. * Add documentation and fix transfer data. * Fix auth contract interface. * Add some executor tests. * Validator set contract.
-
* Initial validator trait. * Add missing docs warning. * Fix formatting. * Fix validator output and serialization. * Get rid of redundant ValidationCode type.
-
- Nov 10, 2017
-
-
Tomasz Drwięga authored
-
* Uint & Hash types. * Fix author * Rename crate to primitives.
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-