-
Notifications
You must be signed in to change notification settings - Fork 30
MF3-L19: fix: prevent SC reentrancy + event-handler monotonicity #837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nksazonov
wants to merge
9
commits into
fix/audit-findings-finalx3
Choose a base branch
from
fix/mf3-l19
base: fix/audit-findings-finalx3
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
6452862
MF3-L19: fix(nitronode): add version-monotonicity guards to event han…
nksazonov 94bba9b
feat(nitronode): chain-state refresh for dropped guard events
nksazonov 2a6a9f0
MF3-L19: fix(contracts): add nonReentrant to ChannelHub lifecycle ent…
nksazonov f8befcf
MF3-L19: docs: document version-monotonicity guards and reentrancy in…
nksazonov aa879a2
MF3-L19: docs: record hook-token non-support on current deployments
nksazonov 1bed006
MF3-L19: refactor(nitronode): per-reactor ReadOnlyChannelHub for chai…
nksazonov 163a2fd
MF3-L19: docs: address PR review feedback on deployment notes and con…
nksazonov 92299e3
MF3-L19: fix(nitronode): bound refresh RPC and log-and-continue on fa…
nksazonov f8d7273
Merge branch 'fix/audit-findings-finalx3' into fix/mf3-l19
nksazonov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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,36 @@ | ||
| # ChannelHub Deployments — Hook-Token Support | ||
|
|
||
| The `ChannelHub` deployments listed in the matrix below **do not support | ||
| hook-enabled tokens**. The following token classes MUST NOT be onboarded to | ||
| any of these deployments: | ||
|
|
||
| - **ERC777** (e.g. `imBTC`, legacy `xDAI`) | ||
| - **ERC1363 / ERC677** | ||
| - **Non-standard ERC20 with re-entrant `transferFrom`** (some rebasing or | ||
| fee-on-transfer tokens with callbacks) | ||
|
|
||
| Enforcement is the responsibility of the Node operator. This constraint may | ||
| be lifted on future deployments to new chains; each new deployment must be | ||
| added to the matrix below with its support status recorded explicitly. | ||
|
|
||
| Last reviewed: 2026-06-15. | ||
|
|
||
| ## Matrix | ||
|
|
||
| | Chain ID | Chain | ChannelHub Address | Deploy Commit | Deploy Tag | | ||
| | ---: | --- | --- | --- | --- | | ||
| | 1 | Ethereum | `0x1a2f750170474d4c54f8d318d9d4343588b4c4d1` | `e07ad9c2` | prod v1.3.0 | | ||
| | 14 | Flare | `0x1a2f750170474d4c54f8d318d9d4343588b4c4d1` | `e07ad9c2` | prod v1.3.0 | | ||
| | 56 | BNB Smart Chain | `0x1a2f750170474d4c54f8d318d9d4343588b4c4d1` | `e07ad9c2` | prod v1.3.0 | | ||
| | 137 | Polygon | `0x1a2f750170474d4c54f8d318d9d4343588b4c4d1` | `e07ad9c2` | prod v1.3.0 | | ||
| | 480 | World Chain | `0x1a2f750170474d4c54f8d318d9d4343588b4c4d1` | `e07ad9c2` | prod v1.3.0 | | ||
| | 8453 | Base | `0x1a2f750170474d4c54f8d318d9d4343588b4c4d1` | `e07ad9c2` | prod v1.3.0 | | ||
| | 59144 | Linea | `0x1a2f750170474d4c54f8d318d9d4343588b4c4d1` | `e07ad9c2` | prod v1.3.0 | | ||
| | 80002 | Polygon Amoy | `0x5dba8515af063db0c243c15ece7b99f91459c7c3` | `b88d511c` | sandbox v1.3.0 | | ||
| | 84532 | Base Sepolia | `0x5dba8515af063db0c243c15ece7b99f91459c7c3` | `b88d511c` | sandbox v1.3.0 | | ||
| | 84532 | Base Sepolia | `0x61b9e0767f2eca7e33802e82f9c64b1ebe72ba31` | `9110ba06` | stress v1.3.0 | | ||
| | 59141 | Linea Sepolia | `0x5dba8515af063db0c243c15ece7b99f91459c7c3` | `b88d511c` | sandbox v1.3.0 | | ||
| | 1440000 | XRPL EVM | `0x1a2f750170474d4c54f8d318d9d4343588b4c4d1` | `e07ad9c2` | prod v1.3.0 | | ||
| | 1449000 | XRPL EVM Testnet | `0x5dba8515af063db0c243c15ece7b99f91459c7c3` | `b88d511c` | sandbox v1.3.0 | | ||
| | 11155111 | Sepolia | `0x5dba8515af063db0c243c15ece7b99f91459c7c3` | `b88d511c` | sandbox v1.3.0 | | ||
| | 11155111 | Sepolia | `0x7d61ec428cfae560f43647af567ea7c6e2cc5527` | `104c13df` | stress v1.3.0 | | ||
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.