Versions in this module Expand all Collapse all v0 v0.0.2 May 7, 2021 v0.0.1 May 7, 2021 Changes in this version + func AddTransaction(dest *common.Address, gst *GstMaker) + func GasRandomizer() valFunc + func MemRandomizer() memFunc + func NewFP2toG2() []byte + func NewFPtoG1() []byte + func NewFieldElement() []byte + func NewG1Add() []byte + func NewG1Exp() []byte + func NewG1Mul() []byte + func NewG1Point() []byte + func NewG2Add() []byte + func NewG2Exp() []byte + func NewG2Mul() []byte + func NewG2Point() []byte + func NewPairing() []byte + func RandCall(gas, addr, val valFunc, memIn, memOut memFunc) []byte + func RandCall2200(addresses []common.Address) []byte + func RandCallBLS() []byte + func RandCallBlake() []byte + func RandCallECRecover() []byte + func RandCallSubroutine(addresses []common.Address) []byte + func RandStorage(maxSlots, maxVal int) map[common.Hash]common.Hash + func RandStorageOps() *program.Program + func ValueRandomizer() valFunc + type GeneralStateTest map[string]*stJSON + func FromGeneralStateTest(name string) (*GeneralStateTest, error) + func GenerateBlakeTest(name string) *GeneralStateTest + func GenerateStateTest(name string) *GeneralStateTest + type GenesisAccount struct + Balance *big.Int + Code []byte + Nonce uint64 + PrivateKey []byte + Storage map[common.Hash]common.Hash + func (g *GenesisAccount) UnmarshalJSON(input []byte) error + func (g GenesisAccount) MarshalJSON() ([]byte, error) + type GenesisAlloc map[common.Address]GenesisAccount + func (ga *GenesisAlloc) UnmarshalJSON(data []byte) error + type GstMaker struct + func BasicStateTest(fork string) *GstMaker + func Generate2200BerlinTest() *GstMaker + func Generate2200Test() *GstMaker + func GenerateBLS() (*GstMaker, []byte) + func GenerateBlake() *GstMaker + func GenerateECRecover() (*GstMaker, []byte) + func GenerateSubroutineTest() *GstMaker + func NewGstMaker() *GstMaker + func (g *GstMaker) AddAccount(address common.Address, a GenesisAccount) + func (g *GstMaker) EnableFork(fork string) + func (g *GstMaker) Fill(traceOutput io.Writer) error + func (g *GstMaker) GetDestination() common.Address + func (g *GstMaker) SetCode(address common.Address, code []byte) + func (g *GstMaker) SetPre(genesis *GenesisAlloc) + func (g *GstMaker) SetResult(root, logs common.Hash) + func (g *GstMaker) SetTx(tx *StTransaction) + func (g *GstMaker) ToGeneralStateTest(name string) *GeneralStateTest + func (g *GstMaker) ToStateTest() (tests.StateTest, error) + func (g *GstMaker) ToSubTest() *stJSON + type StTransaction struct + Data []string + GasLimit []uint64 + GasPrice *big.Int + Nonce uint64 + PrivateKey []byte + To string + Value []string + func (s *StTransaction) UnmarshalJSON(input []byte) error + func (s StTransaction) MarshalJSON() ([]byte, error) + type StateSubtest struct + Fork string + Index int + type StateTest struct + func (t *StateTest) UnmarshalJSON(in []byte) error