Skip to content

Commit

Permalink
Merge pull request #96 from bgd-labs/feat/deploy-celo
Browse files Browse the repository at this point in the history
feat: add celo to ccip adapter
  • Loading branch information
sendra authored Jan 9, 2025
2 parents d4b0849 + 1f1c46a commit 5f6002e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/contracts/adapters/ccip/CCIPAdapter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ contract CCIPAdapter is ICCIPAdapter, BaseAdapter, IAny2EVMMessageReceiver, IERC
return ChainIds.POLYGON;
} else if (nativeChainId == uint64(11344663589394136015)) {
return ChainIds.BNB;
} else if (nativeChainId == uint64(1346049177634351622)) {
return ChainIds.CELO;
}
return nativeChainId;
}
Expand All @@ -151,7 +153,10 @@ contract CCIPAdapter is ICCIPAdapter, BaseAdapter, IAny2EVMMessageReceiver, IERC
return uint64(4051577828743386545);
} else if (infraChainId == ChainIds.BNB) {
return uint64(11344663589394136015);
} else if (infraChainId == ChainIds.CELO) {
return uint64(1346049177634351622);
}
return infraChainId;
}
}

0 comments on commit 5f6002e

Please sign in to comment.