Bump metadata (#5348)

* Bump metadata

* fillBlock moved
This commit is contained in:
Jaco
2022-11-20 15:14:59 +02:00
committed by GitHub
parent 3f6127d854
commit ad71405fd8
26 changed files with 1282 additions and 935 deletions
@@ -19,11 +19,15 @@ const tx = decorateExtrinsics(registry, metadata.asLatest, metadata.version);
describe('ExtrinsicV4', (): void => {
it('constructs a sane Uint8Array (default)', (): void => {
expect(
new Extrinsic(registry).toU8a()
).toEqual(new Uint8Array([
const xt = new Extrinsic(registry);
// expect(`${xt.method.section}${xt.method.method}`).toEqual('system.fillBlock');
expect(`${xt.method.section}.${xt.method.method}`).toEqual('system.remark');
expect(xt.toU8a()).toEqual(new Uint8Array([
0, 0, // index
0, 0, 0, 0 // fillBlock Perbill
// 0, 0, 0, 0 // fillBlock, Perbill
0 // remark, Vec<u8>
]));
});