cosmos / cosmos/evm

[Bug] Remove nonexistent vesting precompile address

Open
#1,192 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
164
Forks
213
Avg merge
3d 58m
Merged PRs (30d)
12

Description

## Type

- [x] Bug
- [ ] Feature
- [ ] Proposal / Discussion

## Summary

`0x0000000000000000000000000000000000000803` is included in the active static precompile defaults, but cosmos/evm does not implement or register a vesting precompile.

## Reproduction (for bugs)

1. Inspect `AvailableStaticPrecompiles`.
2. Observe that the vesting precompile address is included.
3. Inspect `DefaultStaticPrecompiles`.
4. Observe that no vesting precompile implementation is registered.

## Impact

The default params and local genesis scripts can mark a nonexistent static precompile as active. This may cause calls to that address to hit the missing registered precompile path.

## Related

N/A

## Checklist

- [x] Linked to a GitHub Issue (or this is the Issue)
- [x] Repro steps included (for bugs)
- [x] Impact described
- [x] I understand minor typo/style doc fixes will not be accepted

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.