Skip to content

Commit b143703

Browse files
committed
remove rmn blessing
1 parent c866a76 commit b143703

File tree

12 files changed

+484
-1415
lines changed

12 files changed

+484
-1415
lines changed

src/components/CCIP/ChainHero/ChainHero.tsx

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -212,28 +212,6 @@ function ChainHero({ chains, tokens, network, token, environment, lanes }: Chain
212212
)}
213213
</div>
214214
</div>
215-
{/*
216-
<div className="ccip-chain-hero__details__item">
217-
<div className="ccip-chain-hero__details__label">
218-
RMN Blessing
219-
<Tooltip
220-
label=""
221-
tip="Indicates if messages from this chain are blessed by RMN."
222-
labelStyle={{
223-
marginRight: "8px",
224-
}}
225-
style={{
226-
display: "inline-block",
227-
verticalAlign: "middle",
228-
marginBottom: "2px",
229-
}}
230-
/>
231-
</div>
232-
<div className="ccip-chain-hero__details__value" data-clipboard-type="rmn-blessing">
233-
{network?.rmnPermeable === false ? "Enabled" : "Disabled"}
234-
</div>
235-
</div>
236-
*/}
237215

238216
{/* Conditional rendering based on chain type */}
239217
{network.chainType === "evm" && (

src/components/CCIP/ChainHero/LaneDetailsHero.tsx

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ interface LaneDetailsHeroProps {
1111
logo: string
1212
name: string
1313
chainType?: ChainType
14-
rmnPermeable?: boolean
1514
}
1615
destinationNetwork: {
1716
logo: string
@@ -24,7 +23,6 @@ interface LaneDetailsHeroProps {
2423
enforceOutOfOrder?: boolean
2524
explorer: ExplorerInfo
2625
inOutbound: LaneFilter
27-
laneRmnPermeable?: boolean
2826
}
2927

3028
// Arrow component to avoid duplication
@@ -89,7 +87,6 @@ function LaneDetailsHero({
8987
enforceOutOfOrder,
9088
explorer,
9189
inOutbound,
92-
laneRmnPermeable,
9390
}: LaneDetailsHeroProps) {
9491
// Map boolean values to display strings
9592
const getOutOfOrderText = (value?: boolean) => {
@@ -98,20 +95,6 @@ function LaneDetailsHero({
9895
return "N/A"
9996
}
10097

101-
/**
102-
* Determines if RMN verification is enabled for this lane. Logic:
103-
* 1. If the destination chain is Solana (SVM), RMN verification is always disabled
104-
* 2. If a lane-specific rmnPermeable value exists, it takes precedence
105-
* 3. Otherwise, fallback to the source network's rmnPermeable setting
106-
*/
107-
const isRmnVerificationEnabled = () => {
108-
if (laneRmnPermeable !== undefined) {
109-
return laneRmnPermeable === false
110-
}
111-
112-
return sourceNetwork.rmnPermeable === false
113-
}
114-
11598
return (
11699
<div className="lane-details-hero">
117100
{/* Display networks with direction based on lane type */}
@@ -159,13 +142,6 @@ function LaneDetailsHero({
159142
{destinationAddress ? <CopyValue value={destinationAddress} /> : "n/a"}{" "}
160143
</DetailItem>
161144

162-
<DetailItem
163-
label="RMN Verification"
164-
tooltip={<StyledTooltip tip={"Indicates if RMN blessings are verified on the destination chain."} />}
165-
>
166-
{isRmnVerificationEnabled() ? "Enabled" : "Disabled"}
167-
</DetailItem>
168-
169145
{inOutbound === LaneFilter.Outbound && (
170146
<DetailItem
171147
label="Out of Order Execution"

src/components/CCIP/Drawer/LaneDrawer.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ function LaneDrawer({
4545
logo: sourceNetwork.logo,
4646
name: sourceNetwork.name,
4747
chainType: sourceNetwork.chainType,
48-
rmnPermeable: sourceNetworkDetails?.rmnPermeable,
4948
}}
5049
destinationNetwork={{
5150
logo: destinationNetwork.logo,
@@ -58,7 +57,6 @@ function LaneDrawer({
5857
explorer={explorer}
5958
destinationAddress={destinationNetworkDetails?.chainSelector || ""}
6059
inOutbound={inOutbound}
61-
laneRmnPermeable={lane.rmnPermeable}
6260
/>
6361

6462
<div className="ccip-table__drawer-container">

src/config/data/ccip/data.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,6 @@ export const getAllNetworks = ({ filter }: { filter: Environment }): Network[] =
468468
})),
469469
armProxy: chains[chain].armProxy,
470470
feeQuoter: chainType === "solana" ? chains[chain]?.feeQuoter : undefined,
471-
rmnPermeable: chains[chain]?.rmnPermeable,
472471
mcms: chainType === "aptos" ? chains[chain]?.mcms?.address : undefined,
473472
poolPrograms: chainType === "solana" ? chains[chain]?.poolPrograms : undefined,
474473
})
@@ -501,7 +500,6 @@ export const getNetwork = ({ chain, filter }: { chain: string; filter: Environme
501500
logo: network.logo,
502501
explorer: network.explorer,
503502
chainType: network.chainType,
504-
rmnPermeable: chainDetails?.rmnPermeable,
505503
...chainDetails,
506504
}
507505
}

src/config/data/ccip/types.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export type SupportedTokensConfig = {
1919
export type LaneConfig = {
2020
supportedTokens?: SupportedTokensConfig
2121
rateLimiterConfig?: RateLimiterConfig
22-
rmnPermeable: boolean
2322
onRamp: {
2423
address: string
2524
version: string
@@ -71,7 +70,6 @@ export type ChainConfig = {
7170
version: string
7271
}
7372
feeQuoter?: string
74-
rmnPermeable?: boolean
7573
nativeToken?: {
7674
name: string
7775
symbol: string
@@ -201,7 +199,6 @@ export interface Network {
201199
}
202200
routerExplorerUrl: string
203201
feeQuoter?: string
204-
rmnPermeable: boolean
205202
mcms?: string
206203
poolPrograms?: {
207204
BurnMintTokenPool?: string

0 commit comments

Comments
 (0)