Skip to content

Commit

Permalink
change chain id
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarom Swisa authored and Yarom Swisa committed Jan 23, 2024
1 parent a810902 commit 51efb52
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion testutil/e2e/sdk/tests/emergency_mode_badge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function main() {
const chainID = parsedResponse.result["node_info"].network;

// Validate chainID
if (chainID !== "lava") {
if (chainID !== "lava-local-1") {
throw new Error(" ERR [emergency_mode_badge] Chain ID is not equal to lava");
} else {
console.log(i, "[emergency_mode_badge] Success: Fetching Lava chain ID using tendermintrpc passed. Chain ID correctly matches 'lava'");
Expand Down
2 changes: 1 addition & 1 deletion testutil/e2e/sdk/tests/emergency_mode_fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function main() {
const chainID = parsedResponse.result["node_info"].network;

// Validate chainID
if (chainID !== "lava") {
if (chainID !== "lava-local-1") {
throw new Error(" ERR [emergency_mode_fetch] Chain ID is not equal to lava");
} else {
console.log(i, "[emergency_mode_fetch] Success: Fetching Lava chain ID using tendermintrpc passed. Chain ID correctly matches 'lava'");
Expand Down
2 changes: 1 addition & 1 deletion testutil/e2e/sdk/tests/emergency_mode_fetch_err.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async function main() {
const chainID = parsedResponse.result["node_info"].network;

// Validate chainID
if (chainID !== "lava") {
if (chainID !== "lava-local-1") {
throw new Error(" ERR [emergency_mode_fetch_err] Chain ID is not equal to lava");
} else {
console.log(i, "[emergency_mode_fetch_err] Success: Fetching Lava chain ID using tendermintrpc passed. Chain ID correctly matches 'lava'");
Expand Down
2 changes: 1 addition & 1 deletion testutil/e2e/sdk/tests/rest_chainId_fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function main() {
const chainID = parsedResponse["default_node_info"].network;

// Validate chainID
if (chainID != "lava") {
if (chainID != "lava-local-1") {
throw new Error(" ERR [rest_chainId_fetch] Chain ID is not equal to lava");
}else{
console.log(i, "[rest_chainId_fetch] Success: Fetching Lava chain ID using REST passed. Chain ID correctly matches 'lava'");
Expand Down
2 changes: 1 addition & 1 deletion testutil/e2e/sdk/tests/rest_optional_params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function main() {
const chainID = result["block"]["header"]["chain_id"];

// Validate chainID
if (chainID != "lava") {
if (chainID != "lava-local-1") {
throw new Error(" ERR [rest_optional_params] Chain ID is not equal to lava");
} else {
console.log(i, "[rest_optional_params] Success: Fetching Lava chain ID using REST passed. Chain ID correctly matches 'lava'");
Expand Down
2 changes: 1 addition & 1 deletion testutil/e2e/sdk/tests/tendermintrpc_chainid_fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function main() {
const chainID = parsedResponse.result["node_info"].network;

// Validate chainID
if (chainID != "lava") {
if (chainID != "lava-local-1") {
throw new Error(" ERR [tendermintrpc_chainid_fetch] Chain ID is not equal to lava");
}else{
console.log(i, "[tendermintrpc_chainid_fetch] Success: Fetching Lava chain ID using tendermintrpc passed. Chain ID correctly matches 'lava'");
Expand Down

0 comments on commit 51efb52

Please sign in to comment.