Closed sophoah closed 4 years ago
Added M2 test case fix which should work even though currently always failing when compared with the median test returned by the network. see opened issue #2
I check the M2 script. It's what we wrote had early last week https://github.com/harmony-one/harmony-log-analysis/blob/master/notebooks/economic-test/old_version_test/M2-test.ipynb. But since it's failed sometimes, Ganesha asked me to write using the current method, use the getMedianRawStakeSnapshot
. Does it fail for you? For me, it doesn't fail for about 5 tests.
=============== Starting M2_test ===============
INFO:economic-test:Test-M2: Median is correctly computed for even and odd number of available slots
INFO:economic-test:current and last block numbers: 37136, 37163
INFO:economic-test:current epoch: 977, begin testing...
INFO:economic-test:Test-M2: Succeed
hi @ivorytowerdds, just fixed E4 so it uses the delegated amount per slot