-
sech1
#8752 needs some love again
-
sech1
It's been dragging for too long
-
selsta
sech1: I'll review it today
-
selsta
sech1: did you closely review all the test related changes outside trezor tests?
-
sech1
I reviewed all files. If you check comments from my initial review, I was asking some questions about those files. IIRC it was mostly renaming stuff in tests to make them work correctly again.
-
selsta
I'm always a bit careful with merging changes to core_tests
-
sech1
I'm not an expert in core tests though, here's where I asked it:
monero-project/monero #8752#pullrequestreview-1492566412
-
sech1
"monero tests: fix tx create from sources, input locking. Originally, creating a synthetic transactions with chaingen could create a transaction with outputs that are still locked in the current block, thus failing chain validation by the daemon. Simple unlock check was added. Some buggy tests were fixed as well as new unlock-checking version of tx
-
sech1
creation rejected those, fixes are simple - mostly using correct block after a rewind to construct a transaction"
-
sech1
"Regarding the blk_5r question - I had to rewind so tests pass after fix of tx lock time."
-
moneromoooo
That sucks. This really should be a separate commit, or it's unreviewable really.
-
moneromoooo
(not to mention unbisectable/unrevertable)
-
selsta
moneromoooo: so one commit for chaingen / core test related changes and the remaining trezor changes in the other commit?
-
moneromoooo
I try to make one commit per fix when I can. It's *usually* not hard to commit a fix separately when you code a larger thing and you uncover some bug while doing so. Not *always* easy, but usually. And since this patch isn't really needed since it's just for trezor, it applies even more here.
-
moneromoooo
Quite often I'll have a string of random fixes or small improvements, then the main patch that adds a feature. It makes it easier to review, bisect, revert piecemeal if needed.
-
moneromoooo
For this particular patch, it might be harder to do if both modify the same code, I've not looked.
-
moneromoooo
But then again, 41 files changed is good incentive not to look...
-
selsta
he will try to split it up
-
m-relay
<jeffro256:monero.social> Is it also possible to split the libUSB changes into its own PR ?
-
selsta
the PR already has 160 comments, I feel bad asking for more changes at this point lol
-
m-relay
<jeffro256:monero.social> True True
-
m-relay
<jeffro256:monero.social> I want to see the core_tests modifications in a different PR, but I can live otherwise
-
selsta
they will be in the same PR but a different commit since otherwise tests wouid fail
-
m-relay
<jeffro256:monero.social> Fair enough
-
moneromoooo
Well, a massive patch with unrelated things in it, should have known better. Though I know it's sometimes tempting.
-
selsta