[#486] innerring: Add fee configuration
When notary disabled, inner ring should be able to configure extra fee for vote collections inside the contracts. Previously these values were hardcoded, however we might want to change them depending on a environment. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
c4f4381b13
commit
1f3bb33db8
2 changed files with 31 additions and 0 deletions
|
@ -117,4 +117,8 @@ func defaultConfiguration(cfg *viper.Viper) {
|
|||
cfg.SetDefault("indexer.cache_timeout", 15*time.Second)
|
||||
|
||||
cfg.SetDefault("locode.db.path", "")
|
||||
|
||||
// extra fee values for working mode without notary contract
|
||||
cfg.SetDefault("fee.main_chain", 5000_0000) // 0.5 Fixed8
|
||||
cfg.SetDefault("fee.side_chain", 2_0000_0000) // 2.0 Fixed8
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue