diff --git a/node/src/config/mod.rs b/node/src/config/mod.rs index ff6ab1c..0896a0a 100644 --- a/node/src/config/mod.rs +++ b/node/src/config/mod.rs @@ -33,7 +33,7 @@ build_config! { (blockchain_rpc_endpoint, (String), "http://127.0.0.1:8545".to_string()) (log_contract_address, (String), "".to_string()) (log_sync_start_block_number, (u64), 0) - (confirmation_block_count, (u64), 12) + (confirmation_block_count, (u64), 3) (log_page_size, (u64), 999) (max_cache_data_size, (usize), 100 * 1024 * 1024) // 100 MB (cache_tx_seq_ttl, (usize), 500) diff --git a/run/config-testnet-standard.toml b/run/config-testnet-standard.toml index 78b9d28..aac7455 100644 --- a/run/config-testnet-standard.toml +++ b/run/config-testnet-standard.toml @@ -87,7 +87,7 @@ log_contract_address = "0x0460aA47b41a66694c0a73f667a1b795A5ED3556" log_sync_start_block_number = 595059 # Number of blocks to confirm a transaction. -confirmation_block_count = 6 +# confirmation_block_count = 3 # Maximum number of event logs to poll at a time. # log_page_size = 999 diff --git a/run/config-testnet-turbo.toml b/run/config-testnet-turbo.toml index 291d33f..4ba6fbf 100644 --- a/run/config-testnet-turbo.toml +++ b/run/config-testnet-turbo.toml @@ -87,7 +87,7 @@ log_contract_address = "0xbD2C3F0E65eDF5582141C35969d66e34629cC768" log_sync_start_block_number = 595059 # Number of blocks to confirm a transaction. -confirmation_block_count = 6 +# confirmation_block_count = 3 # Maximum number of event logs to poll at a time. # log_page_size = 999 diff --git a/run/config.toml b/run/config.toml index 72d0873..48b93b5 100644 --- a/run/config.toml +++ b/run/config.toml @@ -87,7 +87,7 @@ # log_sync_start_block_number = 0 # Number of blocks to confirm a transaction. -# confirmation_block_count = 12 +# confirmation_block_count = 3 # Maximum number of event logs to poll at a time. # log_page_size = 999 diff --git a/tests/random_test.py b/tests/random_test.py index acece18..2edb882 100755 --- a/tests/random_test.py +++ b/tests/random_test.py @@ -12,7 +12,7 @@ class RandomTest(TestFramework): self.num_blockchain_nodes = 1 self.num_nodes = 4 for i in range(self.num_nodes): - self.zgs_node_configs[i] = {"confirmation_block_count": 1, "sync": {"auto_sync_enabled": True}} + self.zgs_node_configs[i] = {"sync": {"auto_sync_enabled": True}} def run_test(self): max_size = 256 * 1024 * 64