|
|
@ -10,26 +10,12 @@ |
|
|
|
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the |
|
|
|
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the |
|
|
|
* specific language governing permissions and limitations under the License. |
|
|
|
* specific language governing permissions and limitations under the License. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
package tech.pegasys.pantheon.ethereum.testutil; |
|
|
|
package tech.pegasys.pantheon.ethereum.core; |
|
|
|
|
|
|
|
|
|
|
|
import static com.google.common.base.Preconditions.checkArgument; |
|
|
|
import static com.google.common.base.Preconditions.checkArgument; |
|
|
|
import static tech.pegasys.pantheon.ethereum.core.InMemoryStorageProvider.createInMemoryWorldStateArchive; |
|
|
|
import static tech.pegasys.pantheon.ethereum.core.InMemoryStorageProvider.createInMemoryWorldStateArchive; |
|
|
|
|
|
|
|
|
|
|
|
import tech.pegasys.pantheon.crypto.SECP256K1; |
|
|
|
import tech.pegasys.pantheon.crypto.SECP256K1; |
|
|
|
import tech.pegasys.pantheon.ethereum.core.Address; |
|
|
|
|
|
|
|
import tech.pegasys.pantheon.ethereum.core.Block; |
|
|
|
|
|
|
|
import tech.pegasys.pantheon.ethereum.core.BlockBody; |
|
|
|
|
|
|
|
import tech.pegasys.pantheon.ethereum.core.BlockHeader; |
|
|
|
|
|
|
|
import tech.pegasys.pantheon.ethereum.core.BlockHeaderBuilder; |
|
|
|
|
|
|
|
import tech.pegasys.pantheon.ethereum.core.Hash; |
|
|
|
|
|
|
|
import tech.pegasys.pantheon.ethereum.core.Log; |
|
|
|
|
|
|
|
import tech.pegasys.pantheon.ethereum.core.LogsBloomFilter; |
|
|
|
|
|
|
|
import tech.pegasys.pantheon.ethereum.core.MutableAccount; |
|
|
|
|
|
|
|
import tech.pegasys.pantheon.ethereum.core.MutableWorldState; |
|
|
|
|
|
|
|
import tech.pegasys.pantheon.ethereum.core.Transaction; |
|
|
|
|
|
|
|
import tech.pegasys.pantheon.ethereum.core.TransactionReceipt; |
|
|
|
|
|
|
|
import tech.pegasys.pantheon.ethereum.core.Wei; |
|
|
|
|
|
|
|
import tech.pegasys.pantheon.ethereum.core.WorldUpdater; |
|
|
|
|
|
|
|
import tech.pegasys.pantheon.ethereum.db.WorldStateArchive; |
|
|
|
import tech.pegasys.pantheon.ethereum.db.WorldStateArchive; |
|
|
|
import tech.pegasys.pantheon.ethereum.mainnet.MainnetBlockHashFunction; |
|
|
|
import tech.pegasys.pantheon.ethereum.mainnet.MainnetBlockHashFunction; |
|
|
|
import tech.pegasys.pantheon.ethereum.trie.MerklePatriciaTrie; |
|
|
|
import tech.pegasys.pantheon.ethereum.trie.MerklePatriciaTrie; |