chore(taiko_genesis): update genesis JSONs (#233)

This commit is contained in:
David 2024-05-07 16:06:33 +08:00 committed by GitHub
parent 4ebcf6656c
commit 68308e3781
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 28 additions and 28 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -98,8 +98,8 @@ func ValidateTransaction(tx *types.Transaction, head *types.Header, signer types
if tx.GasFeeCapIntCmp(tx.GasTipCap()) < 0 {
return core.ErrTipAboveFeeCap
}
// CHANGE(taiko): ensure gasFeeCap fee cap larger than 0.1 GWei
if os.Getenv("TAIKO_TEST") == "" && tx.GasFeeCap().Cmp(new(big.Int).SetUint64(params.GWei/10)) < 0 {
// CHANGE(taiko): ensure gasFeeCap fee cap larger than 0.01 GWei
if os.Getenv("TAIKO_TEST") == "" && tx.GasFeeCap().Cmp(new(big.Int).SetUint64(params.GWei/100)) < 0 {
return errors.New("max fee per gas is less than 0.1 gwei")
}
// Make sure the transaction is signed properly