aboutsummaryrefslogblamecommitdiffstats
path: root/GeneralStateTests/stPreCompiledContracts/modexp_55190_55190_42965_155000.json
blob: aa58ad450e2811fb1f859520bbf4038b07776f77 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                         

                           
                                                                 

                                                                                                                       

                                                                             
                                             

                                            
                                        

                                                                                                 























































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                     


                                                                                                                                                                                                                                                                                                                                                                     
                 



                                                          


                             



                                                          


                             



                                                          


                             



                                                          


                             



                                                          


                             



                                                          


                             



                                                          


                             



                                                          


                             



                                                          


                             



                                                          


                             

                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                              




















                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
{
    "modexp_55190_55190_42965_155000" : {
        "_info" : {
            "comment" : "",
            "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++",
            "source" : "/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_55190_55190_42965_155000Filler.json"
        },
        "env" : {
            "currentCoinbase" : "0x3535353535353535353535353535353535353535",
            "currentDifficulty" : "0x020000",
            "currentGasLimit" : "0x5f5e100",
            "currentNumber" : "0x1",
            "currentTimestamp" : "1000",
            "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad"
        },
        "expect" : [
            {
                "indexes" : {
                    "data" : 0,
                    "gas" : 0,
                    "value" : 0
                },
                "network" : [
                    "Metropolis"
                ],
                "result" : {
                    "0000000000000000000000000000000000000001" : {
                        "balance" : "1",
                        "code" : "0x",
                        "nonce" : "0",
                        "storage" : {
                        }
                    },
                    "0000000000000000000000000000000000000002" : {
                        "balance" : "1",
                        "code" : "0x",
                        "nonce" : "0",
                        "storage" : {
                        }
                    },
                    "0000000000000000000000000000000000000003" : {
                        "balance" : "1",
                        "code" : "0x",
                        "nonce" : "0",
                        "storage" : {
                        }
                    },
                    "0000000000000000000000000000000000000004" : {
                        "balance" : "1",
                        "code" : "0x",
                        "nonce" : "0",
                        "storage" : {
                        }
                    },
                    "0000000000000000000000000000000000000005" : {
                        "balance" : "1",
                        "code" : "0x",
                        "nonce" : "0",
                        "storage" : {
                        }
                    },
                    "0000000000000000000000000000000000000006" : {
                        "balance" : "1",
                        "code" : "0x",
                        "nonce" : "0",
                        "storage" : {
                        }
                    },
                    "0000000000000000000000000000000000000007" : {
                        "balance" : "1",
                        "code" : "0x",
                        "nonce" : "0",
                        "storage" : {
                        }
                    },
                    "0000000000000000000000000000000000000008" : {
                        "balance" : "1",
                        "code" : "0x",
                        "nonce" : "0",
                        "storage" : {
                        }
                    },
                    "3535353535353535353535353535353535353535" : {
                        "balance" : "184042",
                        "code" : "0x",
                        "nonce" : "0",
                        "storage" : {
                        }
                    },
                    "82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : {
                        "balance" : "999999999999815958",
                        "code" : "0x",
                        "nonce" : "2",
                        "storage" : {
                        }
                    },
                    "c305c901078781c232a2a521c2af7980f8385ee9" : {
                        "balance" : "0",
                        "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760d86004356004013511151558576004356004013560200160043560040161014037601461028061014051610160600060056305f5e0fff11558576014610260526102606034806102c08284600060046017f15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b",
                        "nonce" : "1",
                        "storage" : {
                            "0x00" : "0xc180ec8d162fccdd700a086100d56543bccabfc357ba4c070df23a92790537bb"
                        }
                    }
                }
            }
        ],
        "explanation" : "Puts the base 21847450052839212624230656502990235142567050104912751880812823948662932355190, exponent 21847450052839212624230656502990235142567050104912751880812823948662932355190 and modulus 1461501637330902918203684832716283019655932542965 into the MODEXP precompile, saves the hash of the result. Gives the execution 155000 gas",
        "pre" : {
            "0000000000000000000000000000000000000001" : {
                "balance" : "1",
                "code" : "0x",
                "nonce" : "0",
                "storage" : {
                }
            },
            "0000000000000000000000000000000000000002" : {
                "balance" : "1",
                "code" : "0x",
                "nonce" : "0",
                "storage" : {
                }
            },
            "0000000000000000000000000000000000000003" : {
                "balance" : "1",
                "code" : "0x",
                "nonce" : "0",
                "storage" : {
                }
            },
            "0000000000000000000000000000000000000004" : {
                "balance" : "1",
                "code" : "0x",
                "nonce" : "0",
                "storage" : {
                }
            },
            "0000000000000000000000000000000000000005" : {
                "balance" : "1",
                "code" : "0x",
                "nonce" : "0",
                "storage" : {
                }
            },
            "0000000000000000000000000000000000000006" : {
                "balance" : "1",
                "code" : "0x",
                "nonce" : "0",
                "storage" : {
                }
            },
            "0000000000000000000000000000000000000007" : {
                "balance" : "1",
                "code" : "0x",
                "nonce" : "0",
                "storage" : {
                }
            },
            "0000000000000000000000000000000000000008" : {
                "balance" : "1",
                "code" : "0x",
                "nonce" : "0",
                "storage" : {
                }
            },
            "3535353535353535353535353535353535353535" : {
                "balance" : "131566",
                "code" : "0x",
                "nonce" : "0",
                "storage" : {
                }
            },
            "82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : {
                "balance" : "999999999999868434",
                "code" : "0x",
                "nonce" : "1",
                "storage" : {
                }
            },
            "c305c901078781c232a2a521c2af7980f8385ee9" : {
                "balance" : "0",
                "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760d86004356004013511151558576004356004013560200160043560040161014037601461028061014051610160600060056305f5e0fff11558576014610260526102606034806102c08284600060046017f15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b",
                "nonce" : "1",
                "storage" : {
                }
            }
        },
        "transaction" : {
            "data" : [
                "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000b4000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000014304d37f120d696c834550e63d9bb9c14b4f9165c9ede434e4644e3998d6db876304d37f120d696c834550e63d9bb9c14b4f9165c9ede434e4644e3998d6db876fffffffffffffffffffffffffffffffffffffff5000000000000000000000000"
            ],
            "gasLimit" : [
                "0x2cad0"
            ],
            "gasPrice" : "0x1",
            "nonce" : "0x1",
            "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d",
            "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9",
            "value" : [
                "0x"
            ]
        }
    }
}