Skip to content

Commit

Permalink
fix: describeIfDevnetSequencer
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkelawala committed Jan 10, 2023
1 parent 084d89e commit 4a088ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion __tests__/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const IS_LOCALHOST_DEVNET =
PROVIDER_URL.includes('localhost') || PROVIDER_URL.includes('127.0.0.1');

export const IS_DEVNET_RPC = IS_LOCALHOST_DEVNET && PROVIDER_URL.includes('rpc');
export const IS_DEVNET_SEQUENCER = IS_LOCALHOST_DEVNET && !PROVIDER_URL.includes('rpc');

/* Definitions */
export const IS_RPC = !!RPC_URL;
Expand Down Expand Up @@ -83,6 +84,6 @@ export const describeIfRpc = describeIf(IS_RPC);
export const describeIfNotDevnet = describeIf(!IS_LOCALHOST_DEVNET);
export const describeIfDevnet = describeIf(IS_LOCALHOST_DEVNET);
export const describeIfDevnetRpc = describeIf(IS_DEVNET_RPC);
export const describeIfDevnetSequencer = describeIf(!IS_DEVNET_RPC);
export const describeIfDevnetSequencer = describeIf(IS_DEVNET_SEQUENCER);

export const erc20ClassHash = '0x54328a1075b8820eb43caf0caa233923148c983742402dcfc38541dd843d01a';

0 comments on commit 4a088ad

Please sign in to comment.