Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
use correct role (paritytech#808)
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair-singh authored Apr 18, 2023
1 parent 36c3279 commit e0d212b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/packages/contracts/scripts/DeployScript.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ contract DeployScript is Script {
// Allow inbound queue to send messages to handlers
nativeTokens.grantRole(nativeTokens.SENDER_ROLE(), address(inboundQueue));
treasury.grantRole(treasury.SENDER_ROLE(), address(inboundQueue));
upgradeProxy.grantRole(treasury.SENDER_ROLE(), address(inboundQueue));
upgradeProxy.grantRole(upgradeProxy.SENDER_ROLE(), address(inboundQueue));

// Allow handlers to send messages to outbound queue
outboundQueue.grantRole(outboundQueue.SUBMIT_ROLE(), address(nativeTokens));
Expand Down

0 comments on commit e0d212b

Please sign in to comment.