Skip to content

Commit

Permalink
Merge branch 'chore/deploy-instant-giveaways' into feat/release_it
Browse files Browse the repository at this point in the history
  • Loading branch information
adjisb committed Sep 14, 2023
2 parents b57cd11 + a5cf14a commit 208c42a
Show file tree
Hide file tree
Showing 7 changed files with 4,096 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ const func: DeployFunction = async function (
): Promise<void> {
const {deployments, getNamedAccounts} = hre;
const {execute, read, catchUnknownSigner} = deployments;
const {sandAdmin, backendCashbackWallet} = await getNamedAccounts();
const {sandAdmin, backendInstantGiveawayWallet} = await getNamedAccounts();
const signerRole = await read('SignedMultiGiveaway', 'SIGNER_ROLE');
if (
!(await read(
'SignedMultiGiveaway',
'hasRole',
signerRole,
backendCashbackWallet
backendInstantGiveawayWallet
))
) {
await catchUnknownSigner(
Expand All @@ -22,7 +22,7 @@ const func: DeployFunction = async function (
{from: sandAdmin, log: true},
'grantRole',
signerRole,
backendCashbackWallet
backendInstantGiveawayWallet
)
);
}
Expand Down
Loading

1 comment on commit 208c42a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/giveaway/contracts
   ERC2771Handler.sol100%100%100%100%
   SignedMultiGiveaway.sol100%100%100%100%
   SignedMultiGiveawayBase.sol100%100%100%100%

Please sign in to comment.