We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e1899d commit 4997e77Copy full SHA for 4997e77
tasks/check.js
@@ -223,6 +223,12 @@ async function checkVaultAdapter(env) {
223
assert.equal(mappedToken.toLowerCase(), config[currentNetwork].USDC.toLowerCase(), `${env} USDC token mapping error`);
224
console.log("USDC token mapping verified ✓");
225
226
+ //check protocol vault
227
+ console.log("Checking protocol vault...");
228
+ const protocolVault = await adapterContract.protocolVault();
229
+ assert.equal(protocolVault.toLowerCase(), deployment[env].protocolVault.toLowerCase(), `${env} protocol vault config error`);
230
+ console.log("Protocol vault verified ✓");
231
+
232
//check brokers
233
console.log("Checking allowed brokers...");
234
const allowedBrokers = deployment.allowedBrokersForAdapter;
0 commit comments