From 88789105d2d25d53474659b8415c884b65f40893 Mon Sep 17 00:00:00 2001 From: steveluscher Date: Sat, 15 Jun 2024 00:12:24 +0000 Subject: [PATCH] Add `innerInstructions` to all transaction simulation tests, for 1.18 --- .../src/__tests__/simulate-transaction-test.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/packages/rpc-api/src/__tests__/simulate-transaction-test.ts b/packages/rpc-api/src/__tests__/simulate-transaction-test.ts index e62fef5bbfe9..15f9f52211f3 100644 --- a/packages/rpc-api/src/__tests__/simulate-transaction-test.ts +++ b/packages/rpc-api/src/__tests__/simulate-transaction-test.ts @@ -172,6 +172,7 @@ describe('simulateTransaction', () => { value: { accounts: null, err: null, + innerInstructions: null, logs: expect.any(Array), returnData: null, unitsConsumed: expect.any(BigInt), @@ -281,6 +282,7 @@ describe('simulateTransaction', () => { value: { accounts: null, err: null, + innerInstructions: null, logs: expect.any(Array), returnData: null, unitsConsumed: expect.any(BigInt), @@ -319,6 +321,7 @@ describe('simulateTransaction', () => { value: { accounts: null, err: 'BlockhashNotFound', + innerInstructions: null, logs: expect.any(Array), returnData: null, unitsConsumed: expect.any(BigInt), @@ -357,6 +360,7 @@ describe('simulateTransaction', () => { value: { accounts: null, err: null, + innerInstructions: null, logs: expect.any(Array), returnData: null, unitsConsumed: expect.any(BigInt), @@ -461,6 +465,7 @@ describe('simulateTransaction', () => { value: { accounts: null, err: 'AccountNotFound', + innerInstructions: null, logs: expect.any(Array), returnData: null, unitsConsumed: expect.any(BigInt), @@ -509,6 +514,7 @@ describe('simulateTransaction', () => { }), ], err: null, + innerInstructions: null, logs: expect.any(Array), returnData: null, unitsConsumed: expect.any(BigInt), @@ -557,6 +563,7 @@ describe('simulateTransaction', () => { }), ], err: null, + innerInstructions: null, logs: expect.any(Array), returnData: null, unitsConsumed: expect.any(BigInt), @@ -622,6 +629,7 @@ describe('simulateTransaction', () => { }), ], err: null, + innerInstructions: null, logs: expect.any(Array), returnData: null, unitsConsumed: expect.any(BigInt), @@ -671,6 +679,7 @@ describe('simulateTransaction', () => { }), ], err: null, + innerInstructions: null, logs: expect.any(Array), returnData: null, unitsConsumed: expect.any(BigInt), @@ -718,6 +727,8 @@ describe('simulateTransaction', () => { }), ], err: null, + innerInstructions: null, + logs: expect.any(Array), returnData: null, unitsConsumed: expect.any(BigInt), @@ -771,6 +782,7 @@ describe('simulateTransaction', () => { }), ], err: null, + innerInstructions: null, logs: expect.any(Array), returnData: null, unitsConsumed: expect.any(BigInt), @@ -810,6 +822,7 @@ describe('simulateTransaction', () => { value: { accounts: null, err: null, + innerInstructions: null, logs: expect.any(Array), returnData: null, unitsConsumed: expect.any(BigInt),