Skip to content

Commit

Permalink
share change in onramp to multi onramp (#804)
Browse files Browse the repository at this point in the history
Fix ci by applying a change in single-ramp to the multi-ramp
  • Loading branch information
RensR committed May 3, 2024
1 parent 7c08043 commit 91d1e90
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions contracts/.changeset/beige-birds-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chainlink/contracts-ccip": patch
---

fix ci
4 changes: 2 additions & 2 deletions contracts/src/v0.8/ccip/onRamp/EVM2EVMMultiOnRamp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ contract EVM2EVMMultiOnRamp is IEVM2AnyOnRamp, ILinkAvailable, AggregateRateLimi
error CannotSendZeroTokens();
error SourceTokenDataTooLarge(address token);
error InvalidChainSelector(uint64 chainSelector);
error GetSupportedTokensFunctionalityRemoved();
error GetSupportedTokensFunctionalityRemovedCheckAdminRegistry();

event ConfigSet(StaticConfig staticConfig, DynamicConfig dynamicConfig);
event NopPaid(address indexed nop, uint256 amount);
Expand Down Expand Up @@ -457,7 +457,7 @@ contract EVM2EVMMultiOnRamp is IEVM2AnyOnRamp, ILinkAvailable, AggregateRateLimi

/// @inheritdoc IEVM2AnyOnRampClient
function getSupportedTokens(uint64 /*destChainSelector*/ ) external view returns (address[] memory) {
return ITokenAdminRegistry(s_dynamicConfig.tokenAdminRegistry).getPermissionedTokens();
revert GetSupportedTokensFunctionalityRemovedCheckAdminRegistry();
}

// ================================================================
Expand Down

0 comments on commit 91d1e90

Please sign in to comment.