Skip to content

Commit

Permalink
fix: naming for new rpc only devnet DEFAULT_TEST_PROVIDER_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
tabaktoni committed Oct 16, 2023
1 parent 56db996 commit c844d41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ export const compiledC210 = readContractSierra('cairo/cairo210/cairo210.sierra')
export const compiledC210Casm = readContractSierraCasm('cairo/cairo210/cairo210');

/* Default test config based on run `starknet-devnet --seed 0` */
const DEFAULT_TEST_PROVIDER_SEQUENCER_URL = 'http://127.0.0.1:5050/';
const DEFAULT_TEST_PROVIDER_URL = 'http://127.0.0.1:5050/';

/* User defined config or default one */
const BASE_URL = process.env.TEST_PROVIDER_BASE_URL || DEFAULT_TEST_PROVIDER_SEQUENCER_URL;
const BASE_URL = process.env.TEST_PROVIDER_BASE_URL || DEFAULT_TEST_PROVIDER_URL;
const RPC_URL = process.env.TEST_RPC_URL;

/* Detect user defined node or sequencer, if none default to sequencer if both default to node */
Expand Down

0 comments on commit c844d41

Please sign in to comment.