You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
354 B
14 lines
354 B
8 years ago
|
// Cost to deploy Expensive: 0x4e042f
|
||
|
// Block gas limit is: 0x47e7c4
|
||
7 years ago
|
// Should throw out of gas on unmodified truffle
|
||
8 years ago
|
// Should pass solcover truffle
|
||
6 years ago
|
pragma solidity ^0.5.0;
|
||
8 years ago
|
|
||
|
contract Expensive {
|
||
|
mapping (uint => address) map;
|
||
6 years ago
|
constructor() public {
|
||
7 years ago
|
for(uint i = 0; i < 1000; i++ ){
|
||
8 years ago
|
map[i] = address(this);
|
||
|
}
|
||
|
}
|
||
|
}
|