-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add and fix unit tests for inbound parsing
- Loading branch information
Showing
8 changed files
with
557 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 98 additions & 0 deletions
98
...ERRRZmZXAuDMRdwUU33VnWZ7m8NHUZM6hyLH52JQPz5R7mXEkFcvHx88ujq3xDnt3z7sZdZ21JK2FC7vPw1o.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
{ | ||
"slot": 1111, | ||
"blockTime": 1733490207, | ||
"transaction": { | ||
"signatures": [ | ||
"22s5ERRRZmZXAuDMRdwUU33VnWZ7m8NHUZM6hyLH52JQPz5R7mXEkFcvHx88ujq3xDnt3z7sZdZ21JK2FC7vPw1o" | ||
], | ||
"message": { | ||
"accountKeys": [ | ||
"37yGiHAnLvWZUNVwu9esp74YQFqxU1qHCbABkDvRddUQ", | ||
"9dcAyYG4bawApZocwZSyJBi9Mynf5EuKAJfifXdfkqik", | ||
"EKZTsmjEMAbkStqWdoqyeFh4DkgB9zXr9yxwBHzcy2Sn", | ||
"C2vKeBZ6yeUdeFC22UR82Drnj5AaXe4oKLgFQMJRpeDv", | ||
"2zioTPUGiVwr4XZgDCy34qo2EbHQBU86jTU568rnKKri", | ||
"7d4ehzE4WNgithQZMyQFDhmHyN6rQNTEC7re1bsRN7TX", | ||
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", | ||
"11111111111111111111111111111111", | ||
"94U5AHQMKkV5txNJ17QPXWoh474PheGou6cNP2FEuL1d" | ||
], | ||
"header": { | ||
"numRequiredSignatures": 1, | ||
"numReadonlySignedAccounts": 0, | ||
"numReadonlyUnsignedAccounts": 5 | ||
}, | ||
"recentBlockhash": "HXK99VqYfwMDMEaJmxPgLLLygUUYpPry1mPkSJkwekDC", | ||
"instructions": [ | ||
{ | ||
"programIdIndex": 8, | ||
"accounts": [ | ||
0, | ||
1, | ||
4, | ||
5, | ||
6, | ||
2, | ||
3, | ||
7 | ||
], | ||
"data": "Q6siP5YLNCNi7eDfNNdsuMhgSAJvKMZiozqaPmi1rzGWxAJNPaUg8WK1a5v9GRriHGnLDuwmBZ9L" | ||
} | ||
] | ||
} | ||
}, | ||
"meta": { | ||
"err": null, | ||
"fee": 5000, | ||
"preBalances": [ | ||
99967505600, | ||
25947680, | ||
2039280, | ||
2039280, | ||
946560, | ||
1461600, | ||
929020800, | ||
1, | ||
1141440 | ||
], | ||
"postBalances": [ | ||
99965500600, | ||
27947680, | ||
2039280, | ||
2039280, | ||
946560, | ||
1461600, | ||
929020800, | ||
1, | ||
1141440 | ||
], | ||
"innerInstructions": [ | ||
{ | ||
"index": 0, | ||
"instructions": [] | ||
} | ||
], | ||
"preTokenBalances": [], | ||
"postTokenBalances": [], | ||
"logMessages": [ | ||
"Program 94U5AHQMKkV5txNJ17QPXWoh474PheGou6cNP2FEuL1d invoke [1] Program log: Instruction: DepositSplTokenAndCall", | ||
"Program 11111111111111111111111111111111 invoke [2]", | ||
"Program 11111111111111111111111111111111 success Program", | ||
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", | ||
"Program log: Instruction: Transfer Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4645 of 179934 compute units", | ||
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success", | ||
"Program log: deposit spl token successfully", | ||
"Program 94U5AHQMKkV5txNJ17QPXWoh474PheGou6cNP2FEuL1d consumed 25580 of 200000 compute units Program 94U5AHQMKkV5txNJ17QPXWoh474PheGou6cNP2FEuL1d success" | ||
], | ||
"status": { | ||
"Ok": null | ||
}, | ||
"rewards": [], | ||
"loadedAddresses": { | ||
"readonly": [], | ||
"writable": [] | ||
}, | ||
"computeUnitsConsumed": 274902869112 | ||
}, | ||
"version": 0 | ||
} |
Oops, something went wrong.