@percolatorct/sdk 1.0.0-beta.5 → 1.0.0-beta.8
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/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2228,10 +2228,14 @@ function buildLayoutV12_1(maxAccounts, dataLen) {
|
|
|
2228
2228
|
const accountsOffRel = Math.ceil(preAccountsLen / 8) * 8;
|
|
2229
2229
|
return {
|
|
2230
2230
|
version: 1,
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
//
|
|
2231
|
+
// V12_1 upstream rebase uses 72-byte header (SlabHeader only, no V1 extension).
|
|
2232
|
+
// Empirically verified: USDC mint found at offset 72 on mainnet slab BVjPc6rd.
|
|
2233
|
+
headerLen: V0_HEADER_LEN,
|
|
2234
|
+
// 72 (not 104 — V12_1 removed the 32-byte header extension)
|
|
2235
|
+
configOffset: V0_HEADER_LEN,
|
|
2236
|
+
// 72
|
|
2237
|
+
configLen: 576,
|
|
2238
|
+
// 544 + 32 (dex_pool: [u8;32] added in V12_1)
|
|
2235
2239
|
reservedOff: V1_RESERVED_OFF,
|
|
2236
2240
|
engineOff,
|
|
2237
2241
|
accountSize,
|