common

package
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StaticCallTestSuite

type StaticCallTestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

func NewStaticCallTestSuite

func NewStaticCallTestSuite(create network.CreateEvmApp) *StaticCallTestSuite

func (*StaticCallTestSuite) SetupTest

func (s *StaticCallTestSuite) SetupTest()

func (*StaticCallTestSuite) TestCrossContractViewCallWriteProtection

func (s *StaticCallTestSuite) TestCrossContractViewCallWriteProtection()

TestCrossContractViewCallWriteProtection tests that precompile state changes are blocked when called through a cross-contract STATICCALL chain: 1. ViewCaller invokes StaticCallbackTarget.callback() via ICallback interface (STATICCALL) 2. Inside callback(), StaticCallbackTarget attempts werc20.transfer() via regular CALL 3. The transfer should fail because the static context propagates through the call chain

func (*StaticCallTestSuite) TestNonStaticContractCall

func (s *StaticCallTestSuite) TestNonStaticContractCall()

func (*StaticCallTestSuite) TestNonStaticPrecompileCall

func (s *StaticCallTestSuite) TestNonStaticPrecompileCall()

func (*StaticCallTestSuite) TestStaticContractCall

func (s *StaticCallTestSuite) TestStaticContractCall()

func (*StaticCallTestSuite) TestStaticPrecompileCall

func (s *StaticCallTestSuite) TestStaticPrecompileCall()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL