Skip to content

chore(feature-activation): delay NOP feature #1187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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