Bump dev (incl. lint fixes) (#2126)

* Bump dev (incl. lint fixes)

* Fix call encoding (stepped into that one)

* Event struct order

* Update with missing tuple type (getTypeDef type)
This commit is contained in:
Jaco Greeff
2020-04-01 22:44:34 +02:00
committed by GitHub
parent 7d3464ae2c
commit 0dc46445bc
130 changed files with 718 additions and 483 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export const logEvents = (done: () => {}): (r: SubmittableResult) => void =>
console.log('Completed at block hash', status.value.toHex());
console.log('Events:');
events.forEach(({ phase, event: { data, method, section } }: EventRecord): void => {
events.forEach(({ event: { data, method, section }, phase }: EventRecord): void => {
console.log('\t', phase.toString(), `: ${section}.${method}`, data.toString());
});