Questions tagged [create2]
55 questions
14
votes
3 answers
Can CREATE2 with the same salt override existing contract?
Deployed: https://rinkeby.etherscan.io/address/0x121e370ae349425d0d744f6db43c2f43e777f972#code
pragma solidity 0.8.3;
contract Test {
uint256 public a;
constructor (uint256 _a) public {
a = _a;
}
}
contract DeployTest {
…
Mars Robertson
- 1,011
- 1
- 15
- 35
3
votes
1 answer
is it possible to create smart contract with deterministic address (like CREATE2 does) from transaction itself (i.e. without proxy/creator smart c)?
I found that
From ethereum yellow whitepaper
Transaction contains fields:
nonce
gasPrice
gasLimit
to
value
v, r, s
init (contains "smart contract creation code" that should return "smart contract runtime code") OR data (arguments to call…
srghma
- 191
- 9