-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7921ecf
commit d06b483
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+1.1 MB
security-reports/2023-05-Nibiru-Salus-Penetration-Testing-Report-V2-脱敏.pdf
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Postmortem | ||
|
||
## Summary | ||
|
||
On Sept 30 @ 22:16:01 UTC time, the `nibiru-itn-2` network halted at block `1131575`. | ||
|
||
## Root Cause | ||
|
||
The binary was missing a wasm extension that copies the `wasm` smart contract folder for state syncs. Nodes that joined the network via state sync were missing `wasm` smart contracts. Later on, these nodes became validator nodes, and the set of smart contracts differed between validator nodes. | ||
|
||
A tx in block `1131574` was submitted against one of these missing smart contracts (with code_id 3). Some validators were able to execute the tx successfully and other validators errored out since they didn’t have the wasm smart contract in their local disk. Hence the chain halted while validating the `app_hash` in block `1131575`. | ||
|
||
## Resolution | ||
|
||
The issue was fixed in [PR #1616](https://github.com/NibiruChain/nibiru/pull/1616) and backported to the [v0.21.x release branch](https://github.com/NibiruChain/nibiru/tree/releases/v0.21.x) (currently in [v0.21.11](https://github.com/NibiruChain/nibiru/releases/tag/v0.21.11)). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Nibiru/security-reports | ||
|
||
Audits and security reports related to Nibiru blockchain, related smart contracts, and core applications. | ||
|
||
## Audit History | ||
|
||
- **2024-11 Nibiru Audit - Code4rena Competitive Audit**: (Report in progress) | ||
- **2024-10 Nibiru Audit - Code4rena Zenith Audit**: (Report in progress) | ||
- **2023-09-30-Nibiru-ITN2-Chain-Halt.md**: Report of a chain halt resulting from | ||
high volatility in Nibiru Oracle exchange rates, causing unwarranted slashing of | ||
the validator set that powers the oracle. | ||
- **2023-07-Nibiru-Zellic-Audit-Report.pdf**: ... | ||
- **2023-05-Nibiru-Salus-Penetration-Testing-Report-V2-脱敏.pdf**: ... |