@sentio/runtime 3.8.0-rc3.4 → 3.8.1-rc3.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.
package/lib/processor-runner.js
CHANGED
|
@@ -30042,6 +30042,13 @@ var RuntimeServicePatcher = class {
|
|
|
30042
30042
|
}
|
|
30043
30043
|
patchConfig(config) {
|
|
30044
30044
|
config.executionConfig = ExecutionConfig.fromPartial(GLOBAL_CONFIG.execution);
|
|
30045
|
+
for (const cfg of [...config.contractConfigs ?? [], ...config.accountConfigs ?? []]) {
|
|
30046
|
+
for (const rc of cfg.moveResourceChangeConfigs ?? []) {
|
|
30047
|
+
if (!rc.types?.length && rc.type) {
|
|
30048
|
+
rc.types = [rc.type];
|
|
30049
|
+
}
|
|
30050
|
+
}
|
|
30051
|
+
}
|
|
30045
30052
|
if (config.contractConfigs) {
|
|
30046
30053
|
for (const contract of config.contractConfigs) {
|
|
30047
30054
|
if (compareSemver(this.sdkVersion, FUEL_PROTO_NO_FUEL_TRANSACTION_AS_CALL_VERSION) < 0 && contract.fuelCallConfigs) {
|