feat: #2392 add Renzo liquid restaking protocol integration - #2421
Open
zkasuran wants to merge 3 commits into
Open
feat: #2392 add Renzo liquid restaking protocol integration#2421zkasuran wants to merge 3 commits into
zkasuran wants to merge 3 commits into
Conversation
Add Renzo as a new protocol plugin (mainnet only): - protocols/renzo.ts with depositETH write, paused gate, ezETH balance and totalSupply reads - On-chain integration test (protocol-renzo-onchain.test.ts) - Unit test with 18 cases including chain exclusion assertions - Calldata golden for bound-encode regression coverage - docs/plugins/renzo.md with "Why no testnet entry" section - _meta.ts key and overview.md row - Logo from Trust Wallet assets (256x256 PNG)
Contributor
About the
|
Resolve conflict in lib/types/integration.ts (generated file, regenerated via discover-plugins after taking the upstream version).
The ezETH ABI had unnamed outputs (name: ""), which means
structureAbiOutputs returns the bare scalar rather than wrapping
it in { totalSupply: value }. The testData expectations reference
field: "totalSupply" and field: "balance", which resolve against
the named output keys. Name them in the ABI and key the overrides
to the ABI names instead of "result".
Author
|
@suisuss, my PR for this is #2421. It covers every item from your acceptance comment:
tsgo clean, biome clean, unit 18/18, calldata goldens 515/515. Rebased on current staging, merge conflict resolved. Ready for CI approve-run whenever you have a moment. |
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.
Issue
Closes #2392
What this changes
Adds Renzo as a new ABI-driven protocol plugin. Renzo is a liquid restaking protocol on Ethereum: users deposit native ETH into the Restake Manager and receive ezETH, a non-rebasing token that accrues staking plus EigenLayer restaking rewards.
Four actions exposed:
depositETH()on the Restake ManagerMainnet only. Renzo has no testnet deployment (verified against official docs and Sepolia/Holesky/Goerli explorers).
Files:
protocols/renzo.ts+ ABIs underprotocols/abis/renzo-*.jsontests/unit/protocol-renzo.test.ts(18 cases: shape, slug uniqueness, chain inclusion/exclusion, address verification, registry round-trip)tests/integration/protocol-renzo-onchain.test.ts(4 on-chain cases viaprovider.callandestimateGasagainst deployed bytecode)tests/unit/__goldens__/protocol-calldata/renzo.json(bound-encode calldata golden)docs/plugins/renzo.mdwith a "Why no testnet entry" section, key in_meta.ts, row inoverview.mdpublic/protocols/renzo.png(real logo from Trust Wallet assets, 256x256)Contract addresses verified on-chain 2026-09-10: RestakeManager at
0x74a09653A083691711cF8215a6ab074BB4e99ef5(paused()false,renzoOracle()live); ezETH at0xbf5495Efe5DB9ce00f80364C8B423567e58d2110(name "Renzo Restaked ETH", ~41k ETH supply).Scope
One change. The protocol definition, its tests, its golden, its docs page and its logo are interdependent: the golden and on-chain tests import the definition, the docs page describes the actions it exposes.
How it was verified
pnpm vitest run tests/unit/protocol-renzo.test.ts: 18/18 passedUPDATE_GOLDENS=1 pnpm vitest run tests/unit/protocol-calldata.test.ts: 515/515 passed (renzo golden generated and pinned)pnpm vitest run tests/unit/protocol-calldata.test.ts: golden matchestsgo --noEmit: clean (only pre-existing@workflow/buildersmiss)biome checkon all touched files: cleanOn-chain integration test (
protocol-renzo-onchain.test.ts) validates all four actions against deployed mainnet bytecode viaeth_call. Runs on public RPC, no wallet needed.Screenshots
No rendered UI changes.
stagingpnpm checkandpnpm type-checkpass.envfiles, or credentials committedAI assistance (Claude, Anthropic) was used in developing this change. The design, review and verification were done by the author. Verified locally: unit tests (18/18), calldata goldens (515/515), tsgo and biome clean, on-chain integration tests against deployed mainnet bytecode.