Skip to content

Commit

Permalink
Add innerInstructions to all transaction simulation tests, for 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
steveluscher committed Jun 15, 2024
1 parent 3015f55 commit 8878910
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/rpc-api/src/__tests__/simulate-transaction-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ describe('simulateTransaction', () => {
value: {
accounts: null,
err: null,
innerInstructions: null,
logs: expect.any(Array),
returnData: null,
unitsConsumed: expect.any(BigInt),
Expand Down Expand Up @@ -281,6 +282,7 @@ describe('simulateTransaction', () => {
value: {
accounts: null,
err: null,
innerInstructions: null,
logs: expect.any(Array),
returnData: null,
unitsConsumed: expect.any(BigInt),
Expand Down Expand Up @@ -319,6 +321,7 @@ describe('simulateTransaction', () => {
value: {
accounts: null,
err: 'BlockhashNotFound',
innerInstructions: null,
logs: expect.any(Array),
returnData: null,
unitsConsumed: expect.any(BigInt),
Expand Down Expand Up @@ -357,6 +360,7 @@ describe('simulateTransaction', () => {
value: {
accounts: null,
err: null,
innerInstructions: null,
logs: expect.any(Array),
returnData: null,
unitsConsumed: expect.any(BigInt),
Expand Down Expand Up @@ -461,6 +465,7 @@ describe('simulateTransaction', () => {
value: {
accounts: null,
err: 'AccountNotFound',
innerInstructions: null,
logs: expect.any(Array),
returnData: null,
unitsConsumed: expect.any(BigInt),
Expand Down Expand Up @@ -509,6 +514,7 @@ describe('simulateTransaction', () => {
}),
],
err: null,
innerInstructions: null,
logs: expect.any(Array),
returnData: null,
unitsConsumed: expect.any(BigInt),
Expand Down Expand Up @@ -557,6 +563,7 @@ describe('simulateTransaction', () => {
}),
],
err: null,
innerInstructions: null,
logs: expect.any(Array),
returnData: null,
unitsConsumed: expect.any(BigInt),
Expand Down Expand Up @@ -622,6 +629,7 @@ describe('simulateTransaction', () => {
}),
],
err: null,
innerInstructions: null,
logs: expect.any(Array),
returnData: null,
unitsConsumed: expect.any(BigInt),
Expand Down Expand Up @@ -671,6 +679,7 @@ describe('simulateTransaction', () => {
}),
],
err: null,
innerInstructions: null,
logs: expect.any(Array),
returnData: null,
unitsConsumed: expect.any(BigInt),
Expand Down Expand Up @@ -718,6 +727,8 @@ describe('simulateTransaction', () => {
}),
],
err: null,
innerInstructions: null,

logs: expect.any(Array),
returnData: null,
unitsConsumed: expect.any(BigInt),
Expand Down Expand Up @@ -771,6 +782,7 @@ describe('simulateTransaction', () => {
}),
],
err: null,
innerInstructions: null,
logs: expect.any(Array),
returnData: null,
unitsConsumed: expect.any(BigInt),
Expand Down Expand Up @@ -810,6 +822,7 @@ describe('simulateTransaction', () => {
value: {
accounts: null,
err: null,
innerInstructions: null,
logs: expect.any(Array),
returnData: null,
unitsConsumed: expect.any(BigInt),
Expand Down

0 comments on commit 8878910

Please sign in to comment.