docs: add step-by-step playground UI instructions to b20 bug bash#172
Closed
rayyan224 wants to merge 1 commit into
Closed
docs: add step-by-step playground UI instructions to b20 bug bash#172rayyan224 wants to merge 1 commit into
rayyan224 wants to merge 1 commit into
Conversation
Rewrites all five journeys (J1–J5) in b20-bug-bash.md with numbered, UI-first steps that walk participants through the playground instead of raw cast commands or vague "via the playground" references. J1 (Create): connect → predict address in utils tab → create Asset and Stablecoin in tokens tab → check explorer/indexer/wallet surfaces. J2 (Mint): grant MINT_ROLE via Authz section → mint via Supply section → attempt unauthorized mint → verify across explorer/indexer/wallet. J3 (Policy + Transfer): create allowlist in registry tab → attach to token via Compliance section → transfer to allowed wallet → send with memo → transfer to non-member (expect PolicyForbids) → check surfaces. J4 (Liquidity): connect to Base Sepolia → build Pool Key → read pool state → initialize pool → add/remove liquidity → decimals check. J5 (Swap): quote before swapping → swap ETH→B20 → swap B20→ETH with inline approve → verify quote matches execution → check fee accrual. Also adds the Uniswap V4 Base Sepolia contract address table and updates the playground link in reference links to note Base Sepolia / Uniswap tab. Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
Interface Coverage✅ All interface functions have test coverage. |
📊 Forge Coverage (
|
| File | Lines | Stmts | Branches | Funcs |
|---|---|---|---|---|
| 🟢 B20FactoryLib.sol | 100.00% | 100.00% | 100.00% | 100.00% |
| 🔴 test/lib/ForceFeeder.sol | 0.00% | 0.00% | 100.00% | 0.00% |
| 🔴 test/lib/PrecompileProbe.sol | 0.00% | 0.00% | 0.00% | 0.00% |
| 🟢 MockActivationRegistry.sol | 100.00% | 100.00% | 100.00% | 100.00% |
| 🟢 MockActivationRegistryStorage.sol | 100.00% | 100.00% | 100.00% | 100.00% |
| 🟢 MockB20.sol | 100.00% | 100.00% | 100.00% | 100.00% |
| 🟢 MockB20Asset.sol | 100.00% | 100.00% | 100.00% | 100.00% |
| 🟡 MockB20Factory.sol | 98.96% | 99.10% | 100.00% | 100.00% |
| 🟢 MockB20Stablecoin.sol | 100.00% | 100.00% | 100.00% | 100.00% |
| 🟢 MockB20Storage.sol | 100.00% | 100.00% | 100.00% | 100.00% |
| 🟢 MockPolicyRegistry.sol | 100.00% | 100.00% | 100.00% | 100.00% |
| 🟢 MockPolicyRegistryStorage.sol | 100.00% | 100.00% | 100.00% | 100.00% |
| Total | 96.69% | 97.23% | 98.39% | 96.89% |
Full report: download artifact. To browse locally: make coverage (runs forge coverage + genhtml + opens the HTML report).
✅ Fork tests: all 616 passedbase/base is fully in sync with the base-std spec. |
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.
Summary
Rewrites all five journeys in
docs/b20-bug-bash.mdwith numbered, UI-first steps that walk bug-bash participants through the playground instead of vague "via the playground or cast" references.PolicyForbids) → check propagationAlso adds the Uniswap V4 Base Sepolia contract address table to J4 and updates the playground link in reference links.
Test plan