You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seid version
name: sei
server_name:
version: v4.1.7-evm-devnet
commit: 6e0c934
build_tags: netgo ledger,
go: go version go1.22.4 linux/amd64
build_deps:
cosmossdk.io/errors@v1.0.0
filippo.io/edwards25519@v1.0.0-rc.1
github.com/99designs/keyring@v1.2.1
Chain ID
Local 4-docker-node chain
Describe the bug
Changing the value of the max-tx-bytes configuration option under [mempool] in the config.toml file to -2 will trigger a panic: runtime error: makeslice: len out of range. After reviewing the source code of SEI, it was found that the issue arises because there is no check for the value of max-tx-bytes, and it directly performs make([]byte, cfg.MaxTxBytes).
To Reproduce
Steps to reproduce the behavior:
Change the value of the max-tx-bytes configuration option under [mempool] in the config.toml file to -2
Restart the node
panic: runtime error: makeslice: len out of range occurs
Expected behavior
SEI should properly handle the case where the max-tx-bytes value is negative and provide a user-friendly message, instead of triggering a panic directly.
Additional context
Here is the panic log. seid-3.log
Seid version
name: sei
server_name:
version: v4.1.7-evm-devnet
commit: 6e0c934
build_tags: netgo ledger,
go: go version go1.22.4 linux/amd64
build_deps:
Chain ID
Local 4-docker-node chain
Describe the bug
Changing the value of the
max-tx-bytes
configuration option under[mempool]
in theconfig.toml
file to -2 will trigger a panic: runtime error: makeslice: len out of range. After reviewing the source code of SEI, it was found that the issue arises because there is no check for the value ofmax-tx-bytes
, and it directly performsmake([]byte, cfg.MaxTxBytes)
.To Reproduce
Steps to reproduce the behavior:
max-tx-bytes
configuration option under[mempool]
in theconfig.toml
file to -2panic: runtime error: makeslice: len out of range
occursExpected behavior
SEI should properly handle the case where the
max-tx-bytes
value is negative and provide a user-friendly message, instead of triggering a panic directly.Additional context
Here is the panic log.
seid-3.log
Here is the config file
The text was updated successfully, but these errors were encountered: