Skip to content

Commit

Permalink
adjusted gas
Browse files Browse the repository at this point in the history
  • Loading branch information
stackman27 committed Feb 19, 2024
1 parent a7f503c commit 3e748ef
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
3 changes: 3 additions & 0 deletions core/chains/evm/config/toml/defaults/Mantle_Sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ PriceMax = '500 gwei'
BumpThreshold = 0
LimitDefault = 6000000

[Transactions]
ResendAfterThreshold = '1m'
MaxQueued = 5000
6 changes: 4 additions & 2 deletions integration-tests/contracts/contract_deployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,8 @@ func (e *EthereumContractDeployer) DeployOffChainAggregator(
backend bind.ContractBackend,
) (common.Address, *types.Transaction, interface{}, error) {
la := common.HexToAddress(linkAddr)
auth.GasLimit = uint64(100000000000) // 11,885,630,143 | 100 000 000 000
auth.GasPrice = big.NewInt(10000000000)
return offchainaggregator.DeployOffchainAggregator(auth,
backend,
offchainOptions.MaximumGasPrice,
Expand Down Expand Up @@ -1596,8 +1598,8 @@ func (e *EthereumContractDeployer) DeployOffchainAggregatorV2(
backend bind.ContractBackend,
) (common.Address, *types.Transaction, interface{}, error) {
la := common.HexToAddress(linkAddr)
auth.GasLimit = uint64(100000000000) // 11,885,630,143 | 100 000 000 000
auth.GasPrice = big.NewInt(10000000000)
auth.GasLimit = uint64(11885630143) // 11,885,630,143 | 100 000 000 000
auth.GasPrice = big.NewInt(10100000000)
return ocr2aggregator.DeployOCR2Aggregator(
auth,
backend,
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ require (
github.com/slack-go/slack v0.12.2
github.com/smartcontractkit/chainlink-automation v1.0.2-0.20240118014648-1ab6a88c9429
github.com/smartcontractkit/chainlink-common v0.1.7-0.20240209032254-f9b58810d8ca
github.com/smartcontractkit/chainlink-testing-framework v1.23.3-0.20240218210818-56f1fbedb903
github.com/smartcontractkit/chainlink-testing-framework v1.23.3-0.20240219014824-1c54205e9eb9
github.com/smartcontractkit/chainlink-vrf v0.0.0-20231120191722-fef03814f868
github.com/smartcontractkit/chainlink/v2 v2.0.0-00010101000000-000000000000
github.com/smartcontractkit/libocr v0.0.0-20240112202000-6359502d2ff1
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1513,8 +1513,8 @@ github.com/smartcontractkit/chainlink-solana v1.0.3-0.20240207182351-414a6666385
github.com/smartcontractkit/chainlink-solana v1.0.3-0.20240207182351-414a66663857/go.mod h1:NCy9FZ8xONgJ618kmJbks6wCN0nALodUmhZuvwY5hHs=
github.com/smartcontractkit/chainlink-starknet/relayer v0.0.1-beta-test.0.20240206145519-35a4346b5944 h1:1Cb/XqEs38SFpkBHHxdhYqS8RZR7qXGaXH9+lxtMGJo=
github.com/smartcontractkit/chainlink-starknet/relayer v0.0.1-beta-test.0.20240206145519-35a4346b5944/go.mod h1:pGnBsaraD3vPjnak8jbu9U+OWZrCVHzGMjA/5++E1PI=
github.com/smartcontractkit/chainlink-testing-framework v1.23.3-0.20240218210818-56f1fbedb903 h1:gp6eSZ/DuNtq/kST8e5QJZ76D94LZnh1l00KM5VF0d0=
github.com/smartcontractkit/chainlink-testing-framework v1.23.3-0.20240218210818-56f1fbedb903/go.mod h1:lGaqSnCB36n49fZNdTGXMrxhPu9w5+2n3c9V1Fqz1hM=
github.com/smartcontractkit/chainlink-testing-framework v1.23.3-0.20240219014824-1c54205e9eb9 h1:J8mbLxSR33QAs7GzKlUkP7HiaPz2T3Yb9sgEHz5G35U=
github.com/smartcontractkit/chainlink-testing-framework v1.23.3-0.20240219014824-1c54205e9eb9/go.mod h1:lGaqSnCB36n49fZNdTGXMrxhPu9w5+2n3c9V1Fqz1hM=
github.com/smartcontractkit/chainlink-vrf v0.0.0-20231120191722-fef03814f868 h1:FFdvEzlYwcuVHkdZ8YnZR/XomeMGbz5E2F2HZI3I3w8=
github.com/smartcontractkit/chainlink-vrf v0.0.0-20231120191722-fef03814f868/go.mod h1:Kn1Hape05UzFZ7bOUnm3GVsHzP0TNrVmpfXYNHdqGGs=
github.com/smartcontractkit/go-plugin v0.0.0-20231003134350-e49dad63b306 h1:ko88+ZznniNJZbZPWAvHQU8SwKAdHngdDZ+pvVgB5ss=
Expand Down

0 comments on commit 3e748ef

Please sign in to comment.