@solana/web3.js 1.43.4 → 1.44.0

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.
@@ -2625,10 +2625,10 @@ class Transaction {
2625
2625
  if (x.isWritable !== y.isWritable) {
2626
2626
  // Writable accounts always come before read-only accounts
2627
2627
  return x.isWritable ? -1 : 1;
2628
- } // Otherwise, sort by pubkey.
2628
+ } // Otherwise, sort by pubkey, stringwise.
2629
2629
 
2630
2630
 
2631
- return x.pubkey._bn.cmp(y.pubkey._bn);
2631
+ return x.pubkey.toBase58().localeCompare(y.pubkey.toBase58());
2632
2632
  }); // Move fee payer to the front
2633
2633
 
2634
2634
  const feePayerIndex = uniqueMetas.findIndex(x => {
@@ -3580,6 +3580,10 @@ const SYSTEM_INSTRUCTION_LAYOUTS = Object.freeze({
3580
3580
  TransferWithSeed: {
3581
3581
  index: 11,
3582
3582
  layout: BufferLayout__namespace.struct([BufferLayout__namespace.u32('instruction'), u64('lamports'), rustString('seed'), publicKey('programId')])
3583
+ },
3584
+ UpgradeNonceAccount: {
3585
+ index: 12,
3586
+ layout: BufferLayout__namespace.struct([BufferLayout__namespace.u32('instruction')])
3583
3587
  }
3584
3588
  });
3585
3589
  /**