Browse Source

cleaned up commments

Ayush Suresh 3 months ago
parent
commit
890a2c31dd

+ 7 - 19
target_chains/fuel/contracts/pyth-contract/out/release/pyth-contract-abi.json

@@ -195,10 +195,6 @@
     {
       "type": "u64",
       "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
-    },
-    {
-      "type": "u8",
-      "concreteTypeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
     }
   ],
   "metadataTypes": [
@@ -754,7 +750,7 @@
       "components": [
         {
           "name": "version",
-          "typeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
+          "typeId": 34
         },
         {
           "name": "guardian_set_index",
@@ -786,7 +782,7 @@
         },
         {
           "name": "consistency_level",
-          "typeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
+          "typeId": 34
         },
         {
           "name": "payload",
@@ -977,6 +973,10 @@
       "typeParameters": [
         8
       ]
+    },
+    {
+      "type": "u8",
+      "metadataTypeId": 34
     }
   ],
   "functions": [
@@ -1542,18 +1542,6 @@
       "logId": "15458268789670052309",
       "concreteTypeId": "d686cd9012ca81d56b62946d7a0bbec125a19237443e81495493c08426a76b1b"
     },
-    {
-      "logId": "14832741149864513620",
-      "concreteTypeId": "cdd87b7d12fe505416570c294c884bca819364863efe3bf539245fa18515fbbb"
-    },
-    {
-      "logId": "1515152261580153489",
-      "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
-    },
-    {
-      "logId": "14454674236531057292",
-      "concreteTypeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
-    },
     {
       "logId": "10098701174489624218",
       "concreteTypeId": "8c25cb3686462e9a86d2883c5688a22fe738b0bbc85f458d2d2b5f3f667c6d5a"
@@ -1608,7 +1596,7 @@
     {
       "name": "DEPLOYER",
       "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
-      "offset": 106784,
+      "offset": 105984,
       "indirect": false
     }
   ],

BIN
target_chains/fuel/contracts/pyth-contract/out/release/pyth-contract.bin


+ 0 - 3
target_chains/fuel/contracts/pyth-interface/src/data_structures/wormhole_light.sw

@@ -124,11 +124,8 @@ impl GuardianSetUpgrade {
                 j += 1;
             }
 
-            // Append the 20-byte data
             full_address_key.append(key);
 
-            // log(full_address_key.clone());
-
             let key: b256 = b256::from_be_bytes(full_address_key.clone());