Skip to content

docs: add proposal 4 with upgrade v7.1#24

Open
Thaleszh wants to merge 1 commit intomainfrom
docs/proposal-4
Open

docs: add proposal 4 with upgrade v7.1#24
Thaleszh wants to merge 1 commit intomainfrom
docs/proposal-4

Conversation

@Thaleszh
Copy link
Collaborator

Description

  • Add proposal for upgrade v7.1, again

Type of change

  • Documentation (updates documentation on the project)

@coderabbitai
Copy link

coderabbitai bot commented Mar 20, 2026

Walkthrough

A new JSON proposal file is added at kiichain/proposals/proposal_4.json that defines a Cosmos SDK MsgSoftwareUpgrade message. The proposal specifies an upgrade targeting version v7.1.0-mainnet at block height 3733250. The file includes metadata with an IPFS CID reference, deposit information, a human-readable title and summary describing the scheduled upgrade, and an authority address. The proposal is marked as expedited. The file contains 20 lines and lacks a trailing newline.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding a new proposal file for v7.1 upgrade, which is the primary change in this PR.
Description check ✅ Passed The description includes a summary and correctly identifies the change type as Documentation, but omits the 'How Has This Been Tested?' section from the template.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/proposal-4
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🧹 Nitpick comments (1)
kiichain/proposals/proposal_4.json (1)

20-20: Consider adding trailing newline.

The file ends without a trailing newline. While not critical, adding a newline at the end of the file follows common conventions and helps avoid issues with some text processing tools.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@kiichain/proposals/proposal_4.json` at line 20, The JSON file
kiichain/proposals/proposal_4.json ends with a closing brace '}' but lacks a
trailing newline; update the file so that the final character is a newline
(i.e., add a '\n' after the final '}'), ensuring the file ends with a single
trailing newline to follow POSIX/text-file conventions.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@kiichain/proposals/proposal_4.json`:
- Line 9: The summary text in proposal_4.json references the wrong block height
(mentions "3,585,457") while the upgrade plan's "height" field is "3733250";
update the summary string so any human-readable height matches the numeric
"height" value "3733250" and search the file for any other occurrences of the
old height (e.g., in the summary or description fields) to replace them so all
references are consistent with the "height" property.
- Line 15: Replace the placeholder value for the JSON key "metadata" in
proposal_4.json with the actual IPFS content identifier (e.g., "ipfs://Qm...")
that points to the full proposal document; ensure the value is a valid
ipfs://CID string (no extra whitespace or quotes beyond JSON string rules) so
the metadata field resolves to the real proposal content before submission.
- Around line 7-9: The proposal's summary in proposal_4.json is out of date:
update the summary text to reference the new scheduled height from the "height"
field ("3733250") so it reads "block height 3,733,250" instead of "3,585,457";
locate the JSON object for proposal_4 (fields "name", "time", "height") and edit
its "summary" value to exactly reflect the corrected formatted height.
- Line 16: The "deposit" field in proposal_4.json is set to
"3500000000000000000000akii" which is 3,500 KII and below the expedited minimum;
update the deposit value for the proposal's "deposit" key to the required
expedited minimum "35000000000000000000000akii" (35,000 KII) so the proposal
meets genesis.json expedited deposit requirements.

---

Nitpick comments:
In `@kiichain/proposals/proposal_4.json`:
- Line 20: The JSON file kiichain/proposals/proposal_4.json ends with a closing
brace '}' but lacks a trailing newline; update the file so that the final
character is a newline (i.e., add a '\n' after the final '}'), ensuring the file
ends with a single trailing newline to follow POSIX/text-file conventions.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: cd096756-7a47-426d-b790-470e0e27de27

📥 Commits

Reviewing files that changed from the base of the PR and between 67915fc and a53f596.

📒 Files selected for processing (1)
  • kiichain/proposals/proposal_4.json

Comment on lines +7 to +9
"name": "v7.1.0-mainnet",
"time": "0001-01-01T00:00:00Z",
"height": "3733250",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Compare proposal_3 and proposal_4 to verify version naming pattern

echo "=== Comparing proposal_3 and proposal_4 ==="
echo "Proposal 3:"
cat kiichain/proposals/proposal_3.json | jq -r '{version: .plan.name, height: .plan.height}'

echo -e "\nProposal 4:"
cat kiichain/proposals/proposal_4.json | jq -r '{version: .messages[0].plan.name, height: .messages[0].plan.height}'

echo -e "\n=== All proposals in directory ==="
fd -e json . kiichain/proposals/ --exec sh -c 'echo "File: {}"; cat {} | jq -r ".messages[0].plan.name // .plan.name // \"N/A\"" 2>/dev/null || cat {} | jq -r ".plan.name // \"N/A\"" 2>/dev/null'

