Skip to content
  1. Jan 22, 2019
  2. Jan 21, 2019
    • asynchronous rob's avatar
    • Pierre Krieger's avatar
      Add some networking tests (#1480) · 3c7d6c7b
      Pierre Krieger authored
      3c7d6c7b
    • Tomasz Drwięga's avatar
      e48291ac
    • cheme's avatar
      Temporary fix for serde issue (#1511) · 8ec759d3
      cheme authored
      * Generate serde bound instead of relying on serde_derive.
      
      * remove comment
      8ec759d3
    • André Silva's avatar
      core: revert grandpa authorities unless imported blocked is queued (#1508) · 7ccd294d
      André Silva authored and asynchronous rob's avatar asynchronous rob committed
      * core: revert grandpa authorities unless imported blocked is queued
      
      * core: fix deadlock in `GrandpaBlockImport`
      7ccd294d
    • Sergei Pepyakin's avatar
      Remove `gas` function from the public API (#1503) · 603392a9
      Sergei Pepyakin authored
      
      
      * Disallow importing `gas` function
      
      * Update srml/contract/src/wasm/prepare.rs
      
      Co-Authored-By: default avatarpepyakin <[email protected]>
      603392a9
    • Michael Müller's avatar
      Fix wasm allocator (#1506) · c2f7993d
      Michael Müller authored
      * Better allocator for wasm (#1460)
      
      * Add Arch Linux installation instructions
      
      * Enable tracing heap size
      
      * Extract heap
      
      * Replace linear allocator with buddy allocator
      
      * Fix test
      
      The purose of this big block is for the tests
      to test a failure when the block is too big
      though. The improved buddy allocation strategy
      results in this block fitting on the heap now.
      Hence the increase.
      
      * Get rid of memcpy in to_vec()
      
      * fixup: Style and comments
      
      * fixup: Split Linux instructions by distribution
      
      To prevent misunderstandings of people executing both.
      
      * fixup: Remove unnecessary types and code
      
      * fixup: Make Pointers start from 1, remove some panics, code improvements
      
      * fixup: Return 0 on errors
      
      * fixup: Move loop to separate function
      
      * fixup: Use FnvHashMap instead of HashMap
      
      * fixup: Fix error handling
      
      * fixup: Use current_size() instead of used_size()
      
      * fixup: Fix and document allocation offset
      
      * fixup: Remove unnecessary multiplication
      
      * fixup: Fix comments
      
      * fixup: Remove Arch installation instructions
      
      * Revert "Fix test"
      
      This reverts commit 292c177df8efaa4658293748a13b1ab1c0b76ea8.
      
      * fixup: Remove unused code, improve import
      
      * fixup: Proper alignment
      
      * fixup: Do not use internal constant in public description
      
      * fixup: Add comment regarding invariants
      
      * fixup: Move assertion to compile-time check
      
      * Fix bug in necessary tree level calculation
      
      The tree levels necessary to house a number
      of nodes was calculated incorrectly.
      
      * Improve naming
      c2f7993d
    • Pierre Krieger's avatar
      Store identification info about the remote (#1500) · f67c2cc1
      Pierre Krieger authored
      * Store identification info about the remote
      
      * Add node name on the wire
      
      * Fix tests
      f67c2cc1
    • Bastian Köcher's avatar
      Make runtime api calls native when possible (#1302) · 010e6311
      Bastian Köcher authored
      * Add simple benchmark for the runtime api
      
      * Make the executor support native calls
      
      * Some documentation
      
      * Hide behind `feature = "std"`
      
      * Rework the native calls
      
      * Make all tests compile again
      
      * Make every parameter using the Block serialized/deserialized in the native call
      
      * Forward `UnwindSafe` requirement
      
      * Remove debug stuff
      
      * Add some documentation
      
      * Fixes warnings
      
      * Fixes errors after master rebase
      
      * Fixes compilation after master rebase
      
      * Fixes compilation after rebase
      010e6311
    • Sergei Pepyakin's avatar
    • Marcio Diaz's avatar
      Fix revert for non finalized blocks (#1479) · b57486c7
      Marcio Diaz authored
      * fix: temporal modification to make revert works for non finalized blocks
      
      * fix: print info when the number of blocks asked to revert is higher than the number of reversible blocks
      
      * fix: remove function get_db_path_for_subcommand and remove it from all subcommands
      
      * fix: revert only non finalized blocks
      
      * fix: improve printed information for revert command
      
      * fix: new wasm file
      
      * chore: remove unused parameter
      
      * fix: revert log logic
      
      * fix: subcommands should take sub_matches instead of matches
      
      * fix: removing confusing message
      b57486c7
    • Bastian Köcher's avatar
      Revert new wasm allocator (#1502) · aad569a1
      Bastian Köcher authored
      * Revert "Better allocator for wasm (#1460)"
      
      This reverts commit 1ccb590d.
      
      * Update wasm files
      aad569a1
    • kyegupov's avatar
    • André Silva's avatar
      Sync block justifications (#1410) · 399cee31
      André Silva authored
      * core: sync protocol for justifications
      
      * core: basic test for justification sync
      
      * core: pass block number with justification
      
      * grandpa: request justifications when importing change blocks
      
      * core: pass finality notifications to chain sync
      
      * core: require justifications for pending change blocks on start
      
      * core: avoid requesting justifications from previous failed peers
      
      * core: timeout block justification requests
      
      * core: add some docs
      
      * core: fix unused variables warning
      
      * core: tick pending justifications fetch periodically
      
      * grandpa: add test for syncing justifications
      
      * core: early exit dispatch of pending justifications
      
      * core: style fix
      
      * core: grandpa: change logging level
      
      * core: sync: add missing docs
      
      * core: network: report peer on bad justification
      
      * core: replace mem::replace with Option::take
      
      * core: revert authority set changes on failed block finalization
      
      * core: grandpa: add docs to import_justification
      
      * core: warn on re-finalization of last finalized block
      
      * core: only notify sync with last finality notification
      
      * core: style fix
      
      * core: add docs for PendingJustifications
      
      * core: network: use BlockRequest messages for justification requests
      
      * core: reference issues in todo comments
      
      * core: grandpa: revert authority set changes on db
      
      * core: grandpa: remove inconsistent state warning
      399cee31
  3. Jan 20, 2019
  4. Jan 19, 2019
  5. Jan 18, 2019
    • Michael Müller's avatar
      Better allocator for wasm (#1460) · 1ccb590d
      Michael Müller authored
      * Add Arch Linux installation instructions
      
      * Enable tracing heap size
      
      * Extract heap
      
      * Replace linear allocator with buddy allocator
      
      * Fix test
      
      The purose of this big block is for the tests
      to test a failure when the block is too big
      though. The improved buddy allocation strategy
      results in this block fitting on the heap now.
      Hence the increase.
      
      * Get rid of memcpy in to_vec()
      
      * fixup: Style and comments
      
      * fixup: Split Linux instructions by distribution
      
      To prevent misunderstandings of people executing both.
      
      * fixup: Remove unnecessary types and code
      
      * fixup: Make Pointers start from 1, remove some panics, code improvements
      
      * fixup: Return 0 on errors
      
      * fixup: Move loop to separate function
      
      * fixup: Use FnvHashMap instead of HashMap
      
      * fixup: Fix error handling
      
      * fixup: Use current_size() instead of used_size()
      
      * fixup: Fix and document allocation offset
      
      * fixup: Remove unnecessary multiplication
      
      * fixup: Fix comments
      
      * fixup: Remove Arch installation instructions
      
      * Revert "Fix test"
      
      This reverts commit 292c177df8efaa4658293748a13b1ab1c0b76ea8.
      
      * fixup: Remove unused code, improve import
      
      * fixup: Proper alignment
      
      * fixup: Do not use internal constant in public description
      
      * fixup: Add comment regarding invariants
      
      * fixup: Move assertion to compile-time check
      1ccb590d
    • 郭光华's avatar
      b066d25c
  6. Jan 17, 2019
    • Benjamin Kampmann's avatar
      Simplier and cleaner implementation of #1468 (#1471) · d4eb3872
      Benjamin Kampmann authored
      * Simplier and cleaner implementation of #1468
      
      * move AppInfo into base_path
      
      * default to executable_name rather than pretty visible name
      d4eb3872
    • asynchronous rob's avatar
    • Sergei Pepyakin's avatar
      Enable debug assertions while building tests (#1472) · 6e08b64e
      Sergei Pepyakin authored
      * Add debug-assertions=y
      
      * Return space
      6e08b64e
    • Benjamin Kampmann's avatar
    • Sergei Pepyakin's avatar
      Contracts module rejig (#1358) · c88b44f6
      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: default avatarpepyakin <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarpepyakin <[email protected]>
      
      * Line wraps
      
      * Wrapping macros
      
      * Add _ prefix
      
      * Grumbles
      
      * Doc updates.
      
      * Update srml/contract/src/wasm/mod.rs
      
      Co-Authored-By: default avatarpepyakin <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarpepyakin <[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: default avatarpepyakin <[email protected]>
      
      * Update srml/contract/src/exec.rs
      
      Co-Authored-By: default avatarpepyakin <[email protected]>
      
      * Update srml/contract/src/exec.rs
      
      Co-Authored-By: default avatarpepyakin <[email protected]>
      
      * Recompile node_runtime
      c88b44f6
    • thiolliere's avatar
      impl HasCompact for Perbill and Permill (#1411) · beeacf9c
      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
      beeacf9c
    • Svyatoslav Nikolsky's avatar
      Use changes tries in query_storage RPC (#1082) · da1fb3f2
      Svyatoslav Nikolsky authored
      * use changes tries in query_storage RPC
      
      * let + match + return + call -> match
      da1fb3f2
    • Pierre Krieger's avatar
      Remove warning for large buffer (#1357) · eb000fb1
      Pierre Krieger authored
      eb000fb1
    • Svyatoslav Nikolsky's avatar
      d58b23f7
  7. Jan 16, 2019
    • Pierre Krieger's avatar
      Update libp2p-kad and libp2p-secio (#1447) · 9018d752
      Pierre Krieger authored and asynchronous rob's avatar asynchronous rob committed
      * Update libp2p-kad and libp2p-secio
      
      * Fix concern
      9018d752
    • Gav Wood's avatar
      Split Indices module from Balances (#1404) · c9f047fe
      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
      c9f047fe
    • gabriel klawitter's avatar
      [CI] Publish rustdoc (#1446) · 04175ddc
      gabriel klawitter authored
      * build rust docs and publish them on s3
      
      * fix yaml anchors
      
      * debug i
      
      * debug fix
      
      * typo
      
      * add doc build caching
      
      * cache doc artifacts
      
      * test caching
      
      * more caching, aws tuning
      
      * debug i
      
      * debug ii
      
      * rework caching
      
      * send to substrate_service/index.html per default
      04175ddc