git.delta.rocks / unique-network / refs/commits / 86f014f3f378

difftreelog

test(zombienet) update to latest polkadot

Fahrrader2023-06-08parent: #0708d7e.patch.diff
in: master

1 file changed

modifiedtests/src/util/frankenstein.tsdiffbeforeafterboth
204 const result = await helper.executeExtrinsic(204 const result = await helper.executeExtrinsic(
205 superuser,205 superuser,
206 'api.tx.sudo.sudoUncheckedWeight',206 'api.tx.sudo.sudoUncheckedWeight',
207 [helper.constructApiCall('api.tx.system.setCode', [`0x${code}`]), 0],207 [helper.constructApiCall('api.tx.system.setCode', [`0x${code}`]), {}],
208 );208 );
209209
210 if (result.status == 'Fail') {210 if(result.status == 'Fail') {
264 let result = await helper.executeExtrinsic(264 let result = await helper.executeExtrinsic(
265 superuser,265 superuser,
266 'api.tx.sudo.sudoUncheckedWeight',266 'api.tx.sudo.sudoUncheckedWeight',
267 [helper.constructApiCall('api.tx.parachainSystem.authorizeUpgrade', [codeHash]), 0],267 [helper.constructApiCall('api.tx.parachainSystem.authorizeUpgrade', [codeHash, false]), {}],
268 );268 );
269269
270 if (result.status == 'Fail') {270 if(result.status == 'Fail') {
276 result = await helper.executeExtrinsic(276 result = await helper.executeExtrinsic(
277 superuser,277 superuser,
278 'api.tx.sudo.sudoUncheckedWeight',278 'api.tx.sudo.sudoUncheckedWeight',
279 [helper.constructApiCall('api.tx.parachainSystem.enactAuthorizedUpgrade', [`0x${code.toString('hex')}`]), 0],279 [helper.constructApiCall('api.tx.parachainSystem.enactAuthorizedUpgrade', [`0x${code.toString('hex')}`]), {}],
280 );280 );
281281
282 if (result.status == 'Fail') {282 if(result.status == 'Fail') {