Make substrate tests work again
@@ -29,7 +29,7 @@ describe('Deploy asserts contract and test', () => {
expect(res0.output?.toJSON()).toEqual(1);
let res1 = await query(conn, alice, contract, "testAssertRpc");
- expect(res1.result.toHuman()).toEqual({ "Err": { "Module": { "error": "0x0b000000", "index": "7" } } });
+ expect(res1.result.toHuman()).toEqual({ "Err": { "Module": { "error": "0x0b000000", "index": "8" } } });
let gasLimit = await weight(conn, contract, "testAssert");
let tx = contract.tx.testAssert({ gasLimit });
@@ -38,7 +38,7 @@ describe('Deploy asserts contract and test', () => {
throw new Error("should not succeed");
}, (res) => res);
- expect(res2.dispatchError.toHuman()).toEqual({ "Module": { "error": "0x0b000000", "index": "7" } });
+ expect(res2.dispatchError.toHuman()).toEqual({ "Module": { "error": "0x0b000000", "index": "8" } });
let res3 = await query(conn, alice, contract, "var");
