Repository navigation
fix: honest Blueprint-gated states, enforced pause, real A9 storage prices - #24
Open
Gift-Stack wants to merge 6 commits into
Open
Gift-Stack wants to merge 6 commits into
Gift-Stack wants to merge 6 commits into
Conversation
…p masking example projects as open successes
This branch has not been deployed
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.
Closes out the remaining honesty gaps: every feature that needs the (not-yet-built) Blueprint project pipeline now says so explicitly, and no handler fabricates data. Four atomic commits.
Bridge
workspace.openno longer ignores its path. Demo/example paths map to their own sandbox workspaces; any other path fails honestly: "Opening a Blueprint project from disk is not supported by this bridge build yet…". Previously a dead ternary silently returned the demo workspace as if it were your project.account.revealMnemonicno longer fabricates a 24-word phrase. Sandbox treasuries are seed-derived; it now throws "…have no mnemonic to reveal."contract.abireturnsavailable: false+ a note ("needs an open Blueprint project (.abi.json)…") instead of a bare empty list; mocks in lockstep withavailable: true.test.subscribeemits arun-endwith anunavailablepayload instead of a fake test failure.time.setPausedis now enforced. Paused pinsblockchain.now; running time flows as wall clock + offset (re-pinned before every execution path); advance/setNow while paused move the frozen point; unpause resumes forward with no backwards jump.App
(cells·cell_price_ps + bits·bit_price_ps)·seconds / 2^16, bigint) over a clearly-labeled reference footprint — replacing the invented 10 nanoTON/s constant. Honest "prices unavailable" note when p18 isn't decoded.RATIFY_IN_A6_SPIKElist (field names long since ratified against the live bridge).Verification
pnpm tsc+pnpm lintgreen; bridge smokeALL OK.nowacross 1.6s, +3600 advance moved it exactly, unpause resumed flowing;contract.abireturns the degraded shape.