Skip to content

Commit

Permalink
fix: lowercase the contract name in config (#96)
Browse files Browse the repository at this point in the history
viper lowercases the config when reading from config file so we need to
lowercase the contract names used to access the contract addresses in config.
  • Loading branch information
minh-bq authored Jan 18, 2024
1 parent fc6d220 commit 9845b12
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions task/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ const (
STATUS_PROCESSING = "processing"
STATUS_DONE = "done"

GATEWAY_CONTRACT = "Gateway"
GOVERNANCE_CONTRACT = "Governance"
TRUSTED_ORGANIZATION_CONTRACT = "TrustedOrganization"
ETH_GOVERNANCE_CONTRACT = "EthGovernance"
ETH_GATEWAY_CONTRACT = "EthGateway"
BRIDGEADMIN_CONTRACT = "BridgeAdmin"
GATEWAY_CONTRACT = "gateway"
GOVERNANCE_CONTRACT = "governance"
TRUSTED_ORGANIZATION_CONTRACT = "trustedorganization"
ETH_GOVERNANCE_CONTRACT = "ethgovernance"
ETH_GATEWAY_CONTRACT = "ethgateway"
BRIDGEADMIN_CONTRACT = "bridgeadmin"
)

const (
Expand Down

0 comments on commit 9845b12

Please sign in to comment.