Skip to content

Commit da03811

Browse files
committed
temp/tron config test
1 parent 8c69965 commit da03811

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pkg/bindings/bindgen_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

pkg/chains/tron/txm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func ConstructTxm(logger logger.Logger, cfg TxmConfig, nodes []*toml.Node, keyst
3232
return nil, fmt.Errorf("failed to create combined client: %w", err)
3333
}
3434

35-
fixedEnergyValue := new(big.Int).SetUint64(cfg.LimitDefault()).Int64()
35+
fixedEnergyValue := new(big.Int).SetUint64(cfg.LimitDefault() * 5).Int64()
3636

3737
return trontxm.New(logger, tronkeystore.NewLoopKeystoreAdapter(keystore), combinedClient, trontxm.TronTxmConfig{
3838
// Overrides the energy estimator to always use the fixed energy
@@ -44,6 +44,6 @@ func ConstructTxm(logger logger.Logger, cfg TxmConfig, nodes []*toml.Node, keyst
4444
// How long transactions are kept in the txm
4545
RetentionPeriod: 0,
4646
// How often to reap the txm of finished transactions
47-
ReapInterval: 1 * time.Minute,
47+
ReapInterval: 1 * time.Minute,
4848
}), nil
4949
}

0 commit comments

Comments
 (0)