Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some function names in comment #228

Merged
merged 1 commit into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading