Skip to content

Commit

Permalink
Fix MT root signer validation
Browse files Browse the repository at this point in the history
  • Loading branch information
bbenligiray committed Oct 26, 2024
1 parent bdacc59 commit 1c5b2d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/validate-deployments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ async function validateDeployments(network: string) {
}
if (
goFetchApi3MarketV2DapiManagementMerkleRootSignersHash.data !==
ethers.solidityPackedKeccak256(['address'], [dapiManagementMerkleRootSigners])
ethers.solidityPackedKeccak256(['address[]'], [dapiManagementMerkleRootSigners])
) {
throw new Error(`${network} Api3MarketV2 dAPI management Merkle root signers are set incorrectly`);
}
Expand Down Expand Up @@ -237,7 +237,7 @@ async function validateDeployments(network: string) {
}
if (
goFetchApi3MarketV2DapiManagementMerkleRootSignersHash.data !==
ethers.solidityPackedKeccak256(['address'], [dapiPricingMerkleRootSigners])
ethers.solidityPackedKeccak256(['address[]'], [dapiPricingMerkleRootSigners])
) {
throw new Error(`${network} Api3MarketV2 dAPI pricing Merkle root signers are set incorrectly`);
}
Expand Down

0 comments on commit 1c5b2d8

Please sign in to comment.