Closed kien-rise closed 2 weeks ago
all discussions resolved
Sorry for the CI failure, I have fixed the test at tests/ethereum/main.rs
.
@hai-rise the code is different. It is not failing if tx.caller != address
, as it was before :
debug_assert!(
tx.caller != address || tx.nonce.map_or(true, |n| n + 1 == nonce)
);
@cr-rise Hmm, previously if tx.caller != address
then it's an instant true
that passes the assertion without needing to evaluate further, right?
@hai-rise I got it, I was misreading somehow. The PR is correct.
@cr-rise No worries at all. I just made a boolean mistake today too! https://github.com/risechain/pevm/pull/415#discussion_r1825715235
Resolves https://github.com/risechain/pevm/issues/397