feat: add gasless to default preinstalled petals - #146
Open
0xdewy wants to merge 7 commits into
Open
Conversation
Wire gasless Relay petal into bloom core as a default preinstalled petal: - Add PREINSTALLED_GASLESS catalog entry in github_source.rs (repo bloom-directory/bloom-petal-gasless, pinned to audit-fixes commit bef056f, release v0.1.0, hash 545cf8d2...) - Add 'gasless' to preinstalled_petal() match resolver - Add 'gasless' to default_preinstalled_petals() in config.rs - Update config validation allow-list and all test assertions The gasless petal enables EIP-3009 permit-based gasless transfers and swaps via Relay across 6 chains (ethereum, base, arbitrum, optimism, polygon, avalanche). Signing uses the generic petal:* attestation path — no auth-api changes needed.
After deleting the legacy Hyperliquid module (1,612 lines, 7 route files), the petal has 5 routes instead of 13 and a new package hash. Update the catalog pin: - commit: bef056f → 727765f (audit-fixes HEAD after legacy removal) - hash: 545cf8d2 → d597058a (rebuilt, verified deterministic) - signing intents: gasless.deposit removed (petal.toml already clean)
Pin gasless to commit 73ccf05 / release v0.1.1. Includes comprehensive agent-facing documentation (state machine, token reference table, self-documenting status.json) and removes the now-unused GASLESS_RELEASE_COMMIT constant.
Match the polymarket/near-intents pattern: define a GASLESS_RELEASE_COMMIT constant with the full 40-char SHA, reference it from the PreinstalledPetal struct. Also fixes the v0.1.1 petal-release.json to include all required schema fields (archive_sha256, source_repository, tooling_commit, etc).
0xdewy
force-pushed
the
feat/gasless-default-petal
branch
from
August 6, 2026 20:24
2d55baf to
be6bf79
Compare
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
Adds gasless as a default preinstalled petal alongside polymarket and near-intents.
Gasless is a clean single-purpose Relay EIP-3009 permit petal (5 routes, 13/13 tests). The legacy Hyperliquid deposit module was removed — all chain pairs including Hyperliquid flow through the canonical generic
transactions/<wallet>/<id>.jsonroute.Catalog pin:
bloom-petal-gaslessv0.1.0, commit727765f, hashd597058aChanges:
github_source.rs:GASLESS_RELEASE_COMMIT+PREINSTALLED_GASLESScatalog entry +"gasless"match armconfig.rs:default_preinstalled_petals()=["polymarket", "near-intents", "gasless"]+ 4 test assertionsTests: 42/42 bloom tests pass, 32/32 config tests pass.
Depends on: bloom-petal-gasless v0.1.0 release (✅ published)
Checklist
config.rsfor the new default petaldocs/architecture/) updated if contracts or behavior changed — N/A (config-only change, no contract/behavior change)crates/bloom-vfs/src/docs/agent-guidance.mdand affected Petal READMEs) — N/A (no agent-facing behavior change)