@gooddollar/goodprotocol 2.0.25-beta.0 → 2.0.25-beta.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/package.json
CHANGED
|
@@ -306,9 +306,9 @@ export const executeViaSafe = async (
|
|
|
306
306
|
const [, target] = contract.split("_");
|
|
307
307
|
const simulationResult = await ethers.provider.call({
|
|
308
308
|
to: target,
|
|
309
|
-
value: ethValues[i],
|
|
310
309
|
data: encoded,
|
|
311
|
-
from: safeAddress
|
|
310
|
+
from: safeAddress,
|
|
311
|
+
value: ethValues[i]
|
|
312
312
|
});
|
|
313
313
|
|
|
314
314
|
console.log("executing from guardians safe:", {
|
|
@@ -348,8 +348,7 @@ export const executeViaSafe = async (
|
|
|
348
348
|
});
|
|
349
349
|
|
|
350
350
|
const simulationResult = await ctrl.callStatic.genericCall(contract, encoded, release.Avatar, ethValues[i], {
|
|
351
|
-
from: safeAddress
|
|
352
|
-
value: ethValues[i]
|
|
351
|
+
from: safeAddress
|
|
353
352
|
});
|
|
354
353
|
console.log("executing genericCall simulation result:", {
|
|
355
354
|
sigHash,
|
|
@@ -364,7 +363,7 @@ export const executeViaSafe = async (
|
|
|
364
363
|
]);
|
|
365
364
|
safeTransactionData.push({
|
|
366
365
|
to: ctrl.address,
|
|
367
|
-
value:
|
|
366
|
+
value: "0",
|
|
368
367
|
data: genericEncode
|
|
369
368
|
});
|
|
370
369
|
}
|