|
|
@@ -87,7 +87,7 @@ async function main() {
|
|
|
JSON.stringify(guardianSet)
|
|
|
);
|
|
|
console.log(
|
|
|
- `Address:\t\t${address}\nproxy digest:\t\t${proxyDigest}\nimplementation digest:\t${implementationDigest} \nguardian set index:\t${currentIndex} \nguardian set:\t\t${guardianSetDigest}`
|
|
|
+ `${chain.getId()} Address:\t\t${address}\nproxy digest:\t\t${proxyDigest}\nimplementation digest:\t${implementationDigest} \nguardian set index:\t${currentIndex} \nguardian set:\t\t${guardianSetDigest}`
|
|
|
);
|
|
|
}
|
|
|
}
|
|
|
@@ -107,7 +107,7 @@ async function main() {
|
|
|
const contract = new EvmContract(chain, address);
|
|
|
const code = await contract.getCodeDigestWithoutAddress();
|
|
|
// this should be the same keccak256 of the deployedCode property generated by truffle
|
|
|
- console.log(`Address:${address} digest:${code}`);
|
|
|
+ console.log(`${chain.getId()} Address:${address} digest:${code}`);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -125,7 +125,7 @@ async function main() {
|
|
|
const code = await chain.getCode(Number(codeId));
|
|
|
// this should be the same checksums.txt in our release file
|
|
|
console.log(
|
|
|
- `Code Id:${codeId} digest:${createHash("sha256")
|
|
|
+ `${chain.getId()} Code Id:${codeId} digest:${createHash("sha256")
|
|
|
.update(code)
|
|
|
.digest("hex")}`
|
|
|
);
|