Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
  • Loading branch information
vzotova and derekpierre authored Jul 24, 2023
1 parent 374af2c commit 6bb2850
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/contracts/Adjudicator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ contract Adjudicator {
SignatureVerifier.hashEIP191(stamp, bytes1(0x45)), // Currently, we use version E (0x45) of EIP191 signatures
_operatorIdentityEvidence);
address stakingProvider = application.stakingProviderFromOperator(operator);
require(stakingProvider != address(0), "Operator must be related to a provider");
require(stakingProvider != address(0), "Operator must be associated with a provider");

// 5. Check that staking provider can be slashed
uint96 stakingProviderValue = application.authorizedStake(stakingProvider);
Expand Down
4 changes: 2 additions & 2 deletions scripts/deploy_taco_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def main(account_id=None):
t_token = deployments_config.get("t_token")

# TODO deploy proxy
pre_app = project.TACoApplication.deploy(
taco_app = project.TACoApplication.deploy(
t_token,
t_staking,
deployments_config.get("pre_min_authorization"),
Expand All @@ -30,4 +30,4 @@ def main(account_id=None):
sender=deployer,
publish=deployments_config.get("verify"),
)
return pre_app
return taco_app

0 comments on commit 6bb2850

Please sign in to comment.