* The storage runtime interface should not enforce a hash type
Currently the runtime interface enforces `H256` as hash type, but in the
future people could use whatever they want as hash type. The hash type
always needs to match between the runtime and the node, but that is
already required.
* Update primitives/externalities/src/lib.rs
Co-Authored-By: thiolliere <gui.thiolliere@gmail.com>
* Move transaction pool to primitives
* move backend, errors into primitives
* remove unused client depencies
* Move rpc-api into primitives
* Move peerset back to client
* Move rpc/api back to client, move palette/support/rpc into utils
* move support-rpc into subfolder
* move system-rpc into utils
* move transaction-pool and -graph back into client
* fix broken imports
* Clean up test primitives
* Make support test utils independent of frame
* remove unnecessary node dependencies from service
* Reactivate dependency script:
- only enforce the now achieved status quo will remain
- allow for primitives to depend on /client for now without failing
- more discriptive error message so people understand, what it wants
- minor fix to differentiative between ../client and /client (which may be a subfolder)
- don't allow this to fail anylonger.
* fix doc comment
* 'Should not' rather than 'must not'.
* Revert unwanted dependency changes
* fix faulty import
* fixup derive_more version
* fix wrong import path
* Adding first rough ouline of the repository structure
* Remove old CI stuff
* add title
* formatting fixes
* move node-exits job's script to scripts dir
* Move docs into subdir
* move to bin
* move maintainence scripts, configs and helpers into its own dir
* add .local to ignore
* move core->client
* start up 'test' area
* move test client
* move test runtime
* make test move compile
* Add dependencies rule enforcement.
* Fix indexing.
* Update docs to reflect latest changes
* Moving /srml->/paint
* update docs
* move client/sr-* -> primitives/
* clean old readme
* remove old broken code in rhd
* update lock
* Step 1.
* starting to untangle client
* Fix after merge.
* start splitting out client interfaces
* move children and blockchain interfaces
* Move trie and state-machine to primitives.
* Fix WASM builds.
* fixing broken imports
* more interface moves
* move backend and light to interfaces
* move CallExecutor
* move cli off client
* moving around more interfaces
* re-add consensus crates into the mix
* fix subkey path
* relieve client from executor
* starting to pull out client from grandpa
* move is_decendent_of out of client
* grandpa still depends on client directly
* lemme tests pass
* rename srml->paint
* Make it compile.
* rename interfaces->client-api
* Move keyring to primitives.
* fixup libp2p dep
* fix broken use
* allow dependency enforcement to fail
* move fork-tree
* Moving wasm-builder
* make env
* move build-script-utils
* fixup broken crate depdencies and names
* fix imports for authority discovery
* fix typo
* update cargo.lock
* fixing imports
* Fix paths and add missing crates
* re-add missing crates
* 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.
* 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.