Skip to content

Commit cf3fa8b

Browse files
authored
chore(feature-activation): delay NOP feature (#1187)
1 parent 4da0fb9 commit cf3fa8b

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

hathor/cli/events_simulator/events_simulator.py

+2
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ def execute(args: Namespace, reactor: 'ReactorProtocol') -> None:
8888

8989
forwarding_ws_factory.start(stream_id='simulator_stream_id')
9090
scenario.simulate(simulator, manager)
91+
assert manager.wallet is not None
92+
log.info('final result', balances=manager.wallet.get_balance_per_address(simulator.settings.HATHOR_TOKEN_UID))
9193
reactor.listenTCP(args.port, site)
9294
reactor.run()
9395

hathor/conf/testnet.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@
7373
# NOP feature to test Feature Activation for Transactions
7474
Feature.NOP_FEATURE_1: Criteria(
7575
bit=0,
76-
# N = 4_354_560
77-
# Expected to be reached around Sunday, 2024-11-17.
78-
# Right now the best block is 4_326_600 on testnet (2024-11-07).
79-
start_height=4_354_560, # N
80-
timeout_height=4_394_880, # N + 2 * 20160 (2 weeks after the start)
76+
# N = 4_394_880
77+
# start_height expected to be reached around Sunday, 2024-12-01.
78+
# Right now the best block is 4_377_375 on testnet (2024-11-25).
79+
start_height=4_394_880, # N
80+
timeout_height=4_475_520, # N + 4 * 20160 (4 weeks after the start)
8181
minimum_activation_height=0,
8282
lock_in_on_timeout=False,
8383
version='0.63.0',

hathor/conf/testnet.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ FEATURE_ACTIVATION:
5454
# NOP feature to test Feature Activation for Transactions
5555
NOP_FEATURE_1:
5656
bit: 0
57-
# N = 4_354_560
58-
# Expected to be reached around Sunday, 2024-11-17.
59-
# Right now the best block is 4_326_600 on testnet (2024-11-07).
60-
start_height: 4_354_560 # N
61-
timeout_height: 4_394_880 # N + 2 * 20160 (2 weeks after the start)
57+
# N = 4_394_880
58+
# start_height expected to be reached around Sunday, 2024-12-01.
59+
# Right now the best block is 4_377_375 on testnet (2024-11-25).
60+
start_height: 4_394_880 # N
61+
timeout_height: 4_475_520 # N + 4 * 20160 (4 weeks after the start)
6262
minimum_activation_height: 0
6363
lock_in_on_timeout: false
6464
version: 0.63.0

0 commit comments

Comments
 (0)