Skip to content

Commit

Permalink
Update type of KeyValuePairs address in NetworkConfig to Address
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgall committed May 7, 2024
1 parent 3863404 commit 4d1e31d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/providers/NetworkConfig/networks/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const baseConfig: NetworkConfig = {
network: chain.id.toString(),
})?.networkAddresses[chain.id.toString()]!,
votesERC20WrapperMasterCopy: getAddress(VotesERC20Wrapper.address),
keyValuePairs: KeyValuePairs.address,
keyValuePairs: getAddress(KeyValuePairs.address),
},
staking: {},
createOptions: [
Expand Down
2 changes: 1 addition & 1 deletion src/providers/NetworkConfig/networks/baseSepolia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const baseSepoliaConfig: NetworkConfig = {
network: chain.id.toString(),
})?.networkAddresses[chain.id.toString()]!,
votesERC20WrapperMasterCopy: getAddress(VotesERC20Wrapper.address),
keyValuePairs: KeyValuePairs.address,
keyValuePairs: getAddress(KeyValuePairs.address),
},
staking: {},
createOptions: [
Expand Down
2 changes: 1 addition & 1 deletion src/providers/NetworkConfig/networks/mainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const mainnetConfig: NetworkConfig = {
network: chain.id.toString(),
})?.networkAddresses[chain.id.toString()]!,
votesERC20WrapperMasterCopy: getAddress(VotesERC20Wrapper.address),
keyValuePairs: KeyValuePairs.address,
keyValuePairs: getAddress(KeyValuePairs.address),
},
staking: {
lido: {
Expand Down
2 changes: 1 addition & 1 deletion src/providers/NetworkConfig/networks/optimism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const optimismConfig: NetworkConfig = {
network: chain.id.toString(),
})?.networkAddresses[chain.id.toString()]!,
votesERC20WrapperMasterCopy: getAddress(VotesERC20Wrapper.address),
keyValuePairs: KeyValuePairs.address,
keyValuePairs: getAddress(KeyValuePairs.address),
},
staking: {},
createOptions: [
Expand Down
2 changes: 1 addition & 1 deletion src/providers/NetworkConfig/networks/polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const polygonConfig: NetworkConfig = {
network: chain.id.toString(),
})?.networkAddresses[chain.id.toString()]!,
votesERC20WrapperMasterCopy: getAddress(VotesERC20Wrapper.address),
keyValuePairs: KeyValuePairs.address,
keyValuePairs: getAddress(KeyValuePairs.address),
},
staking: {},
createOptions: [GovernanceType.MULTISIG, GovernanceType.AZORIUS_ERC20],
Expand Down
2 changes: 1 addition & 1 deletion src/providers/NetworkConfig/networks/sepolia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const sepoliaConfig: NetworkConfig = {
network: chain.id.toString(),
})?.networkAddresses[chain.id.toString()]!,
votesERC20WrapperMasterCopy: getAddress(VotesERC20Wrapper.address),
keyValuePairs: KeyValuePairs.address,
keyValuePairs: getAddress(KeyValuePairs.address),
},
staking: {},
createOptions: [
Expand Down
2 changes: 1 addition & 1 deletion src/types/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export type NetworkConfig = {
erc20FreezeVotingMasterCopy: string;
erc721FreezeVotingMasterCopy: string;
votesERC20WrapperMasterCopy: Address;
keyValuePairs: string;
keyValuePairs: Address;
};
staking: {
lido?: {
Expand Down

0 comments on commit 4d1e31d

Please sign in to comment.