Why this conversation
A review comment that points at a unit, not a person, and turns a bug into a rule the whole codebase can follow.
Dialogue
Jay: This waits five blocks before resolving. On the devnet that's five seconds. On Sepolia it's a minute. Which one did you mean?
Marek: I meant "a little while." Enough for the price to be there.
Jay: Then say the little while in seconds and read the chain's timestamp. Block counts change meaning every time we change chains, and we now have three.
Marek: The devnet's clock runs behind real time though.
Jay: Right, so compare block timestamps to each other, never to Date.now. Distance from the head is the honest measure.
Marek: Should I fix just this spot?
Jay: Fix this one, then grep for the pattern. If it's in three places, it's a rule, and the rule goes in the rails README so the next person doesn't relearn it.
Key expressions
| Expression | 뜻 · 쓰이는 자리 |
|---|---|
| which one did you mean? | 어느 쪽을 의도했나? |
| a little while | 잠깐 |
| say it in seconds | 초 단위로 말하라 |
| change meaning every time we change chains | 체인을 바꿀 때마다 의미가 바뀐다 |
| runs behind real time | 실제 시간보다 뒤처진다 |
| distance from the head | 헤드로부터의 거리 |
| the honest measure | 정직한 척도 |
| grep for the pattern | 패턴을 검색하라 |
| if it's in three places, it's a rule | 세 곳에 있으면 규칙이다 |
| relearn it | 다시 배우다 |