Repository: KiiChain/mainnets

Length of output: 467


🏁 Script executed:

echo "=== Proposal 3 Content ===" && cat kiichain/proposals/proposal_3.json && echo -e "\n=== Proposal 4 Content ===" && cat kiichain/proposals/proposal_4.json

Repository: KiiChain/mainnets

Length of output: 1794


Update summary field with correct block height.

Proposal 4 reschedules the same upgrade (v7.1.0-mainnet) for a later block height (3733250), but its summary field still references the original height from proposal 3 (3,585,457). Update the summary to reflect the new scheduled height: "block height 3,733,250" instead of "3,585,457".

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@kiichain/proposals/proposal_4.json` around lines 7 - 9, The proposal's
summary in proposal_4.json is out of date: update the summary text to reference
the new scheduled height from the "height" field ("3733250") so it reads "block
height 3,733,250" instead of "3,585,457"; locate the JSON object for proposal_4
(fields "name", "time", "height") and edit its "summary" value to exactly
reflect the corrected formatted height.

"plan": {
"name": "v7.1.0-mainnet",
"time": "0001-01-01T00:00:00Z",
"height": "3733250",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Major: Block height mismatch between plan and summary.

The upgrade plan specifies height "3733250" (line 9), but the summary text incorrectly states "block height 3,585,457" (line 18). The summary appears to have been copied from proposal_3.json without updating the height reference.

📝 Proposed fix
-    "summary": "This proposal upgrades Kiichain to version v7.1.0-mainnet.\n\nThe upgrade is scheduled for 2026-03-19 around 17:00:00 UTC (block height 3,585,457).\n\nChangelog and release details:\n- https://github.com/KiiChain/kiichain/releases/tag/v7.1.0-mainnet",
+    "summary": "This proposal upgrades Kiichain to version v7.1.0-mainnet.\n\nThe upgrade is scheduled for 2026-03-19 around 17:00:00 UTC (block height 3,733,250).\n\nChangelog and release details:\n- https://github.com/KiiChain/kiichain/releases/tag/v7.1.0-mainnet",

Also applies to: 18-18

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@kiichain/proposals/proposal_4.json` at line 9, The summary text in
proposal_4.json references the wrong block height (mentions "3,585,457") while
the upgrade plan's "height" field is "3733250"; update the summary string so any
human-readable height matches the numeric "height" value "3733250" and search
the file for any other occurrences of the old height (e.g., in the summary or
description fields) to replace them so all references are consistent with the
"height" property.

}
}
],
"metadata": "ipfs://CID",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Replace IPFS CID placeholder.

The metadata field contains a placeholder "ipfs://CID" that should be replaced with an actual IPFS content identifier pointing to the full proposal documentation before submission.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@kiichain/proposals/proposal_4.json` at line 15, Replace the placeholder value
for the JSON key "metadata" in proposal_4.json with the actual IPFS content
identifier (e.g., "ipfs://Qm...") that points to the full proposal document;
ensure the value is a valid ipfs://CID string (no extra whitespace or quotes
beyond JSON string rules) so the metadata field resolves to the real proposal
content before submission.

}
],
"metadata": "ipfs://CID",
"deposit": "3500000000000000000000akii",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify the expedited_min_deposit parameter from genesis or governance module

# Check governance params in genesis.json
if [ -f "kiichain/genesis.json" ]; then
  echo "=== Expedited Min Deposit from genesis.json ==="
  cat kiichain/genesis.json | jq -r '.app_state.gov.params.expedited_min_deposit'
fi

# Also check if there are any governance parameter update proposals
echo -e "\n=== Searching for governance parameter updates ==="
rg -n "expedited_min_deposit" --type json

Repository: KiiChain/mainnets

Length of output: 294


🏁 Script executed:

cat kiichain/proposals/proposal_4.json | jq -r '.deposit'

Repository: KiiChain/mainnets

Length of output: 87


Critical: Deposit amount insufficient for expedited proposal.

The deposit is 3500000000000000000000akii (3,500 KII), but the expedited minimum deposit requirement is 35000000000000000000000akii (35,000 KII) as defined in genesis.json. This proposal will fail submission as the deposit is 10x too small.

Proposed fix
-    "deposit": "3500000000000000000000akii",
+    "deposit": "35000000000000000000000akii",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"deposit": "3500000000000000000000akii",
"deposit": "35000000000000000000000akii",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@kiichain/proposals/proposal_4.json` at line 16, The "deposit" field in
proposal_4.json is set to "3500000000000000000000akii" which is 3,500 KII and
below the expedited minimum; update the deposit value for the proposal's
"deposit" key to the required expedited minimum "35000000000000000000000akii"
(35,000 KII) so the proposal meets genesis.json expedited deposit requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant