- Update main simulation instructions to inline hyperlinked content - Add test runs (generated data + tests output) - Add instructions to reproduce results from one of the added test runs Reviewed-on: #3 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
145 lines
12 KiB
Plaintext
145 lines
12 KiB
Plaintext
================================================================================
|
|
LOCKDROP ALLOCATION COMPARISON TESTS
|
|
================================================================================
|
|
test_0_star_allocations (test_allocations.AllocationTest.test_0_star_allocations)
|
|
Test star allocations for all lock periods ...
|
|
STAR ALLOCATIONS COMPARISON
|
|
+---------------+---------+-----------------------------------------------+--------------------+--------------------+--------------+
|
|
| Lock Period | Point | Zenith Address | Notebook ($sZ) | zenithd ($sZ) | Difference |
|
|
+===============+=========+===============================================+====================+====================+==============+
|
|
| 1 years | ~datner | zenith19uhxfy49a35gdywvdn4q3k0grg5r2lmzpp7gjv | 1,710,421,920,000 | 1,710,421,920,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+--------------------+--------------------+--------------+
|
|
| 2 years | ~falryl | zenith19uhxfy49a35gdywvdn4q3k0grg5r2lmzpp7gjv | 3,420,843,840,000 | 3,420,843,840,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+--------------------+--------------------+--------------+
|
|
| 3 years | ~laprud | zenith19uhxfy49a35gdywvdn4q3k0grg5r2lmzpp7gjv | 5,131,265,760,000 | 5,131,265,760,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+--------------------+--------------------+--------------+
|
|
| 4 years | ~tamfyl | zenith19uhxfy49a35gdywvdn4q3k0grg5r2lmzpp7gjv | 6,841,687,680,000 | 6,841,687,680,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+--------------------+--------------------+--------------+
|
|
| 5 years | ~talret | zenith19uhxfy49a35gdywvdn4q3k0grg5r2lmzpp7gjv | 25,712,535,120,801 | 25,712,535,120,801 | 0 |
|
|
+---------------+---------+-----------------------------------------------+--------------------+--------------------+--------------+
|
|
|
|
|
|
ok
|
|
test_1_galaxy_allocations (test_allocations.AllocationTest.test_1_galaxy_allocations)
|
|
Test galaxy allocations for all lock periods ...
|
|
GALAXY ALLOCATIONS COMPARISON
|
|
+---------------+---------+-----------------------------------------------+-------------------+-------------------+--------------+
|
|
| Lock Period | Point | Zenith Address | Notebook ($sZ) | zenithd ($sZ) | Difference |
|
|
+===============+=========+===============================================+===================+===================+==============+
|
|
| 1 years | ~rex | zenith1utk4hg6x0jg4s30wyazkg9uezhvtuql44lfmvr | 478,097,640,000 | 478,097,640,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+-------------------+-------------------+--------------+
|
|
| 2 years | ~bep | zenith1cr693w3x5knc8k9vgvy0rah69pew374zud2fjg | 956,195,280,000 | 956,195,280,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+-------------------+-------------------+--------------+
|
|
| 3 years | ~sul | zenith1d77nw76k00uhulfvsrdmg7anqauraz7mpsnxpr | 1,434,292,920,000 | 1,434,292,920,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+-------------------+-------------------+--------------+
|
|
| 4 years | ~tuc | zenith18rrscz5kmmy3tajd7a97cfe5ez0gcs85uxtr83 | 1,912,390,560,000 | 1,912,390,560,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+-------------------+-------------------+--------------+
|
|
| 5 years | ~fyr | zenith19uhxfy49a35gdywvdn4q3k0grg5r2lmzpp7gjv | 7,436,730,717,073 | 7,436,730,717,073 | 0 |
|
|
+---------------+---------+-----------------------------------------------+-------------------+-------------------+--------------+
|
|
|
|
|
|
ok
|
|
test_2_total_allocations (test_allocations.AllocationTest.test_2_total_allocations)
|
|
Test total allocations for all participants ...
|
|
TOTAL ALLOCATIONS COMPARISON
|
|
+------------+--------------------------+
|
|
| Source | Total Allocation ($sZ) |
|
|
+============+==========================+
|
|
| Notebook | 128,849,018,879,999,789 |
|
|
+------------+--------------------------+
|
|
| zenithd | 128,849,018,879,999,789 |
|
|
+------------+--------------------------+
|
|
| Difference | 0 |
|
|
+------------+--------------------------+
|
|
|
|
|
|
ok
|
|
test_unlock_schedule_calculation (test_unlock_schedule.UnlockScheduleTest.test_unlock_schedule_calculation)
|
|
Test unlock schedule calculations for all lock periods ...
|
|
UNLOCK BLOCKS COMPARISON
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| Point | Lock Period | Start Time | Expected Blocks | zenithd Blocks | Difference |
|
|
+=========+===============+=====================+===================+==================+==============+
|
|
| ~datner | 1 years | 2025-02-24T19:24:19 | 8,398,207 | 8,398,207 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~rex | 1 years | 2025-08-06T17:55:51 | 15,437,153 | 15,437,153 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~falryl | 2 years | 2025-02-24T19:24:19 | 24,177,007 | 24,177,007 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~bep | 2 years | 2025-04-04T11:10:19 | 25,846,987 | 25,846,987 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~laprud | 3 years | 2025-02-24T19:24:19 | 39,955,807 | 39,955,807 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~sul | 3 years | 2025-07-17T03:49:48 | 46,105,372 | 46,105,372 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~tamfyl | 4 years | 2025-02-24T19:24:19 | 55,734,607 | 55,734,607 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~tuc | 4 years | 2025-04-09T15:22:47 | 57,628,161 | 57,628,161 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~talret | 5 years | 2025-02-24T19:24:19 | 71,513,407 | 71,513,407 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~fyr | 5 years | 2025-02-24T19:24:19 | 71,513,407 | 71,513,407 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
|
|
INITIAL UNLOCK AMOUNTS COMPARISON
|
|
+---------+---------------+---------------------+-------------------+-------------------+--------------+
|
|
| Point | Lock Period | Start Time | Expected ($sZ) | zenithd ($sZ) | Difference |
|
|
+=========+===============+=====================+===================+===================+==============+
|
|
| ~datner | 1 years | 2025-02-24T19:24:19 | 800,056,281,200 | 800,056,281,200 | 0 |
|
|
+---------+---------------+---------------------+-------------------+-------------------+--------------+
|
|
| ~rex | 1 years | 2025-08-06T17:55:51 | 10,351,904,100 | 10,351,904,100 | 0 |
|
|
+---------+---------------+---------------------+-------------------+-------------------+--------------+
|
|
| ~falryl | 2 years | 2025-02-24T19:24:19 | 800,056,281,200 | 800,056,281,200 | 0 |
|
|
+---------+---------------+---------------------+-------------------+-------------------+--------------+
|
|
| ~bep | 2 years | 2025-04-04T11:10:19 | 173,031,573,900 | 173,031,573,900 | 0 |
|
|
+---------+---------------+---------------------+-------------------+-------------------+--------------+
|
|
| ~laprud | 3 years | 2025-02-24T19:24:19 | 800,056,281,200 | 800,056,281,200 | 0 |
|
|
+---------+---------------+---------------------+-------------------+-------------------+--------------+
|
|
| ~sul | 3 years | 2025-07-17T03:49:48 | 37,300,148,400 | 37,300,148,400 | 0 |
|
|
+---------+---------------+---------------------+-------------------+-------------------+--------------+
|
|
| ~tamfyl | 4 years | 2025-02-24T19:24:19 | 800,056,281,200 | 800,056,281,200 | 0 |
|
|
+---------+---------------+---------------------+-------------------+-------------------+--------------+
|
|
| ~tuc | 4 years | 2025-04-09T15:22:47 | 166,257,281,700 | 166,257,281,700 | 0 |
|
|
+---------+---------------+---------------------+-------------------+-------------------+--------------+
|
|
| ~talret | 5 years | 2025-02-24T19:24:19 | 2,405,426,987,157 | 2,405,426,987,157 | 0 |
|
|
+---------+---------------+---------------------+-------------------+-------------------+--------------+
|
|
| ~fyr | 5 years | 2025-02-24T19:24:19 | 695,711,748,337 | 695,711,748,337 | 0 |
|
|
+---------+---------------+---------------------+-------------------+-------------------+--------------+
|
|
|
|
|
|
ok
|
|
test_accrual_state_calculation (test_accrual_state.AccrualStateTest.test_accrual_state_calculation)
|
|
Test accrual state calculations after some blocks ...
|
|
TOTAL UNLOCKED AT BLOCK 168
|
|
+---------+---------------+----------------+--------------------+-------------------+-------------------+--------------+
|
|
| Point | Lock Period | Block Height | Last Unlocked At | Expected ($sZ) | zenithd ($sZ) | Difference |
|
|
+=========+===============+================+====================+===================+===================+==============+
|
|
| ~datner | 1 years | Block 168 | Block 150 | 800,072,541,200 | 800,072,541,200 | 0 |
|
|
+---------+---------------+----------------+--------------------+-------------------+-------------------+--------------+
|
|
| ~rex | 1 years | Block 168 | Block 150 | 10,356,449,100 | 10,356,449,100 | 0 |
|
|
+---------+---------------+----------------+--------------------+-------------------+-------------------+--------------+
|
|
| ~falryl | 2 years | Block 168 | Block 150 | 800,072,541,200 | 800,072,541,200 | 0 |
|
|
+---------+---------------+----------------+--------------------+-------------------+-------------------+--------------+
|
|
| ~bep | 2 years | Block 168 | Block 150 | 173,036,118,900 | 173,036,118,900 | 0 |
|
|
+---------+---------------+----------------+--------------------+-------------------+-------------------+--------------+
|
|
| ~laprud | 3 years | Block 168 | Block 150 | 800,072,541,200 | 800,072,541,200 | 0 |
|
|
+---------+---------------+----------------+--------------------+-------------------+-------------------+--------------+
|
|
| ~sul | 3 years | Block 168 | Block 150 | 37,304,693,400 | 37,304,693,400 | 0 |
|
|
+---------+---------------+----------------+--------------------+-------------------+-------------------+--------------+
|
|
| ~tamfyl | 4 years | Block 168 | Block 150 | 800,072,541,200 | 800,072,541,200 | 0 |
|
|
+---------+---------------+----------------+--------------------+-------------------+-------------------+--------------+
|
|
| ~tuc | 4 years | Block 168 | Block 150 | 166,261,826,700 | 166,261,826,700 | 0 |
|
|
+---------+---------------+----------------+--------------------+-------------------+-------------------+--------------+
|
|
| ~talret | 5 years | Block 168 | Block 150 | 2,405,475,874,021 | 2,405,475,874,021 | 0 |
|
|
+---------+---------------+----------------+--------------------+-------------------+-------------------+--------------+
|
|
| ~fyr | 5 years | Block 168 | Block 150 | 695,725,887,683 | 695,725,887,683 | 0 |
|
|
+---------+---------------+----------------+--------------------+-------------------+-------------------+--------------+
|
|
|
|
|
|
ok
|
|
|
|
----------------------------------------------------------------------
|
|
Ran 5 tests in 2.086s
|
|
|
|
OK
|