@layerzerolabs/verify-contract 1.2.3 → 1.3.0
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/cli.js +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -77974,7 +77974,9 @@ var verifyNonTarget = async (config, logger12) => {
|
|
|
77974
77974
|
const rawDeployment = __require(contractDeploymentPath);
|
|
77975
77975
|
const deploymentParseResult = DeploymentSchema.safeParse(rawDeployment);
|
|
77976
77976
|
if (!deploymentParseResult.success) {
|
|
77977
|
-
logger12.
|
|
77977
|
+
logger12.warn(
|
|
77978
|
+
COLORS.error`Skipping deployment file ${deploymentPath} on network ${network} due to validation errors: ${JSON.stringify(deploymentParseResult.error.errors)}`
|
|
77979
|
+
);
|
|
77978
77980
|
return [];
|
|
77979
77981
|
}
|
|
77980
77982
|
const deployment = deploymentParseResult.data;
|
|
@@ -78074,9 +78076,10 @@ var verifyTarget = async (config, logger12) => {
|
|
|
78074
78076
|
const rawDeployment = __require(contractDeploymentPath);
|
|
78075
78077
|
const deploymentParseResult = DeploymentSchema.safeParse(rawDeployment);
|
|
78076
78078
|
if (!deploymentParseResult.success) {
|
|
78077
|
-
|
|
78078
|
-
`
|
|
78079
|
+
logger12.warn(
|
|
78080
|
+
`Skipping deployment file ${fileName} on network ${networkName} due to validation errors: ${JSON.stringify(deploymentParseResult.error.errors)}`
|
|
78079
78081
|
);
|
|
78082
|
+
return [];
|
|
78080
78083
|
}
|
|
78081
78084
|
const deployment = deploymentParseResult.data;
|
|
78082
78085
|
const compilationTargets = deployment.metadata.settings.compilationTarget;
|