aboutsummaryrefslogblamecommitdiffstats
path: root/GeneralStateTests/stPreCompiledContracts/modexp_1_0_1_22000.json
blob: 7624a3488c5c4fb1c830e84f941b9e6b4bb27775 (plain) (tree)
1
2
3
4
5
6
7
8



                                                                             
                                             

                                            
                                          






















































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
{
    "modexp_1_0_1_22000" : {
        "env" : {
            "currentCoinbase" : "0x3535353535353535353535353535353535353535",
            "currentDifficulty" : "0x020000",
            "currentGasLimit" : "0x5f5e100",
            "currentNumber" : "0x1",
            "currentTimestamp" : "0x03e8",
            "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad"
        },
        "explanation" : "Puts the base 1, exponent 0 and modulus 1 into the MODEXP precompile, saves the hash of the result. Gives the execution 22000 gas",
        "post" : {
            "EIP150" : [
                {
                    "hash" : "0xdacade500da9d396a3311376858dac04e8c9c820a3ee9d8b87a18a7acabb66c9",
                    "indexes" : {
                        "data" : 0,
                        "gas" : 0,
                        "value" : 0
                    }
                }
            ],
            "EIP158" : [
                {
                    "hash" : "0xdacade500da9d396a3311376858dac04e8c9c820a3ee9d8b87a18a7acabb66c9",
                    "indexes" : {
                        "data" : 0,
                        "gas" : 0,
                        "value" : 0
                    }
                }
            ],
            "Frontier" : [
                {
                    "hash" : "0x3a86b9de7d6c7156712983497ba939a75bbd2dce10e9a82b2227066b4ceac0bb",
                    "indexes" : {
                        "data" : 0,
                        "gas" : 0,
                        "value" : 0
                    }
                }
            ],
            "Homestead" : [
                {
                    "hash" : "0x3a86b9de7d6c7156712983497ba939a75bbd2dce10e9a82b2227066b4ceac0bb",
                    "indexes" : {
                        "data" : 0,
                        "gas" : 0,
                        "value" : 0
                    }
                }
            ],
            "Metropolis" : [
                {
                    "hash" : "0xdacade500da9d396a3311376858dac04e8c9c820a3ee9d8b87a18a7acabb66c9",
                    "indexes" : {
                        "data" : 0,
                        "gas" : 0,
                        "value" : 0
                    }
                }
            ]
        },
        "pre" : {
            "0x0000000000000000000000000000000000000001" : {
                "balance" : "0x01",
                "code" : "",
                "nonce" : "0x00",
                "storage" : {
                }
            },
            "0x0000000000000000000000000000000000000002" : {
                "balance" : "0x01",
                "code" : "",
                "nonce" : "0x00",
                "storage" : {
                }
            },
            "0x0000000000000000000000000000000000000003" : {
                "balance" : "0x01",
                "code" : "",
                "nonce" : "0x00",
                "storage" : {
                }
            },
            "0x0000000000000000000000000000000000000004" : {
                "balance" : "0x01",
                "code" : "",
                "nonce" : "0x00",
                "storage" : {
                }
            },
            "0x0000000000000000000000000000000000000005" : {
                "balance" : "0x01",
                "code" : "",
                "nonce" : "0x00",
                "storage" : {
                }
            },
            "0x0000000000000000000000000000000000000006" : {
                "balance" : "0x01",
                "code" : "",
                "nonce" : "0x00",
                "storage" : {
                }
            },
            "0x0000000000000000000000000000000000000007" : {
                "balance" : "0x01",
                "code" : "",
                "nonce" : "0x00",
                "storage" : {
                }
            },
            "0x0000000000000000000000000000000000000008" : {
                "balance" : "0x01",
                "code" : "",
                "nonce" : "0x00",
                "storage" : {
                }
            },
            "0x3535353535353535353535353535353535353535" : {
                "balance" : "0x0201ee",
                "code" : "",
                "nonce" : "0x00",
                "storage" : {
                }
            },
            "0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : {
                "balance" : "0x0de0b6b3a761fe12",
                "code" : "",
                "nonce" : "0x01",
                "storage" : {
                }
            },
            "0xc305c901078781c232a2a521c2af7980f8385ee9" : {
                "balance" : "0x00",
                "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760866004356004013511151558576004356004013560200160043560040161014037600161024061014051610160600060056305f5e0fff11558576001610220526102206021806102808284600060046015f150505061028080516020820120905060005561028060206020820352604081510160206001820306601f820103905060208203f350005b",
                "nonce" : "0x01",
                "storage" : {
                }
            }
        },
        "transaction" : {
            "data" : [
                "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101000000000000000000000000000000000000000000000000000000000000"
            ],
            "gasLimit" : [
                "0xad88"
            ],
            "gasPrice" : "0x1",
            "nonce" : "0x1",
            "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d",
            "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9",
            "value" : [
                "0x"
            ]
        }
    }
}