@reflectmoney/oracle.ts 3.2.0 → 3.2.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ exports.ADMIN_PUBKEY = new web3_js_1.PublicKey('pRiCEzwgkSi7KTsQHdyfuRbPEuCFoK9s
22
22
  // Constants for compute unit calculations
23
23
  const SEQUENCE_CHECK_CU = 5;
24
24
  const ADMIN_VERIFICATION_CU = 6;
25
- const PAYLOAD_WRITE_CU = 6;
25
+ const PAYLOAD_WRITE_CU = 8;
26
26
  const COMPUTE_BUDGET_IX_CU = 150;
27
27
  const COMPUTE_BUDGET_UNIT_PRICE_SIZE = 9;
28
28
  const COMPUTE_BUDGET_UNIT_LIMIT_SIZE = 5;
@@ -99,8 +99,7 @@ class TransactionBuilder {
99
99
  SEQUENCE_CHECK_CU +
100
100
  ADMIN_VERIFICATION_CU +
101
101
  PAYLOAD_WRITE_CU +
102
- Math.floor(oracleSize / 4) +
103
- READ_CLOCK_CU;
102
+ Math.floor(oracleSize / 4);
104
103
  this.loadedAccountDataSize += oracleSize * 2;
105
104
  this.oracleUpdateInstructions.push(instruction);
106
105
  return this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reflectmoney/oracle.ts",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "type": "commonjs",
5
5
  "author": "L0STE, stablecoinjesus @ Palindrome Engineering",
6
6
  "repository": {