New answers tagged evm
1
vote
Can evm make an EOA transaction during another transaction?
A contract cannot access another account's funds.
There several possible solutions. One is to use contract as user wallet. The main contract will call the user wallet with the request, the user wallet ...
0
votes
Is arrays a hash tables in Solidity?
No, We cannot say that an array is a hash table. Arrays values are stored in contiguous storage slots while hash tables are not.
No, we cannot get collision because the key 0 does not represent the 0 ...
0
votes
Is there any way to change hardhat running environment (hre) provider when running script?
You can use Hardhat Switch Network plugin for this.
https://www.npmjs.com/package/hardhat-switch-network
0
votes
Forge Test Contract Transfer EvmError: Revert
I found the solution. I need to prank the interactions.
File: ./test/Lock.t.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.24;
import {Test, console} from "forge-std/Test.sol&...
0
votes
Is this `isContract()` a built in function in solidity?
Thank you everyone who answered my question.
I have found the answer which is: isFunction() is just a custom function used by developers to check if an address is a contract address.
Top 50 recent answers are included
Related Tags
evm × 1069solidity × 458
opcode × 100
go-ethereum × 97
contract-development × 89
gas × 83
bytecode × 62
blockchain × 57
remix × 51
assembly × 51
transactions × 50
storage × 39
contract-invocation × 36
web3js × 31
contract-design × 31
contract-deployment × 23
security × 22
ether × 19
mining × 19
etherscan × 19
abi × 18
memory × 18
yul × 18
solc × 16
calldata × 16