Skip to content

Update Rue to 0.13.0 - #8

Merged
Rigidity merged 1 commit into
mainfrom
rigidity/update-auctions-to-rue-0-13-0
Nov 23, 2026
Merged

Rigidity merged 1 commit into
mainfrom
rigidity/update-auctions-to-rue-0-13-0

Conversation

@Rigidity

Copy link
Copy Markdown
Contributor

Updates the Rue compiler from 0.11.0 to 0.13.0 and rebuilds the puzzles. The CHIP isn't final, so the puzzle hashes can still change.

Changes

  • Rue.toml: compiler version 0.11.0 → 0.13.0 (CI installs the version from this file).
  • nft_unlocker.rue: reformatted with rue fmt. The new formatter breaks the long main signature across parameters. No code changes.
  • Rebuilt with rue build -a -s -x -h. Only bid_action and end_action changed. cancel_action, both bid verifiers and nft_unlocker compile to the same bytes as before.

Bytecode size

Puzzle 0.11.0 0.13.0 Δ
bid_action 461 449 −12
end_action 661 650 −11
cancel_action 259 259 0
flat_bid_verifier 53 53 0
percent_bid_verifier 69 69 0
nft_unlocker 132 132 0

Behavior

There's no semantic change. Comparing the disassembly:

  • bid_action: the nested (all (all (all (all a b) c) d) e) chain is now one variadic (all a b c d e). Same result, with fewer bytes and operators.
  • end_action: the outer let that bound the winning bid amount into a new environment layer ((a (q ...) (c <path> 1))) is gone. The value is now read straight from its environment path in each of its 4 uses (premium, commission and royalty math, and the seller payout subtraction). The conditions it produces are the same.

bid_action and end_action have new puzzle hashes. Puzzles built with the old compiler won't match the new ones.

Testing

  • cargo test --all-targets: all tests pass.
  • rue fmt --check is clean, and rebuilding gives no diff.

Note

Low Risk

This is a compiler upgrade with no source changes beyond formatting, and the disassembly shows the same semantics. All tests pass. The only visible effect is new puzzle hashes for the bid and end actions, which is expected while the CHIP is still in draft.

  • Tooling: Rue 0.11.0 → 0.13.0
  • Puzzles: bid_action and end_action recompiled (−12 and −11 bytes), nft_unlocker reformatted

@Rigidity
Rigidity merged commit cfb8f95 into main Nov 23, 2026
4 checks passed
@Rigidity
Rigidity deleted the rigidity/update-auctions-to-rue-0-13-0 branch November 23, 2026 17:48
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.

1 participant