feat: add Robinhood Chain (4663) contract addresses for Aqua and SwapVM - #82
Merged
Conversation
Co-authored-by: Kirill <krboktv@gmail.com>
|
|
cursor/add-robinhood-chain-9d7f |
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 Robinhood Chain support to both SDKs:
NetworkEnum.ROBINHOOD = 4663in@1inch/sdk-core0x7c2d4aa5c900c08004fadb1c0d953c5b099fec860x3c4758979ec30ca45857cabc2462a70699ed790e(the redeployed v1.0.1 address, same as all other chains — NOT the outdated0xa5368dd669...)Both addresses were verified on-chain via
eth_getCodeonrpc.mainnet.chain.robinhood.com(Aqua: 5,619 bytes of code, SwapVM: 20,379 bytes).Testing
pnpm build:contracts && pnpm build— passpnpm lint,pnpm lint:types,pnpm test— passFORK_URL=https://ethereum-rpc.publicnode.com pnpm test:e2e— aqua 3/3 pass; swap-vm 10/13 pass, the 3 failures are the known fork-state-dependent exact-price assertions (13th-significant-digit drift, pre-existing and unrelated to this change)AQUA_CONTRACT_ADDRESSES[NetworkEnum.ROBINHOOD]andAQUA_SWAP_VM_CONTRACT_ADDRESSES[NetworkEnum.ROBINHOOD]return the expected addresses