Documentation ¶
Index ¶
Constants ¶
View Source
const (
NetworkIDL2 = uint32(1)
)
Variables ¶
This section is empty.
Functions ¶
func CommonSetup ¶
func CommonSetup(t *testing.T) ( *simulated.Backend, *l1infotreesync.L1InfoTreeSync, *gerContractL1.Globalexitrootnopush0, common.Address, *polygonzkevmbridgev2.Polygonzkevmbridgev2, common.Address, *bind.TransactOpts, *reorgdetector.ReorgDetector, )
func EVMSetup ¶
func EVMSetup(t *testing.T) ( aggoracle.ChainSender, *simulated.Backend, *gerContractEVMChain.Pessimisticglobalexitrootnopush0, common.Address, *polygonzkevmbridgev2.Polygonzkevmbridgev2, common.Address, *bind.TransactOpts, *helpers.EthTxManagerMock, )
Types ¶
type AggoracleWithEVMChainEnv ¶
type AggoracleWithEVMChainEnv struct { L1Client *simulated.Backend L2Client *simulated.Backend L1InfoTreeSync *l1infotreesync.L1InfoTreeSync GERL1Contract *gerContractL1.Globalexitrootnopush0 GERL1Addr common.Address GERL2Contract *gerContractEVMChain.Pessimisticglobalexitrootnopush0 GERL2Addr common.Address AuthL1 *bind.TransactOpts AuthL2 *bind.TransactOpts AggOracle *aggoracle.AggOracle AggOracleSender aggoracle.ChainSender ReorgDetector *reorgdetector.ReorgDetector BridgeL1Contract *polygonzkevmbridgev2.Polygonzkevmbridgev2 BridgeL1Addr common.Address BridgeL2Contract *polygonzkevmbridgev2.Polygonzkevmbridgev2 BridgeL2Addr common.Address NetworkIDL2 uint32 EthTxManMockL2 *helpers.EthTxManagerMock }
func SetupAggoracleWithEVMChain ¶
func SetupAggoracleWithEVMChain(t *testing.T) *AggoracleWithEVMChainEnv
Click to show internal directories.
Click to hide internal directories.