Skip to content
  1. Dec 21, 2021
  2. Dec 20, 2021
  3. Dec 19, 2021
  4. Dec 18, 2021
  5. Dec 17, 2021
  6. Dec 16, 2021
  7. Dec 15, 2021
  8. Dec 14, 2021
    • Bastian Köcher's avatar
      rpc-author: Downgrade the logging level of some logs (#10483) · 1d3b5136
      Bastian Köcher authored
      * rpc-author: Downgrade the logging level of some logs
      
      Currently these messages are printed with `warn` levels, but they don't bring the node operator
      anything. The problem with these log lines is that they are triggered by external users when they
      send invalid transactions. This pr "resolves" this by downgrading the log severity to debug, aka not
      shown by default.
      
      * FMT
      1d3b5136
    • Bastian Köcher's avatar
      Remove cargo unleash CI job (#10482) · bc0ecf8d
      Bastian Köcher authored
      * Remove cargo unleash CI job
      
      The CI job is currently breaking, because we released some crates. We also don't need the job
      currently because releases are not done. So, the job currently just annoys people and eats CPU time.
      This brings us to the conclusion that this job is currently not required and can be readded at a
      later point when we are sure that we need it.
      
      * Hopefully fix UI test
      
      * Another try
      
      * Remove `reserved_keyword` ui
      bc0ecf8d
    • Bastian Köcher's avatar
      Prepare code for rust 1.57 (#10471) · 187663e1
      Bastian Köcher authored
      * Prepare code for rust 1.57
      
      * CI: revert me; staging image with stable 1.57
      
      * Revert "CI: revert me; staging image with stable 1.57 [skip CI]"
      
      This reverts commit f3c3b8a9e877ef7126ffce6ebc4822bb4ace0379.
      
      Co-authored-by: CI system <>
      187663e1
    • Koute's avatar
      Statically register host WASM functions (#10394) · 7711f526
      Koute authored
      * Statically register host WASM functions
      
      * Fix `substrate-test-client` compilation
      
      * Move `ExtendedHostFunctions` to `sp-wasm-interface`
      
      * Fix `sp-runtime-interface` tests' compilation
      
      * Fix `sc-executor-wasmtime` tests' compilation
      
      * Use `runtime_interface` macro in `test-runner`
      
      * Fix `sc-executor` tests' compilation
      
      * Reformatting/`rustfmt`
      
      * Add an extra comment regarding the `H` generic arg in `create_runtime`
      
      * Even more `rustfmt`
      
      * Depend on `wasmtime` without default features in `sp-wasm-interface`
      
      * Bump version of `sp-wasm-interface` to 4.0.1
      
      * Bump `sp-wasm-interface` in `Cargo.lock` too
      
      * Bump all of the `sp-wasm-interface` requirements to 4.0.1
      
      Maybe this will appease cargo-unleash?
      
      * Revert "Bump all of the `sp-wasm-interface` requirements to 4.0.1"
      
      This reverts commit 0f7ccf8e0f371542861121b145ab87af6541ac30.
      
      * Make `cargo-unleash` happy (maybe)
      
      * Use `cargo-unleash` to bump the crates' versions
      
      * Align to review comments
      7711f526
  9. Dec 13, 2021
  10. Dec 11, 2021
    • Gavin Wood's avatar
      Make Preimage WeightInfo public (#10474) · ca0b816f
      Gavin Wood authored
      ca0b816f
    • Denis Tsai's avatar
      expose ecdsa_sign_prehashed in sp-io (#10119) · 7728dd7d
      Denis Tsai authored
      * expose ecdsa_sign_prehashed in sp-io
      
      * add ecdsa_verify_prehashed to host functions for completeness
      
      * cargo fmt
      7728dd7d
    • Gavin Wood's avatar
      Preimage registrar and Scheduler integration (#10356) · 5e50e0bc
      Gavin Wood authored
      
      
      * initial idea
      
      * more
      
      * fix compile
      
      * add clear and request logic
      
      * improve some docs
      
      * Add and implement trait
      
      * continuing to improve
      
      * refcount type
      
      * infallible system preimage upload
      
      * fmt
      
      * fix requests
      
      * Make it simple
      
      * Make it simple
      
      * Formatting
      
      * Initial draft
      
      * request when scheduled
      
      * Docs
      
      * Scheduler good
      
      * Scheduler good
      
      * Scheduler tests working
      
      * Add new files
      
      * Missing stuff
      
      * Repotting, add weights.
      
      * Add some tests to preimage pallet
      
      * More tests
      
      * Fix benchmarks
      
      * preimage benchmarks
      
      * All preimage benchmarks
      
      * Tidy cargo
      
      * Update weights.rs
      
      * Allow hash provision in benchmarks
      
      * Initial work on new benchmarks for Scheduler
      
      * Tests working, refactor looks good
      
      * Tests for new Scheduler functionality
      
      * Use real weight, make tests work with runtimes without Preimage
      
      * Rename
      
      * Update benchmarks
      
      * Formatting
      
      * Formatting
      
      * Fix weird formatting
      
      * Update frame/preimage/src/lib.rs
      
      * Fix try-runtime build
      
      * Fixes
      
      * Fixes
      
      * Update frame/support/src/traits/tokens/currency.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Update frame/support/src/traits/tokens/currency/reservable.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Update frame/support/src/traits/tokens/imbalance.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Update frame/preimage/src/mock.rs
      
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      
      * Update frame/scheduler/src/lib.rs
      
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      
      * Update frame/preimage/src/lib.rs
      
      * Fixes
      
      * Fixes
      
      * Formatting
      
      * Fixes
      
      * Fixes
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_scheduler --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/scheduler/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_preimage --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/preimage/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      Co-authored-by: default avatarParity Bot <[email protected]>
      5e50e0bc