Skip to content

Commit

Permalink
chore(feature-activation): delay NOP feature (#1187)
Browse files Browse the repository at this point in the history
  • Loading branch information
glevco authored Nov 26, 2024
1 parent 4da0fb9 commit cf3fa8b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions hathor/cli/events_simulator/events_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ def execute(args: Namespace, reactor: 'ReactorProtocol') -> None:

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

Expand Down
10 changes: 5 additions & 5 deletions hathor/conf/testnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@
# NOP feature to test Feature Activation for Transactions
Feature.NOP_FEATURE_1: Criteria(
bit=0,
# N = 4_354_560
# Expected to be reached around Sunday, 2024-11-17.
# Right now the best block is 4_326_600 on testnet (2024-11-07).
start_height=4_354_560, # N
timeout_height=4_394_880, # N + 2 * 20160 (2 weeks after the start)
# N = 4_394_880
# start_height expected to be reached around Sunday, 2024-12-01.
# Right now the best block is 4_377_375 on testnet (2024-11-25).
start_height=4_394_880, # N
timeout_height=4_475_520, # N + 4 * 20160 (4 weeks after the start)
minimum_activation_height=0,
lock_in_on_timeout=False,
version='0.63.0',
Expand Down
10 changes: 5 additions & 5 deletions hathor/conf/testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ FEATURE_ACTIVATION:
# NOP feature to test Feature Activation for Transactions
NOP_FEATURE_1:
bit: 0
# N = 4_354_560
# Expected to be reached around Sunday, 2024-11-17.
# Right now the best block is 4_326_600 on testnet (2024-11-07).
start_height: 4_354_560 # N
timeout_height: 4_394_880 # N + 2 * 20160 (2 weeks after the start)
# N = 4_394_880
# start_height expected to be reached around Sunday, 2024-12-01.
# Right now the best block is 4_377_375 on testnet (2024-11-25).
start_height: 4_394_880 # N
timeout_height: 4_475_520 # N + 4 * 20160 (4 weeks after the start)
minimum_activation_height: 0
lock_in_on_timeout: false
version: 0.63.0
Expand Down

0 comments on commit cf3fa8b

Please sign in to comment.