@chainlink/zksync-gauntlet
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -29,6 +29,7 @@ "use strict"; | ||
}; | ||
const fetchContract = async (contract, provider, contractAddress, fn, input) => { | ||
const fetchContract = async (contract, provider, contractAddress, fns, inputs) => { | ||
const connectedContract = contract.attach(contractAddress).connect(provider); | ||
const result = await connectedContract[fn](...input); | ||
return result; | ||
return await Promise.all(fns.map(async (fn, i) => { | ||
return await connectedContract[fn](...inputs[i]); | ||
})); | ||
}; | ||
@@ -40,2 +41,2 @@ function makeZKSyncInspectionCommand(config) { | ||
exports.nativeCommands = [sendTransaction_1.registerSendTransactionCommand]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZXZtL2NvbW1hbmRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQVlBLDBEQUFxRztBQUNyRyw4REFBeUU7QUFNekUsNENBQXdEO0FBNEN4RCxNQUFNLG1CQUFtQixHQUFHLENBQzFCLFFBQStCLEVBQy9CLFFBQXdCLEVBQ3hCLEtBQVMsRUFDVCxNQUFjLEVBQ2QsZUFBdUIsRUFDdkIsWUFBWSxHQUFHLEtBQUssRUFDcEIsRUFBRSxDQUFDLEtBQUssSUFBbUMsRUFBRTtJQUM3QyxJQUFJLFlBQVk7UUFBRSxPQUFPLENBQUMsRUFBRSxHQUFHLENBQUMsTUFBTSxRQUFRLENBQUMsb0JBQW9CLENBQUMsR0FBRyxLQUFLLENBQUMsQ0FBQyxFQUFFLEtBQUssRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFBO0lBRTNGLE1BQU0sSUFBSSxHQUFHLFFBQVEsQ0FBQyxTQUFTLENBQUMsa0JBQWtCLENBQUMsTUFBTSxFQUFFLEtBQVksQ0FBQyxDQUFBO0lBQ3hFLE9BQU8sQ0FBQyxFQ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TeW5jSW5zcGVjdGlvbkNvbW1hbmQ8VUksIENJLCBDb21wYXJlSW5wdXQsIFF1ZXJ5UmVzdWx0PihcbiAgY29uZmlnOiBFVk1JbnNwZWN0aW9uQ29tbWFuZENvbmZpZzxVSSwgQ0ksIENvbXBhcmVJbnB1dCwgUXVlcnlSZXN1bHQ+LFxuKSB7XG4gIHJldHVybiBtYWtlSW5zcGVjdGlvbkNvbW1hbmQoZmV0Y2hDb250cmFjdCkoY29uZmlnKVxufVxuXG5leHBvcnQgY29uc3QgbmF0aXZlQ29tbWFuZHMgPSBbcmVnaXN0ZXJTZW5kVHJhbnNhY3Rpb25Db21tYW5kXVxuIl19 |
{ | ||
"name": "@chainlink/zksync-gauntlet", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Gauntlet Zksync", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64989
428