Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultGasLimit = uint64(1_000_000) InitialTestBalance = 1000000000000000000 // 1 atom )
Variables ¶
This section is empty.
Functions ¶
func TestEIP7702IntegrationTestSuite ¶
func TestEIP7702IntegrationTestSuite(t *testing.T, create network.CreateEvmApp, options ...network.ConfigOption)
Types ¶
type IntegrationTestSuite ¶
func NewIntegrationTestSuite ¶
func NewIntegrationTestSuite(create network.CreateEvmApp, options ...network.ConfigOption) *IntegrationTestSuite
func (*IntegrationTestSuite) SetupSmartWallet ¶
func (s *IntegrationTestSuite) SetupSmartWallet()
func (*IntegrationTestSuite) SetupTest ¶
func (s *IntegrationTestSuite) SetupTest()
type UserOperation ¶
type UserOperation struct {
Sender common.Address
Nonce *big.Int
InitCode []byte
CallData []byte
CallGasLimit *big.Int
VerificationGasLimit *big.Int
PreVerificationGas *big.Int
MaxFeePerGas *big.Int
MaxPriorityFeePerGas *big.Int
PaymasterAndData []byte
Signature []byte
}
func NewUserOperation ¶
func NewUserOperation(sender common.Address, nonce uint64, calldata []byte) *UserOperation
func SignUserOperation ¶
func SignUserOperation(userOp *UserOperation, entryPointAddr common.Address, privKey cryptotypes.PrivKey) (*UserOperation, error)
Click to show internal directories.
Click to hide internal directories.