Skip to content

Commit d42150f

Browse files
fix: typos
1 parent 9d5b822 commit d42150f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

cmd/loadtest/loadtest.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ func initializeLoadTestParams(ctx context.Context, c *ethclient.Client) error {
298298
return errors.New("using call only with blobs doesn't make sense")
299299
}
300300
if *inputLoadTestParams.LegacyTransactionMode && inputLoadTestParams.Mode == loadTestModeBlob {
301-
return errors.New("blob tansactions require eip-1559")
301+
return errors.New("blob transactions require eip-1559")
302302
}
303303
if hasMode(loadTestModeBlob, inputLoadTestParams.ParsedModes) && inputLoadTestParams.MultiMode {
304304
return errors.New("blob mode should only be used by itself. Blob mode will take significantly longer than other transactions to finalize, and the address will be reserved, preventing other transactions form being made")
@@ -1835,7 +1835,6 @@ func loadTestContractCall(ctx context.Context, c *ethclient.Client, tops *bind.T
18351835
return
18361836
}
18371837

1838-
18391838
func loadTestBlob(ctx context.Context, c *ethclient.Client, tops *bind.TransactOpts) (t1 time.Time, t2 time.Time, txHash ethcommon.Hash, err error) {
18401839
var stx *ethtypes.Transaction
18411840

cmd/loadtest/testcases/loadtest.acts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ fireAndForget (boolean): TRUE, FALSE
3636
gasLimit (int): -1, 21000, 100000, 1000000, 10000000, 20000000
3737
gasPrice (int): -1, 100, 10000, 1000000
3838
gasPriceMultiplier (int): -1, 1, 2, 10
39-
-- inscriptionContent i wonder if this flag should be dropped as well.. It's redunant with contract call i think
4039
legacy (boolean): TRUE, FALSE
4140
-- the load test contract isn't used ans much anymore... I wonder if we should drop this as well?
4241
loadtestContractAddress (enum): UNSPECIFIED, 0xbB186bd43C992F68Ac430686370343aeF2A22B96
@@ -118,7 +117,7 @@ nonce != -1 => accountFundingAmount == "-1" && sendingAccountsFile == "UNSPECIFI
118117

119118
outputRawTxOnly => mode != "rpc" && mode != "uniswapv3" && maxBaseFeeWei == -1 && !adaptiveRateLimit && !waitForReceipt && !ethCallOnly && !preFundSendingAccounts && timeLimit == -1
120119

121-
-- random recipeints only works for certain modes
120+
-- random recipients only works for certain modes
122121
randomRecipients => toAddress == "UNSPECIFIED"
123122

124123
recallBlocks != -1 => mode == "recall"

0 commit comments

Comments
 (0)