|
1 | 1 | # Change Log |
2 | 2 |
|
| 3 | +## 0.15.2 |
| 4 | + |
| 5 | +### Patch Changes |
| 6 | + |
| 7 | +- [#1286](https://github.com/helium/helium-program-library/pull/1286) [`d7b31af`](https://github.com/helium/helium-program-library/commit/d7b31afab5d4441db2a461dddec31d37c4e6e8c7) Thanks [@bryzettler](https://github.com/bryzettler)! - Report the transaction that actually failed a Jito bundle simulation: the error |
| 8 | + data, the Sentry extras and the classifier all use the failing transaction's own |
| 9 | + logs plus its index, instead of a flat concatenation of every transaction's logs. |
| 10 | + `SIMULATION_FAILED` data carries the new optional `failedTransactionIndex`. |
| 11 | + |
| 12 | +- [#1286](https://github.com/helium/helium-program-library/pull/1286) [`d7b31af`](https://github.com/helium/helium-program-library/commit/d7b31afab5d4441db2a461dddec31d37c4e6e8c7) Thanks [@bryzettler](https://github.com/bryzettler)! - Stop resubmitting batches whose blockhash has expired. Expiry is decided from |
| 13 | + each transaction's own blockhash against the cluster's block height before a |
| 14 | + retry slot is consumed, and expired transactions are marked `expired` instead |
| 15 | + of retrying to the cap while Jito answers "bundle contains an expired |
| 16 | + blockhash". Submitting a transaction the cluster no longer accepts returns the |
| 17 | + new `BLOCKHASH_EXPIRED` error, carrying the blockhash and the index of the |
| 18 | + transaction in the batch, instead of a raw Jito message. |
| 19 | + |
| 20 | +- [#1286](https://github.com/helium/helium-program-library/pull/1286) [`d7b31af`](https://github.com/helium/helium-program-library/commit/d7b31afab5d4441db2a461dddec31d37c4e6e8c7) Thanks [@bryzettler](https://github.com/bryzettler)! - Reject a swap quote whose input and output mint are the same. `GetQuoteInput` |
| 21 | + now requires the two mints to differ, so the request fails as a 400 before it |
| 22 | + reaches Jupiter instead of coming back as a `JUPITER_ERROR` 500 carrying |
| 23 | + Jupiter's `CIRCULAR_ARBITRAGE_IS_DISABLED`. Jupiter's client-side error codes |
| 24 | + (`CIRCULAR_ARBITRAGE_IS_DISABLED`, `TOKEN_NOT_TRADABLE`) map to `BAD_REQUEST` |
| 25 | + for both `swap.getQuote` and `swap.getInstructions`, and the swap UI leaves the |
| 26 | + counterpart token out of each picker so the pair can no longer be selected. |
| 27 | + |
3 | 28 | ## 0.15.1 |
4 | 29 |
|
5 | 30 | ### Patch Changes |
|
0 commit comments