@sentio/sdk-bundle 3.3.0-rc.1 → 3.3.0-rc.2

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.
@@ -24084,13 +24084,6 @@ var SolanaPlugin = class extends Plugin {
24084
24084
  if (forChainId !== void 0 && forChainId !== chainId.toString()) {
24085
24085
  continue;
24086
24086
  }
24087
- let fetchTx = false;
24088
- for (const fetchConfig of solanaProcessor.instructionHandlerMap.values()) {
24089
- if (fetchConfig.handlerOptions?.fetchTx) {
24090
- fetchTx = true;
24091
- break;
24092
- }
24093
- }
24094
24087
  const contractConfig = ContractConfig.fromPartial({
24095
24088
  processorType: USER_PROCESSOR,
24096
24089
  contract: {
@@ -24099,14 +24092,23 @@ var SolanaPlugin = class extends Plugin {
24099
24092
  address: solanaProcessor.address,
24100
24093
  abi: ""
24101
24094
  },
24102
- startBlock: solanaProcessor.config.startSlot,
24103
- instructionConfig: {
24095
+ startBlock: solanaProcessor.config.startSlot
24096
+ });
24097
+ if (solanaProcessor.address && solanaProcessor.address != "*") {
24098
+ let fetchTx = false;
24099
+ for (const fetchConfig of solanaProcessor.instructionHandlerMap.values()) {
24100
+ if (fetchConfig.handlerOptions?.fetchTx) {
24101
+ fetchTx = true;
24102
+ break;
24103
+ }
24104
+ }
24105
+ contractConfig.instructionConfig = {
24104
24106
  innerInstruction: solanaProcessor.processInnerInstruction,
24105
24107
  parsedInstruction: solanaProcessor.fromParsedInstruction !== null,
24106
24108
  rawDataInstruction: solanaProcessor.decodeInstruction !== null,
24107
24109
  fetchTx
24108
- }
24109
- });
24110
+ };
24111
+ }
24110
24112
  for (const [idx, handler] of solanaProcessor.blockHandlers.entries()) {
24111
24113
  contractConfig.intervalConfigs.push(
24112
24114
  OnIntervalConfig.fromPartial({
@@ -28543,4 +28545,4 @@ buffer-layout/lib/Layout.js:
28543
28545
  * @see {@link https://github.com/pabigot/buffer-layout|buffer-layout on GitHub}
28544
28546
  *)
28545
28547
  */
28546
- //# sourceMappingURL=chunk-CMEY6RUS.js.map
28548
+ //# sourceMappingURL=chunk-UEWIF4V3.js.map