@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/index.mjs
CHANGED
|
@@ -33355,7 +33355,9 @@ function getObjectDiff(obj1, obj2) {
|
|
|
33355
33355
|
}
|
|
33356
33356
|
function renderMarkdownStateDiffReport(changes, getContractName = (address) => `${address}`) {
|
|
33357
33357
|
let report = "";
|
|
33358
|
-
for (const contract of Object.keys(changes)
|
|
33358
|
+
for (const contract of Object.keys(changes).sort(
|
|
33359
|
+
(a, b) => a.localeCompare(b)
|
|
33360
|
+
)) {
|
|
33359
33361
|
report += `#### ${getContractName(contract)}
|
|
33360
33362
|
|
|
33361
33363
|
\`\`\`diff
|
|
@@ -33684,7 +33686,7 @@ ${payload.actions.map(
|
|
|
33684
33686
|
report += "### Verification status for contracts touched in the proposal\n\n";
|
|
33685
33687
|
report += "| Contract | Status |\n";
|
|
33686
33688
|
report += "|---------|------------|\n";
|
|
33687
|
-
verified.map((contract) => {
|
|
33689
|
+
verified.sort((a, b) => a.address.localeCompare(b.address)).map((contract) => {
|
|
33688
33690
|
report += `| ${getContractName(sim, contract.address)} | ${verificationStatusToString(contract.status)} |
|
|
33689
33691
|
`;
|
|
33690
33692
|
});
|
|
@@ -33696,7 +33698,7 @@ ${payload.actions.map(
|
|
|
33696
33698
|
`;
|
|
33697
33699
|
report += "| Address | Result |\n";
|
|
33698
33700
|
report += "|---------|------------|\n";
|
|
33699
|
-
selfDestruct.map((selfDestruct2) => {
|
|
33701
|
+
selfDestruct.sort((a, b) => a.address.localeCompare(b.address)).map((selfDestruct2) => {
|
|
33700
33702
|
report += `| ${getContractName(sim, selfDestruct2.address)} | ${selfDestructStatusToString(
|
|
33701
33703
|
selfDestruct2.state
|
|
33702
33704
|
)} |
|