We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de4b07e commit 3cea3d7Copy full SHA for 3cea3d7
x/evm/keeper/keeper.go
@@ -259,6 +259,11 @@ func (k *Keeper) SetHooks(eh types.EvmHooks) *Keeper {
259
return k
260
}
261
262
+// Hooks return the hooks
263
+func (k *Keeper) Hooks() types.EvmHooks{
264
+ return k.hooks
265
+}
266
+
267
// PostTxProcessing delegate the call to the hooks. If no hook has been registered, this function returns with a `nil` error
268
func (k *Keeper) PostTxProcessing(ctx sdk.Context, msg core.Message, receipt *ethtypes.Receipt) error {
269
if k.hooks == nil {
0 commit comments