Skip to content
  1. May 27, 2021
  2. May 26, 2021
  3. May 25, 2021
    • Alexander Theißen's avatar
      contracts: Fix some minor bugs around instantiation (#8879) · c92d4a26
      Alexander Theißen authored
      
      
      * Fix output of wrongly outputted error
      
      The "Tombstoned a contract that is below the subsistence threshold: {:?}" was
      triggered when too few balance was provided. It was a false alarm.
      
      * Fix return of wrong code_len
      
      * Split up `NotCallable` into more fine grained errors
      
      * Fix typos in docs
      
      Co-authored-by: default avatarKeith Yeung <[email protected]>
      
      * RentNotPayed -> RentNotPaid
      
      * Fix typo: payed -> paid
      
      It is OK to change the in-storage field name because:
      
      1. The SCALE encoding is not based on names only on position.
      2. The struct is not public (only to the crate).
      
      Co-authored-by: default avatarKeith Yeung <[email protected]>
      c92d4a26
    • Denis_P's avatar
      Fix build job (#8905) · a28a517c
      Denis_P authored
      * CI: fix node-template packaging
      
      * add explicit deps versions
      a28a517c
    • Denis_P's avatar
      Fix stderr in new Rust nightly (#8904) · 2928e428
      Denis_P authored
      * CI: revert me
      
      * fix stderr
      
      * CI: revert me
      
      * typo
      
      * more stderr fixes
      
      * Revert "CI: revert me"
      
      This reverts commit 5f47effc4965fa5c0c2a6ed92e434a6adb6b1dce.
      
      * Revert "CI: revert me"
      
      This reverts commit 7f785660c797b703dd36272cbe313056dd7a1858.
      2928e428
    • Frederik Schulz's avatar
      Removes unnecessary blank impl for Backend (#8897) · ad76ac79
      Frederik Schulz authored
      * Removes unnecessary blank impl for Backend
      
      This commit removes a from my perspective unneccessary implementation
      for &T which implement Backend.
      
      The current implementation exists (again from my perspective) solely
      to satisfy a methods &mut self parameters (i.e. allows to satisfy
      this for an & reference via using &mut &Backend).
      
      As all implementors use a RefCell with borrow_mut() where actually
      calling the mentioned &mut self method and then forwad to the
      {} implementation of either TrieBackend or ProvingBackend, the
      current &mut self seems to be not needed.
      
      * Fixed tests client
      ad76ac79
    • Kian Paimani's avatar
      make remote-ext work with ws and safe RPCs (#8889) · ec409615
      Kian Paimani authored
      
      
      * make remote-ext work with ws and safe RPCs
      
      * Update docs.
      
      * Update utils/frame/remote-externalities/Cargo.toml
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      
      * Fix test
      
      * Update lock file
      
      * Update utils/frame/remote-externalities/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Fix build again.
      
      * revert lifetime stuff
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      ec409615
    • Bastian Köcher's avatar
      Introduce `code_substitute` (#8898) · 53e28b98
      Bastian Köcher authored
      This introduces a new field `code_substitute` into the chain spec. This
      can be used to substitute the on-chain wasm starting from a given block
      until there is another wasm on chain (determined through the
      `spec_version`). This can be used to fix broken on chain wasm runtimes.
      53e28b98
    • Pierre Krieger's avatar
      Make sure nodes don't hammer each other even when reserved (#8901) · a7a326ee
      Pierre Krieger authored
      * Make sure nodes don't hammer each other even when reserved
      
      * Make the ban random
      a7a326ee
  4. May 24, 2021
  5. May 23, 2021
  6. May 22, 2021
  7. May 21, 2021
  8. May 20, 2021
  9. May 19, 2021
  10. May 18, 2021