-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
28037c8
commit 29d599c
Showing
6 changed files
with
43 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package aggsender | ||
|
||
import "github.com/0xPolygon/cdk/localbridgesync" | ||
|
||
// Config is the configuration for the AggSender | ||
type Config struct { | ||
OriginNetwork uint32 `mapstructure:"OriginNetwork"` | ||
AggLayerUrl string `mapstructure:"AggLayerUrl"` | ||
LocalBridgeSyncer localbridgesync.Config `mapstructure:"LocalBridgeSyncer"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package localbridgesync | ||
|
||
import ( | ||
"github.com/0xPolygon/cdk/etherman" | ||
"github.com/ethereum/go-ethereum/common" | ||
) | ||
|
||
// Config struct for local bridge syncer | ||
type Config struct { | ||
DBPath string `mapstructure:"DBPath"` | ||
BridgeAddr common.Address `mapstructure:"BridgeAddr"` | ||
SyncBlockChunkSize uint64 `mapstructure:"SyncBlockChunkSize"` | ||
BlockFinalityType etherman.BlockNumberFinality `mapstructure:"BlockFinalityType"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters