Skip to content

Commit 9845b12

Browse files
authored
fix: lowercase the contract name in config (#96)
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.
1 parent fc6d220 commit 9845b12

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

task/main.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ const (
1414
STATUS_PROCESSING = "processing"
1515
STATUS_DONE = "done"
1616

17-
GATEWAY_CONTRACT = "Gateway"
18-
GOVERNANCE_CONTRACT = "Governance"
19-
TRUSTED_ORGANIZATION_CONTRACT = "TrustedOrganization"
20-
ETH_GOVERNANCE_CONTRACT = "EthGovernance"
21-
ETH_GATEWAY_CONTRACT = "EthGateway"
22-
BRIDGEADMIN_CONTRACT = "BridgeAdmin"
17+
GATEWAY_CONTRACT = "gateway"
18+
GOVERNANCE_CONTRACT = "governance"
19+
TRUSTED_ORGANIZATION_CONTRACT = "trustedorganization"
20+
ETH_GOVERNANCE_CONTRACT = "ethgovernance"
21+
ETH_GATEWAY_CONTRACT = "ethgateway"
22+
BRIDGEADMIN_CONTRACT = "bridgeadmin"
2323
)
2424

2525
const (

0 commit comments

Comments
 (0)