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
refactor: decouple keeper using interface on precompile (cosmos#477)
* refactor: decouple keeper using interface on precompile
- Define a set of keeper interfaces in precompiles/common/interfaces.go
that specify the exact methods required by the precompiles.
- Update all precompile constructors and internal structs to use these
new interfaces.
- Modifie the precompile assembly in `evmd/precompiles.go` to inject
the concrete `MsgServer` and `Querier` implementations, which satisfy
the required interfaces.
- Removed unnecessary keeper dependencies from the function signatures
of several precompiles
* docs: add changelog
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@
59
59
60
60
### API-BREAKING
61
61
62
+
-[\#477](https://github.com/cosmos/evm/pull/477) Refactor precompile constructors to accept keeper interfaces instead of concrete implementations, breaking the existing `NewPrecompile` function signatures.
62
63
-[\#456](https://github.com/cosmos/evm/pull/456) Remove non–go-ethereum JSON-RPC methods to align with Geth’s surface
63
64
-[\#443](https://github.com/cosmos/evm/pull/443) Move `ante` logic from the `evmd` Go package to the `evm` package to
0 commit comments