Skip to content

Commit

Permalink
Merge branch 'main' into update-b-tier
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 authored Jun 4, 2024
2 parents 945125a + d9dd337 commit cf2c3d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion packages/protocol/contracts/L1/tiers/DevnetTierProvider.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@
pragma solidity 0.8.24;

import "./TierProviderBase.sol";
import "./ITierRouter.sol";

/// @title DevnetTierProvider
/// @custom:security-contact [email protected]
contract DevnetTierProvider is TierProviderBase {
contract DevnetTierProvider is TierProviderBase, ITierRouter {
/// @inheritdoc ITierRouter
function getProvider(uint256) external view returns (address) {
return address(this);
}

/// @inheritdoc ITierProvider
function getTierIds() public pure override returns (uint16[] memory tiers_) {
tiers_ = new uint16[](3);
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/script/DeployOnL1.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ contract DeployOnL1 is DeployCapability {
register(rollupAddressManager, "tier_guardian", guardianProver);
register(
rollupAddressManager,
"tier_provider",
"tier_router",
address(deployTierProvider(vm.envString("TIER_PROVIDER")))
);

Expand Down

0 comments on commit cf2c3d6

Please sign in to comment.