@sentio/protos 2.13.0-rc.8 → 2.13.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.
@@ -1433,7 +1433,14 @@ export const HandleInterval = {
1433
1433
  },
1434
1434
  };
1435
1435
  function createBaseOnIntervalConfig() {
1436
- return { handlerId: 0, minutes: 0, minutesInterval: undefined, slot: 0, slotInterval: undefined };
1436
+ return {
1437
+ handlerId: 0,
1438
+ minutes: 0,
1439
+ minutesInterval: undefined,
1440
+ slot: 0,
1441
+ slotInterval: undefined,
1442
+ fetchConfig: undefined,
1443
+ };
1437
1444
  }
1438
1445
  export const OnIntervalConfig = {
1439
1446
  encode(message, writer = _m0.Writer.create()) {
@@ -1452,6 +1459,9 @@ export const OnIntervalConfig = {
1452
1459
  if (message.slotInterval !== undefined) {
1453
1460
  HandleInterval.encode(message.slotInterval, writer.uint32(42).fork()).ldelim();
1454
1461
  }
1462
+ if (message.fetchConfig !== undefined) {
1463
+ EthFetchConfig.encode(message.fetchConfig, writer.uint32(50).fork()).ldelim();
1464
+ }
1455
1465
  return writer;
1456
1466
  },
1457
1467
  decode(input, length) {
@@ -1476,6 +1486,9 @@ export const OnIntervalConfig = {
1476
1486
  case 5:
1477
1487
  message.slotInterval = HandleInterval.decode(reader, reader.uint32());
1478
1488
  break;
1489
+ case 6:
1490
+ message.fetchConfig = EthFetchConfig.decode(reader, reader.uint32());
1491
+ break;
1479
1492
  default:
1480
1493
  reader.skipType(tag & 7);
1481
1494
  break;
@@ -1490,6 +1503,7 @@ export const OnIntervalConfig = {
1490
1503
  minutesInterval: isSet(object.minutesInterval) ? HandleInterval.fromJSON(object.minutesInterval) : undefined,
1491
1504
  slot: isSet(object.slot) ? Number(object.slot) : 0,
1492
1505
  slotInterval: isSet(object.slotInterval) ? HandleInterval.fromJSON(object.slotInterval) : undefined,
1506
+ fetchConfig: isSet(object.fetchConfig) ? EthFetchConfig.fromJSON(object.fetchConfig) : undefined,
1493
1507
  };
1494
1508
  },
1495
1509
  toJSON(message) {
@@ -1501,6 +1515,8 @@ export const OnIntervalConfig = {
1501
1515
  message.slot !== undefined && (obj.slot = Math.round(message.slot));
1502
1516
  message.slotInterval !== undefined &&
1503
1517
  (obj.slotInterval = message.slotInterval ? HandleInterval.toJSON(message.slotInterval) : undefined);
1518
+ message.fetchConfig !== undefined &&
1519
+ (obj.fetchConfig = message.fetchConfig ? EthFetchConfig.toJSON(message.fetchConfig) : undefined);
1504
1520
  return obj;
1505
1521
  },
1506
1522
  create(base) {
@@ -1517,6 +1533,9 @@ export const OnIntervalConfig = {
1517
1533
  message.slotInterval = (object.slotInterval !== undefined && object.slotInterval !== null)
1518
1534
  ? HandleInterval.fromPartial(object.slotInterval)
1519
1535
  : undefined;
1536
+ message.fetchConfig = (object.fetchConfig !== undefined && object.fetchConfig !== null)
1537
+ ? EthFetchConfig.fromPartial(object.fetchConfig)
1538
+ : undefined;
1520
1539
  return message;
1521
1540
  },
1522
1541
  };