@gearbox-protocol/deploy-tools 5.10.10 → 5.10.12
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/dist/index.mjs +4 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -414031,6 +414031,7 @@ function openAccounts() {
|
|
|
414031
414031
|
json_stringify(results),
|
|
414032
414032
|
"utf-8"
|
|
414033
414033
|
);
|
|
414034
|
+
log_default.info(`got ${results.length} results`);
|
|
414034
414035
|
for (let i = 0; i < results.length; i++) {
|
|
414035
414036
|
const r = results[i];
|
|
414036
414037
|
if (!r.account) {
|
|
@@ -414050,7 +414051,7 @@ function openAccounts() {
|
|
|
414050
414051
|
async function runCast(result, index2, opts) {
|
|
414051
414052
|
const { txHash, rawTx } = result;
|
|
414052
414053
|
const { anvilUrl, destDir, privateKey } = opts;
|
|
414053
|
-
if (!txHash
|
|
414054
|
+
if (!txHash && !rawTx) {
|
|
414054
414055
|
return;
|
|
414055
414056
|
}
|
|
414056
414057
|
const id = txHash ? txHash : `account_${index2}`;
|
|
@@ -414068,7 +414069,7 @@ async function runCast(result, index2, opts) {
|
|
|
414068
414069
|
log_default.debug(`running cast ${argsStr}`);
|
|
414069
414070
|
try {
|
|
414070
414071
|
const traceFile = path9.resolve(destDir, `${id}.trace`);
|
|
414071
|
-
const cast = spawnSync3("cast", args, { encoding: "utf-8" });
|
|
414072
|
+
const cast = spawnSync3("cast", args, { encoding: "utf-8", stdio: "pipe" });
|
|
414072
414073
|
await writeFile6(traceFile, cast.output.join(""), "utf-8");
|
|
414073
414074
|
log_default.debug(`saved trace file: ${traceFile}`);
|
|
414074
414075
|
} catch (e) {
|
|
@@ -414123,7 +414124,7 @@ function getRenderer(opts) {
|
|
|
414123
414124
|
var package_default = {
|
|
414124
414125
|
name: "@gearbox-protocol/deploy-tools",
|
|
414125
414126
|
description: "Gearbox deploy tools",
|
|
414126
|
-
version: "5.10.
|
|
414127
|
+
version: "5.10.12",
|
|
414127
414128
|
homepage: "https://gearbox.fi",
|
|
414128
414129
|
keywords: [
|
|
414129
414130
|
"gearbox"
|