Skip to content

rawdb: Database Version must be unsigned integer #18233

@moonfruit

Description

@moonfruit

rawdb write database version as int. It is wrong because of rlp can only handle unsigned integer.
line 40 in accessors_metadata.go actually produced an error, but it ignored. This bug makes database version checking not work.

enc, _ := rlp.EncodeToBytes(version)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions