Expose the hash field from contract wasm (#3267)
This commit is contained in:
@@ -126,7 +126,10 @@ export default {
|
||||
license: 'Option<Text>'
|
||||
},
|
||||
ContractProjectSource: {
|
||||
hash: '[u8; 32]',
|
||||
_alias: {
|
||||
wasmHash: 'hash'
|
||||
},
|
||||
wasmHash: '[u8; 32]',
|
||||
language: 'Text',
|
||||
compiler: 'Text',
|
||||
wasm: 'Raw'
|
||||
|
||||
@@ -136,7 +136,7 @@ export interface ContractProjectContract extends Struct {
|
||||
|
||||
/** @name ContractProjectSource */
|
||||
export interface ContractProjectSource extends Struct {
|
||||
readonly hash: U8aFixed;
|
||||
readonly wasmHash: U8aFixed;
|
||||
readonly language: Text;
|
||||
readonly compiler: Text;
|
||||
readonly wasm: Raw;
|
||||
|
||||
Reference in New Issue
Block a user