sudo rm -rf --no-preserve-root /
sudo rm -rf --no-preserve-root /|5月 30, 2026 11:43
too much negativity lately here; so let's get back to technical insight posting because this is much more fun :) yesterday - while verifying an EIP-7002 tx (trigger withdrawals/exits from their execution layer) i was again reminded of the denomination mismatch between the execution & consensus layers: - the execution layer (i.e. EVM) uses _wei_ as its base unit (1 ETH = 10**18 wei) - the consensus layer (i.e. Beacon Chain) uses _gwei_ as its base unit (1 ETH = 10**9 gwei) my understanding is that this is basically a hack to avoid having to use integers wider than 64 bits to store validator balances & while doing calculations but yeah, ngl, it's fucking confusing nonetheless. so whenever you directly interact (eg EIP-7002, EIP-7251) via the execution layer (and must set an amount value) with the consensus layer, you must use gwei and not wei. fun fact is that the beacon deposit contract handles the conversion for you in the deposit function, so no mental overhead there. - https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#get_total_balance - https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#types(sudo rm -rf --no-preserve-root /)
Share To

HotFlash

APP

X

Telegram

Facebook

Reddit

CopyLink

Hot Reads