Skip to content

Commit

Permalink
added aptos configs for keystore
Browse files Browse the repository at this point in the history
  • Loading branch information
yongkangchia committed Jun 19, 2024
1 parent b12d3a3 commit a95418d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/config/app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ type AppConfig interface {
CosmosEnabled() bool
SolanaEnabled() bool
StarkNetEnabled() bool
AptosEnabled() bool

Validate() error
ValidateDB() error
Expand Down
2 changes: 2 additions & 0 deletions core/services/chainlink/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ type Config struct {
Solana solcfg.TOMLConfigs `toml:",omitempty"`

Starknet stkcfg.TOMLConfigs `toml:",omitempty"`

Aptos map[string]any `toml:",omitempty"`
}

// TOMLString returns a TOML encoded string.
Expand Down
5 changes: 5 additions & 0 deletions core/services/chainlink/config_general.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,11 @@ func (g *generalConfig) StarkNetEnabled() bool {
return false
}

// TODO: Once Aptos config is ready for public repo, update this method
func (g *generalConfig) AptosEnabled() bool {
return false
}

func (g *generalConfig) WebServer() config.WebServer {
return &webServerConfig{c: g.c.WebServer, s: g.secrets.WebServer, rootDir: g.RootDir}
}
Expand Down

0 comments on commit a95418d

Please sign in to comment.