Skip to content

Commit

Permalink
Uncomment test genesis for test
Browse files Browse the repository at this point in the history
  • Loading branch information
poplexity committed Oct 2, 2024
1 parent a0ac464 commit 5837b2a
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions translator/src/types/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,26 +52,26 @@ lazy_static! {
block_message_channel_size: default_channel_size(),
final_message_channel_size: default_channel_size()
};
// pub static ref TESTNET_GENESIS_CONFIG: TranslatorConfig = TranslatorConfig {
// chain_id: 41.into(),
//
// // TODO: Figure out this number
// last_legacy_raw_tx: Some(),
// evm_start_block: 58,
// evm_stop_block: None,
//
// prev_hash: ZERO_HASH_HEX.to_string(),
// validate_hash: Some(
// "1f42e34c53aa45b4bb0a8fc20cb98ba1f0663ef1d581995c56f9f2314b837a35".to_string()
// ),
//
// http_endpoint: String::from("http://127.0.0.1:8888"),
// ship_endpoint: String::from("ws://127.0.0.1:29999"),
//
// raw_message_channel_size: default_channel_size(),
// block_message_channel_size: default_channel_size(),
// final_message_channel_size: default_channel_size()
// };
pub static ref TESTNET_GENESIS_CONFIG: TranslatorConfig = TranslatorConfig {
chain_id: 41.into(),

// TODO: Figure out this number
last_legacy_raw_tx: Some(1234),
evm_start_block: 58,
evm_stop_block: None,

prev_hash: ZERO_HASH_HEX.to_string(),
validate_hash: Some(
"1f42e34c53aa45b4bb0a8fc20cb98ba1f0663ef1d581995c56f9f2314b837a35".to_string()
),

http_endpoint: String::from("http://127.0.0.1:8888"),
ship_endpoint: String::from("ws://127.0.0.1:29999"),

raw_message_channel_size: default_channel_size(),
block_message_channel_size: default_channel_size(),
final_message_channel_size: default_channel_size()
};
// pub static ref TESTNET_DEPLOY_CONFIG: TranslatorConfig = TranslatorConfig {
// chain_id: 41.into(),
//
Expand Down

0 comments on commit 5837b2a

Please sign in to comment.