- Feb 08, 2019
-
-
thiolliere authored
* decouple balances from some module by creating a new traits in support/traits * improve decl_event
-
Tomasz Drwięga authored
* Add transaction skipping. * Update runtime.
-
- Feb 07, 2019
-
-
Jordan Beauchamp authored
* Expose block random seed and timestamp to contract ABI * Add tests * Bump spec version
-
- Jan 30, 2019
-
-
Benjamin Kampmann authored
Went through the TODOs, removed a bunch, which are outdated or nothing more than a regular comment, documented a bunch more as actual tickets and made them FIXMEs and unified their structure (`FIXME #TICKETNO DESC` for local tickets, `FIXME: DESC LINK` for external tickets) for easier in-editor support. Further more remove unnecessary remarks and related old code that I noticed in that instance.
-
- Jan 28, 2019
-
-
thiolliere authored
* update codec * use new codec * update grandpa code * build .lock and binaries
-
- Jan 25, 2019
-
-
Gav Wood authored
* Additional externs for ecdsa recovery and keccak * Update core/executor/src/wasm_executor.rs Co-Authored-By: gavofyork <[email protected]> * Update core/executor/src/wasm_executor.rs Co-Authored-By: gavofyork <[email protected]> * Fix grumble * Grumble.
-
- Jan 24, 2019
-
-
Sergei Pepyakin authored
* Fix imports. * Remove redundant binding * Clean extern crates. * Add comment * Re-export macros from prelude * Build fixes * Update core/sr-std/src/lib.rs Co-Authored-By: pepyakin <[email protected]>
-
- Jan 23, 2019
-
-
thiolliere authored
-
- Jan 22, 2019
-
-
thiolliere authored
* impl #[codec(compact)] for param * update modules * test all and build runtime * Update srml/support/src/dispatch.rs Co-Authored-By: thiolliere <[email protected]> * Update srml/support/src/dispatch.rs Co-Authored-By: thiolliere <[email protected]> * delete wip comment * update param to use #[compact] instead of Cmpact<> * fmt * impl metadata * test metadata * add compact attr test * script buid * update test
-
Sergei Pepyakin authored
* WIP * Use system::Origin::Signed as an origin * Add a vm test for ext_dispatch_call * Take fee for dispatching a Call # Conflicts: # node/runtime/wasm/target/wasm32-unknown-unknown/release/node_runtime.compact.wasm * Clean & Rebuild # Conflicts: # node/runtime/wasm/target/wasm32-unknown-unknown/release/node_runtime.compact.wasm * Dispatch call test. * Rebuild the runtime. * Fix the length of the buffer. * Rebuild binaries.
-
- Jan 21, 2019
-
-
Sergei Pepyakin authored
* Disallow importing `gas` function * Update srml/contract/src/wasm/prepare.rs Co-Authored-By: pepyakin <[email protected]>
-
Sergei Pepyakin authored
-
- Jan 19, 2019
-
-
Sergei Pepyakin authored
* Add gas_left, gas_price and balance externalities * Add a value_transferred externality
-
- Jan 17, 2019
-
-
Sergei Pepyakin authored
* Move prepare under code. * Schedule update * CodeHash * create takes code_hash * pass mem def and use code in vm::execute * Actually save and load code * Use T::Hash as CodeHash * Explicit entrypoint name * Return code_hash and deposit an Event * Charge for deployed code with gas. * ImportSatisfyCheck and FunctionImplProvider * Progress. * Use new infrastructure for checking imports * Rename entrypoint to entrypoint_name * Use strings instead of a Error enum * Clean * WIP * Fix macro_define_env test. * Fix vm code tests. * Remove tests for now. * Fix borked merge * Fix build for wasm * fmt * Scaffolding for abstracting vm. * Hook up execution to exec layer. * Fix vm tests. * Use schedule directly in WasmLoader * Implement test language. * Add input_data test. * Max depth test * ext_caller * Simplify test. * Add TODO * Some tests and todos. * top_level * Clean. * Restore a couple of integration tests. * Add a few comments. * Add ext_address runtime call. * Deduplicate caller/self_account * Add not_exists test. * Change bool to TransferCause. * Add address tests. * Remove output_buf from parameter. * return from start fn. * Smart gas meter * Tracing * Fix prepare tests. * Code moving * Add ExecFeeToken * Use tokens everywhere. * Make it compile in no_std. * Lift all test requirements to TestAuxiliaries * A minor clean * First create tests * Remove unneeded TODO * Docs. * Code shuffling * Rename create → instantiate * Add test address. * Code shuffling * Add base_fee tests. * rejig the code * Add some comments * on_finalise comment * Move event deposit further * Update Cargo.lock * Use crates.io version of pwasm-utils * Format todo comments * Fix formatting * Comments * EmptyOutputBuf and OutputBuf split. * Restore code_hash * Fix node-executor. * Fix typo * Fix fmt * Update srml/contract/src/account_db.rs Co-Authored-By: pepyakin <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: pepyakin <[email protected]> * Line wraps * Wrapping macros * Add _ prefix * Grumbles * Doc updates. * Update srml/contract/src/wasm/mod.rs Co-Authored-By: pepyakin <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: pepyakin <[email protected]> * Add comment * Use saturation to signal overflow * Add prepare_test! macro * Require deploy function. * Add entry point tests * Add comment. * Rename code → code_cache to better describe * Get rid of weird match! * Recompile binaries * Add comments * refuse_instantiate_with_value_below_existential_deposit * Little fix * Make test more complete * Clean * Add integration test for instantiation * Rebuild runtime. * Add some tests. * Attach an issue to a TODO * Attach another issue * Apply suggestions from code review Co-Authored-By: pepyakin <[email protected]> * Update srml/contract/src/exec.rs Co-Authored-By: pepyakin <[email protected]> * Update srml/contract/src/exec.rs Co-Authored-By: pepyakin <[email protected]> * Recompile node_runtime
-
thiolliere authored
* impl Compact<> and HasCompact for Permill Perbill * update parity-codec to 2.2 * add Cargo.lock * add lock and build for runtime * rebuild Cargo.lock after rebase
-
- Jan 16, 2019
-
-
Gav Wood authored
* Indices module * Remove indices stuff from balances * Rejob node, move Lookup into system. * Fix up some modules. * Fix democracy tests * Fix staking tests * Fix more tests * Final test fixes * Bump runtime versions * Assets uses compact dispatchers * Contracts module uses indexed addressing * Democracy has more compact encoding * Example now demonstrates compact eencoding * Sudo uses indexed address * Upgrade key also uses indexed lookups * Assets more compact types. * Fix test * Rebuild runtime, whitespace * Remove TOODs * Remove TODOs * Add a couple of tests back to balances. * Update lib.rs * Update lib.rs
-
- Jan 14, 2019
-
-
Sergei Pepyakin authored
-
- Jan 11, 2019
-
-
Xiliang Chen authored
* Move double map to support and generalize it * add docs back * reduces the number of required allocations
-
- Dec 22, 2018
-
-
Bastian Köcher authored
* Make `deposit_event` work with none generic events `fn deposit_event() = default` will now be used for none generic events `fn deposit_event<T>() = default` is now for generic events. * Update wasm files * Fixes some spelling mistakes * Update wasm and fix new module
-
- Dec 16, 2018
-
-
Sergei Pepyakin authored
-
- Dec 13, 2018
-
-
Sergei Pepyakin authored
* s/account ID/address * Add a note about CODE_CALLER * Comment tests.
-
- Dec 12, 2018
-
-
Sergei Pepyakin authored
* Implement ext_caller. * Rebuild wasm. * Update COMPLEIXTY.md
-
- Dec 09, 2018
-
-
cheme authored
* `decl_storage` parsing of the macro (TODO change tool crate structure) * Start formatting, for now use inner macro. Still missing optional formating last part (genesis ...). * Calling extra genesis macro * decl_storage lines parsing. * genesis macro as quote (need some cleaning reorg) * dirty $crate substitute * proc crate reorg. * PR impl : skip usage of phantom data, it only applies in test and council (others required it). * Remaining macro of decl_storage, warning stringify behave sometime oddly. * Formatting code and some cleaning. * Include line parsing to main struct (cannot use existing macro anymore). * Remove genesis phantom data when there is already a field with type parameter. * Revert wasm files * Remove old version of `decl_storage`. * Fix false positive for phantom trait (additional type check on config build). * slight changes: - return token errors instead of panic - do not use useless intermediate vec * Update srml/support/procedural/tools/derive/src/lib.rs remove indent Co-Authored-By: cheme <[email protected]> * Switch iterations to fold, remove unused import.
-
- Nov 18, 2018
-
-
Bastian Köcher authored
* Revert "Pruning changes trie without digests (#952)" This reverts commit 6f9a505f. * pruning changes tries without digests * u64::max_value() * Update wasm files and fix merge conflict * Fixes tests
-
- Nov 17, 2018
-
-
Svyatoslav Nikolsky authored
* pruning changes tries without digests * u64::max_value()
-
- Nov 16, 2018
-
-
Bastian Köcher authored
This makes it possible to support `GenesisConfig`s that to do not use generic parameter.
-
- Nov 14, 2018
-
-
Sergey Pepyakin authored
-
- Nov 12, 2018
-
-
Luke Schoen authored
docs: Extends #999. Remove disused package readmes. Rename to sr-metadata. Fix Readme Rustdoc names (#1016) * docs: Remove safe-mix since is no longer local dependency * docs: Fix existing packages link. Still only includes Substrate Core * docs: Remove empty package Readmes. Remove old docs links. Rename to Readme * docs: Remove link to old docs * misc: Merge latest from master. Renaem to sr-metadata. Fix list of RustDoc package names * Rename substrate-metadata to sr-metadata, since it is in the "srml" subdirectory * Change example to use package name that opens all packages in RustDocs * Fix list of packages names that are available to open in RustDocs * fix typo * fix ordering of CLI options and add missing backslash
-
Sergey Pepyakin authored
* Rename Config → Schedule. * Fetch and pass config. * Integrate config everywhere. * <<<E as Ext>::T as Trait> → <<E::T as Trait> * Update roots * Cache existential_deposit * Update COMPLEXITY.md * Update roots.
-
Gav Wood authored
* Remove superfluous serde requirements. * Try to ensure hash is serde * Fixups * Building again * Attempt to reenable Block (doesn't build) * Fixes compilation for node cli * Fixes test compilation * Fix wasm * Fix tests * Remove unneeded changes * Fix up comments * Reenable some code * Compile error when origin misused. * Remove unnecessary includes of `serde_derive` * Cleanups
-
- Nov 05, 2018
-
-
Sergey Pepyakin authored
* Sandbox mem IO according to COMPLEXITY.md * Fix tests. * Update root hash for deploying contract test.
-
- Nov 01, 2018
-
-
Sergey Pepyakin authored
-
Wei Tang authored
* Support multi trie in genesis generation * Fix merge issues
-
- Oct 27, 2018
-
-
Benjamin Kampmann authored
* Generalize BlockImport - move ImportBlock, BlockOrigin, ImportResult into shared sr-primitives - let Consensus provide and traits again - update consensus traits to latest development - implement traits on client::Client, test_client::TestClient - update RHD to use the new import_block API * Move ImportBlock into consensus-common * Send import notification in aura tests * Integrating aura into service * Make Signatures more generic * Aura Block Production with the given key * run aura on the thread pool * start at exact step start in aura * Add needed wasm blob, in leiu of better solutions. * Make API ids consistent with traits and bring upstream for sharing. * Add decrease_free_balance to Balances module * Encode `Metadata` once instead of two times * Bitops include xor * Upgrade key module. * Default pages to somewhat bigger. * Introduce upgrade key into node * Add `Created` event
-
- Oct 26, 2018
-
-
Bastian Köcher authored
* General `decl_module` improvements * Make `deposit_event` implementable by `decl_module!` * Make `decl_module!` implement calls directly * Regenerate the wasm file after master rebase
-
- Oct 23, 2018
-
-
Bastian Köcher authored
-
- Oct 17, 2018
-
-
Sergey Pepyakin authored
* Initial sketch. * More work. * Grammar. * Fix. * Fix grammar.
-
- Oct 16, 2018
-
-
Gav Wood authored
* Try to make everything compact * Make `Clone` work * Fix * Move contracts and balances over to compact encoding * Session and timestamp are compact * Sataking uses compact numbers * Treasury now compact * Compact Democracy * Council is compact * Fix
-
- Oct 13, 2018
-
-
guanqun authored
* fix ignored test * move CI to --release per Gav
-
- Oct 10, 2018
-
-
Bastian Köcher authored
* Adds a script for automatically update all copyrights * Ran the `update-copyright` script
-