Skip to content
  1. Mar 03, 2021
  2. Mar 01, 2021
    • Bastian Köcher's avatar
      Init `RuntimeLogger` automatically for each runtime api call (#8128) · 68390d40
      Bastian Köcher authored
      
      
      * Init `RuntimeLogger` automatically for each runtime api call
      
      This pr change the runtime api in such a way to always and automatically
      enable the `RuntimeLogger`. This enables the user to use `log` or
      `tracing` from inside the runtime to create log messages. As logging
      introduces some extra code and especially increases the size of the wasm
      blob. It is advised to disable all logging completely with
      `sp-api/disable-logging` when doing the wasm builds for the on-chain
      wasm runtime.
      
      Besides these changes, the pr also brings most of the logging found in
      frame to the same format "runtime::*".
      
      * Update frame/im-online/src/lib.rs
      
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      
      * Update test-utils/runtime/Cargo.toml
      
      * Fix test
      
      * Don't use tracing in the runtime, as we don't support it :D
      
      * Fixes
      
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      68390d40
  3. Feb 27, 2021
    • Gavin Wood's avatar
      Gilts Pallet (#8139) · ed365da8
      Gavin Wood authored
      
      
      * Initial draft
      
      * Enlarge function drafted.
      
      * Thaw draft
      
      * Retract_bid draft
      
      * Final bits of draft impl.
      
      * Test mockup
      
      * Tests
      
      * Docs
      
      * Add benchmark scaffold
      
      * Integrate weights
      
      * All benchmarks done
      
      * Missing file
      
      * Remove stale comments
      
      * Fixes
      
      * Fixes
      
      * Allow for priority queuing.
      
      * Another test and a fix
      
      * Fixes
      
      * Fixes
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_gilt --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/gilt/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * Grumble
      
      * Update frame/gilt/src/tests.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      
      * Update frame/gilt/src/tests.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      
      * Grumble
      
      * Update frame/gilt/src/tests.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      
      * Update frame/gilt/src/lib.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      
      * Update frame/gilt/src/lib.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      
      * Fix unreserve ordering
      
      * Grumble
      
      * Fixes
      
      Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      ed365da8
  4. Feb 26, 2021
  5. Feb 25, 2021
  6. Feb 24, 2021
  7. Feb 23, 2021
  8. Feb 22, 2021
  9. Feb 19, 2021
  10. Feb 16, 2021
  11. Feb 15, 2021
  12. Feb 10, 2021
  13. Feb 09, 2021
  14. Feb 06, 2021
  15. Feb 04, 2021
  16. Feb 03, 2021
  17. Feb 02, 2021
  18. Feb 01, 2021
  19. Jan 29, 2021
  20. Jan 28, 2021
  21. Jan 26, 2021
  22. Jan 22, 2021
    • cheme's avatar
      Allow transaction for offchain indexing (#7290) · 878f7ccf
      cheme authored
      
      
      * Moving offchain change set to state machine overlay change set,
      preparing use of change set internally.
      
      * Make change set generic over key and value, and use it for offchain
      indexing.
      
      * test ui change
      
      * remaining delta
      
      * generating with standard method
      
      * Remove 'drain_committed' function, and documentation.
      
      * Default constructor for enabling offchain indexing.
      
      * Remove offchain change specific iterators.
      
      * remove pub accessor
      
      * keep previous hierarchy, just expose iterator instead.
      
      * Update primitives/state-machine/src/overlayed_changes/mod.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * fix line break
      
      * missing renamings
      
      * fix import
      
      * fix new state-machine tests.
      
      * Don't expose InnerValue type.
      
      * Add test similar to set_storage.
      
      * Remove conditional offchain storage (hard to instantiate correctly).
      
      * fix
      
      * offchain as children cannot fail if top doesn't
      
      Co-authored-by: default avatarAddie Wagenknecht <[email protected]>
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      878f7ccf