Skip to content

Commit

Permalink
chore: fix some function names in comment
Browse files Browse the repository at this point in the history
Signed-off-by: damuzhi0810 <[email protected]>
  • Loading branch information
damuzhi0810 committed Jan 23, 2025
1 parent 1bda27f commit a109a30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
"github.com/stretchr/testify/suite"
)

// TestCoreSpecState runs the StateTests fixtures from kaia-core-tests
// TestKaiaSpecState runs the StateTests fixtures from kaia-core-tests
func TestKaiaSpecState(t *testing.T) {
t.Parallel()

Expand Down
4 changes: 2 additions & 2 deletions tests/tx_validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func genMapForTxTypes(from TestAccount, to TestAccount, txType types.TxType) (tx
return valueMap, gas
}

// TestValidationPoolInsert generates invalid txs which will be invalidated during txPool insert process.
// TestValidationPoolInsertEthTxType generates invalid txs which will be invalidated during txPool insert process.
func TestValidationPoolInsertEthTxType(t *testing.T) {
log.EnableLogForTest(log.LvlCrit, log.LvlTrace)

Expand Down Expand Up @@ -654,7 +654,7 @@ func decreaseGasPrice(txType types.TxType, values txValueMap, contract common.Ad
return values, err
}

// decreaseGasPrice changes gasPrice to 12345678 and return an error with magma policy
// decreaseGasPriceMagma changes gasPrice to 12345678 and return an error with magma policy
func decreaseGasPriceMagma(txType types.TxType, values txValueMap, contract common.Address) (txValueMap, error) {
var err error
if txType == types.TxTypeEthereumDynamicFee || txType == types.TxTypeEthereumSetCode {
Expand Down

0 comments on commit a109a30

Please sign in to comment.