Skip to content

Commit

Permalink
temp commit for soak testing
Browse files Browse the repository at this point in the history
  • Loading branch information
simsonraj committed May 28, 2024
1 parent 53ba058 commit 8432006
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/chains/evm/client/compatibility_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func ToBackwardCompatibleCallArg(msg ethereum.CallMsg) interface{} {
}
if len(msg.Data) > 0 {
arg["input"] = hexutil.Bytes(msg.Data)
arg["data"] = hexutil.Bytes(msg.Data) // duplicate legacy field for compatibility
// arg["data"] = hexutil.Bytes(msg.Data) // duplicate legacy field for compatibility
}
if msg.Value != nil {
arg["value"] = (*hexutil.Big)(msg.Value)
Expand Down
11 changes: 9 additions & 2 deletions core/chains/evm/config/toml/defaults/Hedera_Testnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,22 @@ ChainID = '296'
#we set the depth to 6/2 = 3 blocks
FinalityDepth = 3
# same as block production rate
LogPollInterval = '2s'
LogPollInterval = '10s'
MinIncomingConfirmations = 1
NoNewHeadsThreshold = '30s'
NoNewHeadsThreshold = '3m'
# 5 since thats our consideration for finality depth & 10s exposure to api so we can always get the final blocks
RPCBlockQueryDelay = 5

[BalanceMonitor]
Enabled = true

[GasEstimator]
Mode = 'SuggestedPrice'
PriceDefault = '800 gwei' # gwei = ston
PriceMin = '800 gwei'
# TODO: check this, this may not prove effective since we dont have mempool and cannot use market rates to
BumpThreshold = 5

[Transactions]
# increase resend time to align with finality
ResendAfterThreshold = '30s'

0 comments on commit 8432006

Please sign in to comment.