Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HananINouman committed Feb 4, 2025
1 parent 79ef3f7 commit 49cef65
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .env.template
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
ALCHEMY_API_KEY=ALCHEMY_API_KEY
RPC_HOLESKY=RPC_HOLESKY
RPC_MAINNET=RPC_MAINNET
RPC_GNOSIS=RPC_GNOSIS
RPC_SEPOLIA=RPC_SEPOLIA
8 changes: 4 additions & 4 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ export const DEFAULT_RETROACTIVE_FUNDING_TOTAL_SPLIT = 0.1;
export const OBOL_SDK_EMAIL = '[email protected]';

export const PROVIDER_MAP: Record<number, string> = {
1: `https://eth-mainnet.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}`, // Mainnet
17000: `https://eth-holesky.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}`, // Holesky
11155111: `https://eth-sepolia.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}`, // Sepolia
100: `https://gnosis-mainnet.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}`, // Gnosis
1: `${process.env.RPC_MAINNET}`, // Mainnet
17000: `${process.env.RPC_HOLESKY}`, // Holesky
11155111: `${process.env.RPC_SEPOLIA}`, // Sepolia
100: `${process.env.RPC_GNOSIS}`, // Gnosis
};
2 changes: 1 addition & 1 deletion src/verification/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export const isValidClusterLock = async (
if (definitionType == null) {
return false;
}
const isValidDefinitionData = verifyDefinitionSignatures(
const isValidDefinitionData = await verifyDefinitionSignatures(
clusterLock.cluster_definition,
definitionType,
);
Expand Down
5 changes: 4 additions & 1 deletion test/sdk-package-test/.env.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Internal use only
DEL_AUTH=DEL_AUTH
PRIVATE_KEY=PRIVATE_KEY
ALCHEMY_API_KEY=ALCHEMY_API_KEY
RPC_HOLESKY=RPC_HOLESKY
RPC_MAINNET=RPC_MAINNET
RPC_GNOSIS=RPC_GNOSIS
RPC_SEPOLIA=RPC_SEPOLIA

0 comments on commit 49cef65

Please sign in to comment.