Changes in Solidity
Even though Veda's goal is to seamlessly utilize the ETH development ecosystem, inevitably some incompatible global variables or global methods (such as those related to value and gas) have to be removed.
Global Variables
Block and Transaction Properties
blockhash(uint blockNumber) returns (bytes32)
: Deletedblock.basefee (uint)
: Deletedblock.chainid (uint)
: Veda's chain idblock.coinbase (address payable)
: Deletedblock.difficulty (uint)
: Deletedblock.gaslimit (uint)
: Deletedblock.number (uint)
: The transaction location's block number (Bitcoin)block.prevrandao (uint)
: The transaction location's block nonce (Bitcoin)block.timestamp (uint)
: The transaction location's block timestamp (Bitcoin)gasleft() returns (uint256)
: Deletedmsg.data (bytes calldata)
: Unchangedmsg.sender (address)
: Unchanged, sender address is 20-byte hex address, not bitcoin wallet addressmsg.sig (bytes4)
: Unchangedmsg.value (uint)
: Deletedtx.gasprice (uint)
: Deletedtx.origin (address)
: Unchanged
Last updated