Skip to content

Commit e3c27b3

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

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ 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()
36+
logger.Info("fixedEnergyValue", "fixedEnergyValue", fixedEnergyValue)
3637

3738
return trontxm.New(logger, tronkeystore.NewLoopKeystoreAdapter(keystore), combinedClient, trontxm.TronTxmConfig{
3839
// Overrides the energy estimator to always use the fixed energy

0 commit comments

Comments
 (0)