@bgd-labs/toolbox 0.0.33 → 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 +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/dist/node.js +5 -3
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +5 -3
- package/dist/node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -33459,7 +33459,9 @@ function getObjectDiff(obj1, obj2) {
|
|
|
33459
33459
|
}
|
|
33460
33460
|
function renderMarkdownStateDiffReport(changes, getContractName = (address) => `${address}`) {
|
|
33461
33461
|
let report = "";
|
|
33462
|
-
for (const contract of Object.keys(changes)
|
|
33462
|
+
for (const contract of Object.keys(changes).sort(
|
|
33463
|
+
(a, b) => a.localeCompare(b)
|
|
33464
|
+
)) {
|
|
33463
33465
|
report += `#### ${getContractName(contract)}
|
|
33464
33466
|
|
|
33465
33467
|
\`\`\`diff
|
|
@@ -33788,7 +33790,7 @@ ${payload.actions.map(
|
|
|
33788
33790
|
report += "### Verification status for contracts touched in the proposal\n\n";
|
|
33789
33791
|
report += "| Contract | Status |\n";
|
|
33790
33792
|
report += "|---------|------------|\n";
|
|
33791
|
-
verified.map((contract) => {
|
|
33793
|
+
verified.sort((a, b) => a.address.localeCompare(b.address)).map((contract) => {
|
|
33792
33794
|
report += `| ${getContractName(sim, contract.address)} | ${verificationStatusToString(contract.status)} |
|
|
33793
33795
|
`;
|
|
33794
33796
|
});
|
|
@@ -33800,7 +33802,7 @@ ${payload.actions.map(
|
|
|
33800
33802
|
`;
|
|
33801
33803
|
report += "| Address | Result |\n";
|
|
33802
33804
|
report += "|---------|------------|\n";
|
|
33803
|
-
selfDestruct.map((selfDestruct2) => {
|
|
33805
|
+
selfDestruct.sort((a, b) => a.address.localeCompare(b.address)).map((selfDestruct2) => {
|
|
33804
33806
|
report += `| ${getContractName(sim, selfDestruct2.address)} | ${selfDestructStatusToString(
|
|
33805
33807
|
selfDestruct2.state
|
|
33806
33808
|
)} |
|