事件显示在rawLogs中,但不在日志中

问题描述

我有一个SC继承自Feeless。 Feeless有一个函数performFeelesstransaction,该函数调用委托给A中的另一个函数。 该体系结构基于Feeless example

我的问题是,从A上的web3调用该performFeelesstransaction不会在日志中显示事件。我需要从rawLogs手动解析

示例:

pragma solidity 0.7.2;

contract Feeless {
    

    function performFeelesstransaction(bytes memory data,address target) public payable {
        target.call{value: msg.value}(data);
    }
    
}

contract A is Feeless {
    event EventEmited();


   function grantPermissionFeeless() {
       emit EventEmited();
   }
}

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)