@gearbox-protocol/deploy-tools 5.21.3 → 5.21.5

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.mjs +13 -8
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -385749,20 +385749,24 @@ var PriceOracleBaseContract = class extends BaseContract {
385749
385749
  const price = node?.answer?.price;
385750
385750
  if (reserve) {
385751
385751
  this.reservePriceFeeds.upsert(token, ref);
385752
- if (price) {
385752
+ if (price !== void 0) {
385753
385753
  this.reservePrices.upsert(token, price);
385754
- } else {
385754
+ }
385755
+ if (!price) {
385755
385756
  this.logger?.warn(
385756
- `answer not found for reserve price feed ${this.labelAddress(priceFeed)}, success: ${node?.answer?.success}`
385757
+ node ?? {},
385758
+ `answer not found for reserve price feed ${this.labelAddress(priceFeed)}`
385757
385759
  );
385758
385760
  }
385759
385761
  } else {
385760
385762
  this.mainPriceFeeds.upsert(token, ref);
385761
- if (price) {
385763
+ if (price !== void 0) {
385762
385764
  this.mainPrices.upsert(token, price);
385763
- } else {
385765
+ }
385766
+ if (!price) {
385764
385767
  this.logger?.warn(
385765
- `answer not found for main price feed ${this.labelAddress(priceFeed)}, success: ${node?.answer?.success}`
385768
+ node ?? {},
385769
+ `answer not found for main price feed ${this.labelAddress(priceFeed)}`
385766
385770
  );
385767
385771
  }
385768
385772
  }
@@ -416851,6 +416855,7 @@ var UpdateParser = class extends ProviderBase {
416851
416855
  }
416852
416856
  async #parseGovernorQueue(governorAddress, fromBlock, toBlock) {
416853
416857
  this.logger.info("parsing governor queue");
416858
+ await this.metaRepo.loadFromRepo();
416854
416859
  const latest = await this.client.getBlockNumber();
416855
416860
  const batches = await loadGovernorBatches({
416856
416861
  client: this.client,
@@ -419027,7 +419032,7 @@ function getRenderer(opts) {
419027
419032
  var package_default = {
419028
419033
  name: "@gearbox-protocol/deploy-tools",
419029
419034
  description: "Gearbox deploy tools",
419030
- version: "5.21.3",
419035
+ version: "5.21.5",
419031
419036
  homepage: "https://gearbox.fi",
419032
419037
  keywords: [
419033
419038
  "gearbox"
@@ -419070,7 +419075,7 @@ var package_default = {
419070
419075
  "@gearbox-protocol/deploy-tools-node": "0.0.0",
419071
419076
  "@gearbox-protocol/deploy-tools-shared": "0.0.0",
419072
419077
  "@gearbox-protocol/deploy-tools-types": "0.0.0",
419073
- "@gearbox-protocol/sdk": "3.0.0-vfour.317",
419078
+ "@gearbox-protocol/sdk": "3.0.0-vfour.318",
419074
419079
  "@gearbox-protocol/sdk-gov": "^2.36.6",
419075
419080
  "@types/lodash-es": "^4.17.12",
419076
419081
  "@types/node": "^22.13.10",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/deploy-tools",
3
3
  "description": "Gearbox deploy tools",
4
- "version": "5.21.3",
4
+ "version": "5.21.5",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"
@@ -44,7 +44,7 @@
44
44
  "@gearbox-protocol/deploy-tools-node": "0.0.0",
45
45
  "@gearbox-protocol/deploy-tools-shared": "0.0.0",
46
46
  "@gearbox-protocol/deploy-tools-types": "0.0.0",
47
- "@gearbox-protocol/sdk": "3.0.0-vfour.317",
47
+ "@gearbox-protocol/sdk": "3.0.0-vfour.318",
48
48
  "@gearbox-protocol/sdk-gov": "^2.36.6",
49
49
  "@types/lodash-es": "^4.17.12",
50
50
  "@types/node": "^22.13.10",