Docs/b20 implementation - #1774
Open
soheimam wants to merge 1 commit into
Open
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Collaborator
🟡 Heimdall Review Status
|
soheimam
force-pushed
the
docs/b20-implementation
branch
2 times, most recently
from
August 5, 2026 20:42
410c237 to
f81db68
Compare
roethke
reviewed
Aug 6, 2026
| import {StdPrecompiles} from "base-std/StdPrecompiles.sol"; | ||
|
|
||
| contract AuditB20Policies is Script { | ||
| bytes32[5] internal scopes = [ |
Collaborator
There was a problem hiding this comment.
This bytes32[5] scopes array omits SEIZE_RECEIVER_POLICY, a real 6th policy scope (B20Constants.sol, IB20.sol:274). As written, the AuditB20Policies sample silently skips a scope, so anyone copying it would under-audit. Make it bytes32[6] and add B20Constants.SEIZE_RECEIVER_POLICY.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changed? Why?
Added implementation guides for b20 spec