@bgd-labs/toolbox 0.0.32 → 0.0.34
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/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/dist/node.js +6 -4
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +6 -4
- package/dist/node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33455,7 +33455,9 @@ function getObjectDiff(obj1, obj2) {
|
|
|
33455
33455
|
}
|
|
33456
33456
|
function renderMarkdownStateDiffReport(changes, getContractName = (address) => `${address}`) {
|
|
33457
33457
|
let report = "";
|
|
33458
|
-
for (const contract of Object.keys(changes)
|
|
33458
|
+
for (const contract of Object.keys(changes).sort(
|
|
33459
|
+
(a, b) => a.localeCompare(b)
|
|
33460
|
+
)) {
|
|
33459
33461
|
report += `#### ${getContractName(contract)}
|
|
33460
33462
|
|
|
33461
33463
|
\`\`\`diff
|
|
@@ -33784,8 +33786,8 @@ ${payload.actions.map(
|
|
|
33784
33786
|
report += "### Verification status for contracts touched in the proposal\n\n";
|
|
33785
33787
|
report += "| Contract | Status |\n";
|
|
33786
33788
|
report += "|---------|------------|\n";
|
|
33787
|
-
verified.map((contract) => {
|
|
33788
|
-
report += `| ${getContractName(sim, contract.address)}
|
|
33789
|
+
verified.sort((a, b) => a.address.localeCompare(b.address)).map((contract) => {
|
|
33790
|
+
report += `| ${getContractName(sim, contract.address)} | ${verificationStatusToString(contract.status)} |
|
|
33789
33791
|
`;
|
|
33790
33792
|
});
|
|
33791
33793
|
report += "\n";
|
|
@@ -33796,7 +33798,7 @@ ${payload.actions.map(
|
|
|
33796
33798
|
`;
|
|
33797
33799
|
report += "| Address | Result |\n";
|
|
33798
33800
|
report += "|---------|------------|\n";
|
|
33799
|
-
selfDestruct.map((selfDestruct2) => {
|
|
33801
|
+
selfDestruct.sort((a, b) => a.address.localeCompare(b.address)).map((selfDestruct2) => {
|
|
33800
33802
|
report += `| ${getContractName(sim, selfDestruct2.address)} | ${selfDestructStatusToString(
|
|
33801
33803
|
selfDestruct2.state
|
|
33802
33804
|
)} |
|