Skip to content

Commit ce0331d

Browse files
authored
chore: update default gas adjustment and cov sig batch size (#125)
* chore: update default gas adjustment and cov sig batch size * CHANGELOG
1 parent afe376f commit ce0331d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
3737

3838
## Unreleased
3939

40+
### Improvements
41+
42+
* [#125](https://github.com/babylonlabs-io/covenant-emulator/pull/125) Update config defaults for gas adjustment and cov batch sigs.
43+
4044
## v0.15.1
4145

4246
### Improvements

config/babylon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func DefaultBBNConfig() BBNConfig {
3333
GRPCAddr: dc.GRPCAddr,
3434
AccountPrefix: dc.AccountPrefix,
3535
KeyringBackend: dc.KeyringBackend,
36-
GasAdjustment: 5, // Increased from default to ensure sufficient gas
36+
GasAdjustment: 2.5, // Increased from default to ensure sufficient gas
3737
GasPrices: dc.GasPrices,
3838
Debug: dc.Debug,
3939
Timeout: dc.Timeout,

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const (
1919
defaultCovenantKeyName = "covenant-key"
2020
defaultQueryInterval = 15 * time.Second
2121
defaultDelegationLimit = uint64(100)
22-
defaultSigsBatchSize = uint64(20)
22+
defaultSigsBatchSize = uint64(30)
2323
defaultBitcoinNetwork = "simnet"
2424
defaultLogDirname = "logs"
2525
)

0 commit comments

Comments
 (0)