Skip to content

Commit 02ea183

Browse files
authored
Merge pull request #112 from bgd-labs/feat/plasma-ccip
feat: add plasma ccip chain id
2 parents acff9e1 + d944e04 commit 02ea183

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/contracts/adapters/ccip/CCIPAdapter.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ contract CCIPAdapter is ICCIPAdapter, BaseAdapter, IAny2EVMMessageReceiver, IERC
139139
return ChainIds.CELO;
140140
} else if (nativeChainId == uint64(1673871237479749969)) {
141141
return ChainIds.SONIC;
142+
} else if (nativeChainId == uint64(9335212494177455608)) {
143+
return ChainIds.PLASMA;
142144
}
143145
return nativeChainId;
144146
}
@@ -159,6 +161,8 @@ contract CCIPAdapter is ICCIPAdapter, BaseAdapter, IAny2EVMMessageReceiver, IERC
159161
return uint64(1346049177634351622);
160162
} else if (infraChainId == ChainIds.SONIC) {
161163
return uint64(1673871237479749969);
164+
} else if (infraChainId == ChainIds.PLASMA) {
165+
return uint64(9335212494177455608);
162166
}
163167
return infraChainId;
164168
}

0 commit comments

Comments
 (0)