@reflectmoney/oracle.ts 3.2.2 → 3.2.4

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -101,7 +101,7 @@ class TransactionBuilder {
101
101
  PAYLOAD_WRITE_CU +
102
102
  Math.floor(oracleSize / 4) +
103
103
  READ_CLOCK_CU;
104
- this.loadedAccountDataSize += oracleSize * 2;
104
+ this.loadedAccountDataSize += oracleSize * 4;
105
105
  this.oracleUpdateInstructions.push(instruction);
106
106
  return this;
107
107
  }
@@ -284,7 +284,9 @@ class Doppler {
284
284
  builder = builder.withUnitPrice(unitPrice);
285
285
  }
286
286
  const transaction = builder.build(recentBlockhash.blockhash);
287
- const signature = yield (0, web3_js_1.sendAndConfirmTransaction)(this.connection, transaction, [this.admin]);
287
+ const signature = yield (0, web3_js_1.sendAndConfirmTransaction)(this.connection, transaction, [this.admin], {
288
+ skipPreflight: true
289
+ });
288
290
  return signature;
289
291
  });
290
292
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reflectmoney/oracle.ts",
3
- "version": "3.2.2",
3
+ "version": "3.2.4",
4
4
  "type": "commonjs",
5
5
  "author": "L0STE, stablecoinjesus @ Palindrome Engineering",
6
6
  "repository": {