Skip to content

Commit

Permalink
update deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoAtwill committed Oct 22, 2024
1 parent a342f1a commit bfd80a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contracts/tasks/deploy-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ task('deploy-registry')
{ name: 'DiamondCutFacet' },
{ name: 'DiamondLoupeFacet' },
{ name: 'OwnershipFacet' },
{ name: 'ValidatorRewardFacet' },
)

const registryFacets = await Deployments.deploy(
Expand Down Expand Up @@ -85,6 +86,7 @@ task('deploy-registry')
diamondCutFacet: subnetActorFacets.addresses['DiamondCutFacet'],
diamondLoupeFacet: subnetActorFacets.addresses['DiamondLoupeFacet'],
ownershipFacet: subnetActorFacets.addresses['OwnershipFacet'],
validatorRewardFacet: subnetActorFacets.addresses['ValidatorRewardFacet'],

subnetActorGetterSelectors: selectors(subnetActorFacets.contracts['SubnetActorGetterFacet']),
subnetActorManagerSelectors: selectors(subnetActorFacets.contracts['SubnetActorManagerFacet']),
Expand All @@ -94,6 +96,8 @@ task('deploy-registry')
subnetActorDiamondCutSelectors: selectors(subnetActorFacets.contracts['DiamondCutFacet']),
subnetActorDiamondLoupeSelectors: selectors(subnetActorFacets.contracts['DiamondLoupeFacet']),
subnetActorOwnershipSelectors: selectors(subnetActorFacets.contracts['OwnershipFacet']),
validatorRewardSelectors: selectors(subnetActorFacets.contracts['ValidatorRewardFacet']),

creationPrivileges: Number(mode),
}

Expand Down
4 changes: 4 additions & 0 deletions fendermint/vm/actor_interface/src/ipc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ lazy_static! {
name: "SubnetGetterFacet",
abi: ia::subnet_getter_facet::SUBNETGETTERFACET_ABI.to_owned(),
},
EthFacet {
name: "ValidatorRewardFacet",
abi: ia::validator_reward_facet::VALIDATORREWARDFACET_ABI.to_owned(),
},
],
},
),
Expand Down

0 comments on commit bfd80a4

Please sign in to comment.