@exodus/solana-lib 3.10.0 → 3.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.10.1](https://github.com/ExodusMovement/assets/compare/@exodus/solana-lib@3.10.0...@exodus/solana-lib@3.10.1) (2025-04-04)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix(solana): fee payer validation (#5387)
13
+
14
+
15
+
6
16
  ## [3.10.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-lib@3.9.5...@exodus/solana-lib@3.10.0) (2025-04-03)
7
17
 
8
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-lib",
3
- "version": "3.10.0",
3
+ "version": "3.10.1",
4
4
  "description": "Solana utils, such as for cryptography, address encoding/decoding, transaction building, etc.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -46,5 +46,5 @@
46
46
  "type": "git",
47
47
  "url": "git+https://github.com/ExodusMovement/assets.git"
48
48
  },
49
- "gitHead": "59c4d4a4a7404eb915e4fa722a2afe01d1556046"
49
+ "gitHead": "b4ed33112d03cda68ad156c3c455b4168f7abc16"
50
50
  }
@@ -61,6 +61,10 @@ export function verifyOnlyFeePayerChanged(beforeTx, afterTx) {
61
61
  )
62
62
  })
63
63
 
64
+ afterTx.message.indexToProgramIds.forEach((value, key) => {
65
+ assert(afterTx.message.accountKeys[key] === value, 'IndexToProgramIds do not match accountKeys')
66
+ })
67
+
64
68
  assert(
65
69
  lodash.isEqual(
66
70
  {
@@ -85,12 +89,14 @@ export function verifyOnlyFeePayerChanged(beforeTx, afterTx) {
85
89
  header: { ...beforeTx.message.header, numRequiredSignatures: null },
86
90
  accountKeys: null,
87
91
  instructions: null,
92
+ indexToProgramIds: null,
88
93
  },
89
94
  {
90
95
  ...afterTx.message,
91
96
  header: { ...afterTx.message.header, numRequiredSignatures: null },
92
97
  accountKeys: null,
93
98
  instructions: null,
99
+ indexToProgramIds: null,
94
100
  }
95
101
  ),
96
102
  'Transactions do not match in some attributes'