Skip to content

Commit

Permalink
Merge branch 'develop' into BCI-2740-Change-node-LimitTransfer-from-u…
Browse files Browse the repository at this point in the history
…int32-to-uint64
  • Loading branch information
silaslenihan committed Mar 21, 2024
2 parents 7740856 + e54815d commit fc82979
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ gomod: ## Ensure chainlink's go dependencies are installed.

.PHONY: gomodtidy
gomodtidy: gomods ## Run go mod tidy on all modules.
gomods tidy
go mod tidy
cd ./core/scripts && go mod tidy
cd ./integration-tests && go mod tidy
cd ./integration-tests/load && go mod tidy
cd ./dashboard-lib && go mod tidy
cd ./charts/chainlink-cluster && go mod tidy

.PHONY: godoc
godoc: ## Install and run godoc
Expand Down
2 changes: 1 addition & 1 deletion core/web/evm_transfer_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func ValidateEthBalanceForTransfer(c *gin.Context, chain legacyevm.Chain, fromAd
return errors.Errorf("balance is too low for this transaction to be executed: %v", balance)
}

gasLimit := uint64(chain.Config().EVM().GasEstimator().LimitTransfer())
gasLimit := chain.Config().EVM().GasEstimator().LimitTransfer()
estimator := chain.GasEstimator()

amountWithFees, err := estimator.GetMaxCost(c, amount, nil, gasLimit, chain.Config().EVM().GasEstimator().PriceMaxKey(fromAddr))
Expand Down

0 comments on commit fc82979

Please sign in to comment.