Allow salt in contract deploy (#2849)

* Allow salt in contract deploy

* Mark deprecated

* Shorten

* Cleanups

* Additional cleanups

* Cleanups

* Explicit Bytes to decodeEvent

* Adjust method creation

* Allow null salt
This commit is contained in:
Jaco Greeff
2020-11-16 07:35:02 +01:00
committed by GitHub
parent 0fc5e1d387
commit d3b13bceb0
12 changed files with 248 additions and 195 deletions
+1 -1
View File
@@ -7,8 +7,8 @@ import { decorateMethod } from '@polkadot/api/promise';
import contractFlipper from '../../test/contracts/ink/flipper.contract.json';
import abiFlipper from '../../test/contracts/ink/flipper.json';
import { Code } from './Code';
import { mockApi } from './mock';
import { Code } from './Code';
const wasmFlipper = fs.readFileSync(path.join(__dirname, '../../test/contracts/ink/flipper.wasm'));