-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hedera int with TXM fixes & config (#14129)
* re-changes on top of develop * Docs update * changeset * merged the error tests & Config fix * Apply suggestions from code review Co-authored-by: Jordan Krage <jmank88@gmail.com> * added newly found error * formatting * formatting * updated docs * Updating config to run with multiple RPCs * bump seth to v1.2.2 * updated configs --------- Co-authored-by: Jordan Krage <jmank88@gmail.com> Co-authored-by: davidcauchi <david.cauchi@smartcontract.com>
- Loading branch information
1 parent
ec585d4
commit 85a8d09
Showing
6 changed files
with
289 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
#added Hedera configs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
ChainID = '295' | ||
ChainType = 'hedera' | ||
# Considering the 3-5 (6 including a buffer) seconds of finality and 2 seconds block production | ||
# We set the depth to 6/2 = 3 blocks, setting to 10 for safety | ||
FinalityDepth = 10 | ||
# Hedera has high TPS, so polling less often | ||
LogPollInterval = '10s' | ||
MinIncomingConfirmations = 1 | ||
|
||
[BalanceMonitor] | ||
Enabled = true | ||
|
||
[GasEstimator] | ||
Mode = 'SuggestedPrice' | ||
# Since Hedera dont have mempool and there's no way for a node to front run or a user to bribe a node to submit the transaction earlier than it's consensus timestamp, | ||
# But they have automated congesting pricing throttling which would mean at high sustained level the gasPrice itself could be increased to prevent malicious behaviour. | ||
# Disabling the Bumpthreshold as TXM now implicity handles the bumping after checking on-chain nonce & re-broadcast for Hedera chain type | ||
BumpThreshold = 0 | ||
BumpMin = '10 gwei' | ||
BumpPercent = 20 | ||
|
||
[Transactions] | ||
# To hit throttling you'd need to maintain 15 m gas /sec over a prolonged period of time. | ||
# Because Hedera's block times are every 2 secs it's less less likely to happen as compared to other chains | ||
# Setting this to little higher even though Hedera has High TPS, We have seen 10-12s to get the trasaction mined & 20-25s incase of failures | ||
# Accounting for Node syncs & avoid re-sending txns before fetching the receipt, setting to 2m | ||
ResendAfterThreshold = '2m' | ||
|
||
|
||
[NodePool] | ||
SyncThreshold = 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
ChainID = '296' | ||
ChainType = 'hedera' | ||
# Considering the 3-5 (6 including a buffer) seconds of finality and 2 seconds block production | ||
# We set the depth to 6/2 = 3 blocks, setting to 10 for safety | ||
FinalityDepth = 10 | ||
# Hedera has high TPS, so polling less often | ||
LogPollInterval = '10s' | ||
MinIncomingConfirmations = 1 | ||
|
||
[BalanceMonitor] | ||
Enabled = true | ||
|
||
[GasEstimator] | ||
Mode = 'SuggestedPrice' | ||
# Since Hedera dont have mempool and there's no way for a node to front run or a user to bribe a node to submit the transaction earlier than it's consensus timestamp, | ||
# But they have automated congesting pricing throttling which would mean at high sustained level the gasPrice itself could be increased to prevent malicious behaviour. | ||
# Disabling the Bumpthreshold as TXM now implicity handles the bumping after checking on-chain nonce & re-broadcast for Hedera chain type | ||
BumpThreshold = 0 | ||
BumpMin = '10 gwei' | ||
BumpPercent = 20 | ||
|
||
[Transactions] | ||
# To hit throttling you'd need to maintain 15 m gas /sec over a prolonged period of time. | ||
# Because Hedera's block times are every 2 secs it's less less likely to happen as compared to other chains | ||
# Setting this to little higher even though Hedera has High TPS, We have seen 10-12s to get the trasaction mined & 20-25s incase of failures | ||
# Accounting for Node syncs & avoid re-sending txns before fetching the receipt, setting to 2m | ||
ResendAfterThreshold = '2m' | ||
|
||
|
||
[NodePool] | ||
SyncThreshold = 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters