Skip to content

refactor(vibenet): simplify conditional withdrawal contract - #126

Merged
haardikk21 merged 3 commits into
mainfrom
validity-simple-withdrawal-contract
Sep 3, 2026
Merged

refactor(vibenet): simplify conditional withdrawal contract#126
haardikk21 merged 3 commits into
mainfrom
validity-simple-withdrawal-contract

Conversation

@haardikk21

Copy link
Copy Markdown
Contributor

Summary

  • simplify ConditionalWithdrawal.sol to use a normal bool public enabled in storage slot 0
  • remove the custom hashed storage slot, inline assembly, and redundant flip() function
  • update the Race the Agent predicate to read slot 0 with a one-byte boolean mask
  • regenerate the Solidity ABI and bytecode artifact, producing a new deterministic contract address
  • add a collapsed Advanced details section showing the Solidity contract and exact runtime predicate
  • add lightweight Solidity and JSON syntax highlighting with readable light and dark themes

Stack

Verification

  • conditional withdrawal contract, deployment, predicate, and race tests passed
  • npm run typecheck
  • targeted ESLint
  • npm run build
  • local Race the Agent route returned HTTP 200

@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
omni-ui Ready Ready Preview Sep 3, 2026 7:58pm UTC

Request Review

montycheese
montycheese previously approved these changes Sep 2, 2026
@cb-heimdall

cb-heimdall commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

BrianBland
BrianBland previously approved these changes Sep 3, 2026
@haardikk21
haardikk21 added this pull request to the merge queue Sep 3, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue because a pull request earlier in the stack was removed Sep 3, 2026
haardikk21 and others added 3 commits September 3, 2026 15:57
Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
@haardikk21
haardikk21 added this pull request to the merge queue Sep 3, 2026
Base automatically changed from validity-hide-overview-card to main September 3, 2026 20:05
Merged via the queue into main with commit 060735d Sep 3, 2026
15 of 21 checks passed
@haardikk21
haardikk21 deleted the validity-simple-withdrawal-contract branch September 3, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants