- 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 | ~witmyr | zenith1429hr8jl4ucpagh0l4yljet6pg823cg8k6k2je | 569,614,680,000 | 569,614,680,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+-------------------+-------------------+--------------+
|
|
| 2 years | ~difwen | zenith1429hr8jl4ucpagh0l4yljet6pg823cg8k6k2je | 1,139,229,360,000 | 1,139,229,360,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+-------------------+-------------------+--------------+
|
|
| 3 years | ~winsel | zenith1429hr8jl4ucpagh0l4yljet6pg823cg8k6k2je | 1,708,844,040,000 | 1,708,844,040,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+-------------------+-------------------+--------------+
|
|
| 4 years | ~rilbyt | zenith1429hr8jl4ucpagh0l4yljet6pg823cg8k6k2je | 2,278,458,720,000 | 2,278,458,720,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+-------------------+-------------------+--------------+
|
|
| 5 years | ~tocfur | zenith1429hr8jl4ucpagh0l4yljet6pg823cg8k6k2je | 8,505,886,434,146 | 8,505,886,434,146 | 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 | ~byl | zenith1zlx6fewfd0c5ln9e0746qv2qlg4qrhp9vjqlxl | 670,599,000,000 | 670,599,000,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+-------------------+-------------------+--------------+
|
|
| 2 years | ~nel | zenith1msqxk2plmj0hhwc73ejlvlhcm2q4maedprnxua | 1,341,198,000,000 | 1,341,198,000,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+-------------------+-------------------+--------------+
|
|
| 3 years | ~dut | zenith1fg0uaa4avyfgq9skk9mm7cxp7dessjw07lh7er | 2,011,797,000,000 | 2,011,797,000,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+-------------------+-------------------+--------------+
|
|
| 4 years | ~tyl | zenith17sefau4gd2gkr2urc6g8jmek9ly38uuzhlgfpg | 2,682,396,000,000 | 2,682,396,000,000 | 0 |
|
|
+---------------+---------+-----------------------------------------------+-------------------+-------------------+--------------+
|
|
| 5 years | ~pes | zenith1429hr8jl4ucpagh0l4yljet6pg823cg8k6k2je | 9,691,219,900,000 | 9,691,219,900,000 | 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,996,906 |
|
|
+------------+--------------------------+
|
|
| zenithd | 128,849,018,879,996,906 |
|
|
+------------+--------------------------+
|
|
| 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 |
|
|
+=========+===============+=====================+===================+==================+==============+
|
|
| ~witmyr | 1 years | 2025-03-10T02:16:32 | 8,971,462 | 8,971,462 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~byl | 1 years | 2025-02-25T14:35:28 | 8,432,030 | 8,432,030 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~difwen | 2 years | 2025-03-10T02:16:32 | 24,750,262 | 24,750,262 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~nel | 2 years | 2025-04-29T17:51:48 | 26,938,320 | 26,938,320 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~winsel | 3 years | 2025-03-10T02:16:32 | 40,529,062 | 40,529,062 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~dut | 3 years | 2025-06-06T22:27:38 | 44,366,995 | 44,366,995 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~rilbyt | 4 years | 2025-03-10T02:16:32 | 56,307,862 | 56,307,862 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~tyl | 4 years | 2025-06-14T22:41:19 | 60,491,806 | 60,491,806 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~tocfur | 5 years | 2025-03-10T02:16:32 | 72,086,662 | 72,086,662 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
| ~pes | 5 years | 2025-03-10T02:16:32 | 72,086,662 | 72,086,662 | 0 |
|
|
+---------+---------------+---------------------+-------------------+------------------+--------------+
|
|
|
|
INITIAL UNLOCK AMOUNTS COMPARISON
|
|
+---------+---------------+---------------------+------------------+-----------------+--------------+
|
|
| Point | Lock Period | Start Time | Expected ($sZ) | zenithd ($sZ) | Difference |
|
|
+=========+===============+=====================+==================+=================+==============+
|
|
| ~witmyr | 1 years | 2025-03-10T02:16:32 | 245,744,901,800 | 245,744,901,800 | 0 |
|
|
+---------+---------------+---------------------+------------------+-----------------+--------------+
|
|
| ~byl | 1 years | 2025-02-25T14:35:28 | 312,237,725,000 | 312,237,725,000 | 0 |
|
|
+---------+---------------+---------------------+------------------+-----------------+--------------+
|
|
| ~difwen | 2 years | 2025-03-10T02:16:32 | 245,744,901,800 | 245,744,901,800 | 0 |
|
|
+---------+---------------+---------------------+------------------+-----------------+--------------+
|
|
| ~nel | 2 years | 2025-04-29T17:51:48 | 196,319,400,000 | 196,319,400,000 | 0 |
|
|
+---------+---------------+---------------------+------------------+-----------------+--------------+
|
|
| ~winsel | 3 years | 2025-03-10T02:16:32 | 245,744,901,800 | 245,744,901,800 | 0 |
|
|
+---------+---------------+---------------------+------------------+-----------------+--------------+
|
|
| ~dut | 3 years | 2025-06-06T22:27:38 | 126,199,712,500 | 126,199,712,500 | 0 |
|
|
+---------+---------------+---------------------+------------------+-----------------+--------------+
|
|
| ~rilbyt | 4 years | 2025-03-10T02:16:32 | 245,744,901,800 | 245,744,901,800 | 0 |
|
|
+---------+---------------+---------------------+------------------+-----------------+--------------+
|
|
| ~tyl | 4 years | 2025-06-14T22:41:19 | 111,494,245,000 | 111,494,245,000 | 0 |
|
|
+---------+---------------+---------------------+------------------+-----------------+--------------+
|
|
| ~tocfur | 5 years | 2025-03-10T02:16:32 | 733,927,091,373 | 733,927,091,373 | 0 |
|
|
+---------+---------------+---------------------+------------------+-----------------+--------------+
|
|
| ~pes | 5 years | 2025-03-10T02:16:32 | 836,203,126,874 | 836,203,126,874 | 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 84
|
|
+---------+---------------+----------------+--------------------+------------------+-----------------+--------------+
|
|
| Point | Lock Period | Block Height | Last Unlocked At | Expected ($sZ) | zenithd ($sZ) | Difference |
|
|
+=========+===============+================+====================+==================+=================+==============+
|
|
| ~witmyr | 1 years | Block 84 | Block 60 | 245,747,067,800 | 245,747,067,800 | 0 |
|
|
+---------+---------------+----------------+--------------------+------------------+-----------------+--------------+
|
|
| ~byl | 1 years | Block 84 | Block 60 | 312,240,275,000 | 312,240,275,000 | 0 |
|
|
+---------+---------------+----------------+--------------------+------------------+-----------------+--------------+
|
|
| ~difwen | 2 years | Block 84 | Block 60 | 245,747,067,800 | 245,747,067,800 | 0 |
|
|
+---------+---------------+----------------+--------------------+------------------+-----------------+--------------+
|
|
| ~nel | 2 years | Block 84 | Block 60 | 196,321,950,000 | 196,321,950,000 | 0 |
|
|
+---------+---------------+----------------+--------------------+------------------+-----------------+--------------+
|
|
| ~winsel | 3 years | Block 84 | Block 60 | 245,747,067,800 | 245,747,067,800 | 0 |
|
|
+---------+---------------+----------------+--------------------+------------------+-----------------+--------------+
|
|
| ~dut | 3 years | Block 84 | Block 60 | 126,202,262,500 | 126,202,262,500 | 0 |
|
|
+---------+---------------+----------------+--------------------+------------------+-----------------+--------------+
|
|
| ~rilbyt | 4 years | Block 84 | Block 60 | 245,747,067,800 | 245,747,067,800 | 0 |
|
|
+---------+---------------+----------------+--------------------+------------------+-----------------+--------------+
|
|
| ~tyl | 4 years | Block 84 | Block 60 | 111,496,795,000 | 111,496,795,000 | 0 |
|
|
+---------+---------------+----------------+--------------------+------------------+-----------------+--------------+
|
|
| ~tocfur | 5 years | Block 84 | Block 60 | 733,933,560,219 | 733,933,560,219 | 0 |
|
|
+---------+---------------+----------------+--------------------+------------------+-----------------+--------------+
|
|
| ~pes | 5 years | Block 84 | Block 60 | 836,210,497,183 | 836,210,497,183 | 0 |
|
|
+---------+---------------+----------------+--------------------+------------------+-----------------+--------------+
|
|
|
|
|
|
ok
|
|
|
|
----------------------------------------------------------------------
|
|
Ran 5 tests in 4.311s
|
|
|
|
OK
|