1. Jan 08, 2018
    • Gav's avatar
      Fix merge issue. · 83693dda
      Gav authored
      83693dda
    • Gav's avatar
      Merge branch 'master' into polkadot-runtime · 5226f76e
      Gav authored
      5226f76e
    • Gav Wood's avatar
      Introduce first groundwork for Wasm executor (#27) · b38b6336
      Gav Wood authored and asynchronous rob's avatar asynchronous rob committed
      * 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.
      b38b6336
    • Gav's avatar
      Initial drafting of runtime module. · 52747839
      Gav authored
      52747839
    • Gav's avatar
      Refactor into shared support module. · ea4d6c5d
      Gav authored
      ea4d6c5d
    • Gav's avatar
      Use new path. · c3afecc0
      Gav authored
      c3afecc0
    • Gav's avatar
      Remove commented code. · 611a7ac4
      Gav authored
      611a7ac4
    • Gav's avatar
      Create separate runtimes for testing and polkadot. · 74156a2d
      Gav authored
      74156a2d
  2. Jan 07, 2018
  3. Jan 06, 2018
  4. Jan 05, 2018
  5. Jan 04, 2018
  6. Jan 03, 2018
    • Gav's avatar
      Move back to refs. Yey. · 5998aa13
      Gav authored
      5998aa13
    • Gav's avatar
      Compile collation logic. · 2934d945
      Gav authored
      2934d945
    • Gav Wood's avatar
      Merge branch 'master' into with-wasm · 7ec92216
      Gav Wood authored
      7ec92216
    • Gav's avatar
      Fix nits. · 319d9c0a
      Gav authored
      319d9c0a
    • Gav's avatar
      Test storage externality. · b1d963a7
      Gav authored
      Unforunately had to change signatures of externalities to avoid
      immutable function returning a reference. Not sure what to do about
      this...
      b1d963a7
    • asynchronous rob's avatar
      Candidate Agreement + Consensus (#29) · 723fb71c
      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
      
      * don't broadcast advance vote immediately if locked
      
      * do not check validity of locked candidate
      
      * basic tests for the strategy
      
      * remove unused context trait and fix warning
      
      * address some review grumbles
      
      * address some more review nits
      
      * fix lock import logic and add a test
      
      * fix spaces
      
      * fix a couple more style grumbles
      
      * more type-safe justifications
      
      * rename Communication enum variants
      
      * improve some panic guard proofs
      
      * add trailing comma
      723fb71c
  7. Jan 01, 2018
  8. Dec 31, 2017
  9. Dec 13, 2017
    • asynchronous rob's avatar
      Minimal collation work-flow and necessary traits (#25) · 5b9c57b1
      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
      5b9c57b1
  10. Dec 11, 2017