- 
                Notifications
    You must be signed in to change notification settings 
- Fork 478
          Implement seal_code_hash and seal_own_code_hash
          #1205
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
891f434    to
    6a85959      
    Compare
  
    | 🦑 📈 ink! Example Contracts ‒ Changes Report 📉 🦑These are the results when building the  
 Link to the run | Last update: Fri Apr 8 19:08:26 CEST 2022 | 
| Codecov Report
 
 @@             Coverage Diff             @@
##           master    #1205       +/-   ##
===========================================
+ Coverage   61.69%   78.98%   +17.28%     
===========================================
  Files         228      229        +1     
  Lines        8637     8667       +30     
===========================================
+ Hits         5329     6846     +1517     
+ Misses       3308     1821     -1487     
 Continue to review full report at Codecov. 
 | 
        
          
                crates/env/src/api.rs
              
                Outdated
          
        
      | }) | ||
| } | ||
|  | ||
| /// Retrieves the code hash of a contract living at specified account | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add a section /// # Errors here?
| <EnvInstance as OnInstance>::on_instance(|instance| instance.code_hash::<E>(account)) | ||
| } | ||
|  | ||
| /// Retrieves the code hash of the currently executing contract. | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add a section /// # Errors here?
Co-authored-by: Michael Müller <[email protected]>
Co-authored-by: Michael Müller <[email protected]>
Co-authored-by: Michael Müller <[email protected]>
This reverts commit 5591d95.
Follow-up for substrate#10933.
Resolves #1204.