Blockchain

BNB Chain Sets Jenner Date; Post Flags Timestamp Risk

A Profitable Name Can Nonetheless Return Zero

In a $BNB Chain discussion board submit, a contributor utilizing the title Zealynx pointed to the pattern helper in part 4.5 of BEP-706. The writer stated a Foundry check returned zero with out reverting when 0x70 was empty.

The helper makes a low-level staticcall, checks solely whether or not it succeeded, then converts the returned bytes utilizing uint64(uint256(bytes32(information))). Solidity’s documentation confirms that low-level calls to nonexistent contracts can succeed; its conversion guidelines say shorter byte arrays are padded with zeros. An empty response subsequently turns into zero relatively than inflicting this helper to revert.

The discussion board evaluation warns that an expiry verify comparable to nowMs <= quote.expiry would then move even for an expired quote. An empty 0x70 with out an energetic precompile, as on BSC earlier than activation, is one strategy to get that profitable however empty response. The identical concern would apply on one other chain if the decision there succeeded with no information. The submit identifies neither an affected deployed contract nor an exploit.

Two Outcomes for the Timestamp Helper

The writer recommends checking information.size == 32 or utilizing abi.decode, which rejects empty information. The BEP’s pattern incorporates neither safeguard. Even after activation, the timestamp stays validator-supplied inside consensus limits: BEP-706 says finer precision offers no stronger timing assure than block.timestamp.

Fee Capability and Token Help

Jenner additionally introduces Fee Lane, reserving 5% of block fuel by default for eligible funds. Its payment-contract listing begins empty, with entries added by governance; eligible naked $BNB transfers can qualify with no itemizing. The reservation doesn’t assure inclusion for a person cost.

See also  Robinhood Chain Climbs to Second Position in Active Wallets on EVM DEXs

The fork additionally installs CAS20, a protocol-native token commonplace with switch insurance policies and mint, burn and seizure controls. Putting in that help doesn’t open token creation: the discharge notes say a governance-appointed administrator should activate creation individually.

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
Please enter CoinGecko Free Api Key to get this plugin works.