@skalenetwork/upgrade-tools 2.0.0-refactor.10 → 2.0.0-refactor.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.
|
@@ -45,7 +45,7 @@ class SafeImaLegacyMarionetteSubmitter extends safe_to_ima_submitter_1.SafeToIma
|
|
|
45
45
|
"stateMutability": "pure",
|
|
46
46
|
"type": "function"
|
|
47
47
|
}
|
|
48
|
-
]));
|
|
48
|
+
]), hardhat_1.ethers.provider);
|
|
49
49
|
}
|
|
50
50
|
submit(transactions) {
|
|
51
51
|
const _super = Object.create(null, {
|
|
@@ -59,7 +59,8 @@ class SafeImaLegacyMarionetteSubmitter extends safe_to_ima_submitter_1.SafeToIma
|
|
|
59
59
|
for (const transaction of transactions) {
|
|
60
60
|
transactionsToMarionette.push({
|
|
61
61
|
to: this.marionette.address,
|
|
62
|
-
|
|
62
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
63
|
+
data: yield this.marionette.encodeFunctionCall(transaction.to ? transaction.to : hardhat_1.ethers.constants.AddressZero, transaction.value ? transaction.value : 0, transaction.data ? transaction.data : "0x")
|
|
63
64
|
});
|
|
64
65
|
}
|
|
65
66
|
yield _super.submit.call(this, transactionsToMarionette);
|